-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table Loader: Add capability to load InfluxDB Line Protocol (ILP) files #333
Conversation
elif source_url_obj.scheme.startswith("influxdb"): | ||
elif ( | ||
source_url_obj.scheme.startswith("influxdb") | ||
or resource.url.endswith(".lp") | ||
or resource.url.endswith(".lp.gz") | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature has been there already, and only needed to be unlocked here by adjusting the dispatching, and adding software tests and documentation.
doc/io/influxdb/loader.md
Outdated
@@ -52,6 +60,18 @@ ctk show table "testdrive.demo" | |||
- More convenient table querying. | |||
::: | |||
|
|||
### Line protocol file (ILP) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
### Line protocol file (ILP) | |
### InfluxDB Line protocol file (ILP) |
Just to make it clear to the uneducated reader what the I in ILP stands for.
Synopsis: ctk load table "file://influxdb-export.lp"
About
Improve the InfluxDB table loader adapter by directly loading ILP files.
Synopsis
ctk load table "file://influxdb-export.lp"
ctk load table \ "https://github.com/influxdata/influxdb2-sample-data/raw/master/air-sensor-data/air-sensor-data.lp"
Documentation
Preview: https://cratedb-toolkit--333.org.readthedocs.build/io/influxdb/loader.html#line-protocol-file-ilp
References
History
influxio
, implementingctk load table influxdb2://...
#77if-exists
query parameter by updating to influxio 0.4.0 #176/cc @karynzv, @hlcianfagna, @hammerhead, @wierdvanderhaar, @surister, @simonprickett, @kneth