You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/12/30 15:54:29 UTC
[I] datafusion-cli can no longer run `EXPLAIN ANALYZE` [arrow-datafusion]
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: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Regression: datafusion-cli can no longer run `EXPLAIN ANALYZE` [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #8690: Regression: datafusion-cli can no longer run `EXPLAIN ANALYZE`
URL: https://github.com/apache/arrow-datafusion/issues/8690
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Regression: datafusion-cli can no longer run `EXPLAIN ANALYZE` [arrow-datafusion]
Posted by "berkaysynnada (via GitHub)" <gi...@apache.org>.
berkaysynnada commented on issue #8690:
URL: https://github.com/apache/arrow-datafusion/issues/8690#issuecomment-1872562456
Should we remove the panic in `unbounded_output()` and simply reflect its input plan's unboundedness in AnalyzeExec?
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Regression: datafusion-cli can no longer run `EXPLAIN ANALYZE` [arrow-datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #8690:
URL: https://github.com/apache/arrow-datafusion/issues/8690#issuecomment-1872947092
> Should we remove the panic in `unbounded_output()` and simply reflect its input plan's unboundedness in AnalyzeExec?
Yes, I think that would be the best solution. I think returning `Ok(false)` is probably the easiest fix.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org