Skip to content

Regression: datafusion-cli can no longer run EXPLAIN ANALYZE  #8690

Description

@alamb

Describe the bug

datafusion-cli can no longer run EXPLAIN ANALYZE

To Reproduce

datafusion-cli -c "explain analyze select * from './parquet-testing/data/data_index_bloom_encoding_stats.parquet';"
DataFusion CLI v34.0.0
Internal error: Optimization not supported for ANALYZE.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker

Expected behavior

I expect the query to run and produce an EXPLAIN plan annotated with output counters

Additional context

The code that makes the error appears to be https://github.com/apache/arrow-datafusion/blob/ba50a8b178eece7e79b100d0b73bdc9d6d3ec6d5/datafusion/physical-plan/src/analyze.rs#L119

I suspect this is only a datafusion-cli issue, and that it started happening after #8651 from @berkaysynnada (which now checks 'unbounded output')

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions