alamb opened a new issue, #8690:
URL: https://github.com/apache/arrow-datafusion/issues/8690

   ### Describe the bug
   
   datafusion-cli can no longer run `EXPLAIN ANALYZE` 
   
   ### To Reproduce
   
   ```shell
   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 https://github.com/apache/arrow-datafusion/pull/8651 from @berkaysynnada  
(which now checks 'unbounded output')


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to