Skip to content

Commit

Permalink
CTK/InfluxDB: Demonstrate loading ILP data
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 13, 2025
1 parent f181ab4 commit aca2dd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/cratedb-toolkit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
crate>=1.0.0.dev2
cratedb-toolkit[influxdb,mongodb]>=0.0.29
cratedb-toolkit[influxdb,mongodb]>=0.0.30
6 changes: 3 additions & 3 deletions application/cratedb-toolkit/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def test_ctk_load_table_influxdb_lp(drop_testing_tables):

# Invoke data transfer.
command = f"""
influxio copy \
{influxdb_lp_url} \
"crate://localhost:4200/from-influxdb/air-sensor-data"
ctk load table \
"{influxdb_lp_url}" \
--cratedb-sqlalchemy-url="crate://localhost:4200/from-influxdb/air-sensor-data"
"""
print(f"Invoking CTK: {command}", file=sys.stderr)
subprocess.check_call(shlex.split(command))
Expand Down

0 comments on commit aca2dd2

Please sign in to comment.