Skip to content

datafusion-cli not displaying results #14929

@kosiew

Description

@kosiew

Describe the bug

cargo run -p datafusion-cli -- -c "select * from 'datafusion/substrait/tests/testdata/data.parquet'"

Before #14877

+---+-----+------------+-------+------------+-----+
| a | b   | c          | d     | e          | f   |
+---+-----+------------+-------+------------+-----+
| 1 | 2.0 | 2020-01-01 | false | 4294967296 | 'a' |
| 3 | 4.5 | 2020-01-01 | true  | 2147483648 | 'b' |
+---+-----+------------+-------+------------+-----+
2 row(s) fetched.
Elapsed 0.026 seconds.

After #14877

+---+-----+------------+-------+------------+-----+
| a | b   | c          | d     | e          | f   |
+---+-----+------------+-------+------------+-----+
+---+-----+------------+-------+------------+-----+
2 row(s) fetched.
Elapsed 0.025 seconds.

To Reproduce

cargo run -p datafusion-cli -- -c "select * from 'datafusion/substrait/tests/testdata/data.parquet'"

Expected behavior

Display the SQL results

Additional context

I chanced upon this while testing #14908 at datafusion-cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions