-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Bug with 'influxdb3 show databases' when outputting to parquet #25941
Comments
Hello @sanderson, I’ve investigated the issue, and here are my findings:
Thanks, |
@Karribalu If you do want to contribute and help it's important to understand that Parquet data is equivalent to a We do this exact thing in the query subcommand here -> influxdb/influxdb3/src/commands/query.rs Lines 130 to 144 in 27653f5
It's just a matter of making it work for the |
Hello @mgattozzi, I apologise for misunderstanding the ask here and I can see now what can be done here. As I can see this issue is also happening in show system command for reference I get this error for all these commands.
Should I also consider fixing these ? |
The
influxdb3 show databases
command listsparquet
as a supported output format but doesn't provide a-o
,--output
option to specify a file to write output to. You can't output raw Parquet in a command line.Steps to reproduce:
Create one or more databases in an InfluxDB 3 Core or Enterprise instance.
Run the following command to list databases and format the output as Parquet:
Expected behaviour:
I would expect the show commands, if they are to support Parquet output, would also include a
-o
,--output
option to output the raw Parquet to a file (like theinfluxdb3 query
command does).Actual behaviour:
When you try to output Parquet on the command line, you get an error similar to:
The text was updated successfully, but these errors were encountered: