Skip to content
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

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Dec 21, 2024

Comment on lines -132 to +136
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")
):
Copy link
Member Author

@amotl amotl Dec 21, 2024

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.

@@ -52,6 +60,18 @@ ctk show table "testdrive.demo"
- More convenient table querying.
:::

### Line protocol file (ILP)
Copy link
Member

@hammerhead hammerhead Dec 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### 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"
@amotl amotl merged commit 3172163 into main Dec 23, 2024
33 checks passed
@amotl amotl deleted the influxdb-ilp branch December 23, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants