-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Show Statistics in explain Verbose without enabling show statistics
#8111
Comments
@alamb I will work on this |
I would like to propose a slightly different interface, namely add two new lines -- the initial physical plan with statistics and the final physical plan with statistics
(I am sorry for the bad formatting) |
@alamb : can we go with 2 |
I think the usecase of tracing the flow of statistics through each stage in the plan is valuable, but fairly narrow and we shouldn't subject everyone using What would you think about adding the two new lines to Since DataFusion handles the parsing of EXPLAIN itself, it would be fairly quick to add handling for VERY VERBOSE 🤔 |
Yeah, I will add 2 line lines in this PR and implement |
Is your feature request related to a problem or challenge?
Currently, we can only see statistics in the explain if the flag
datafusion.explain.show_statistics
is on. In the case of InfluxDB IOx, we disable flag settings to avoids turning on other unexpected features such as DDL & DML. However, we still want to see statistics in explain.Here is the current behavior
Create a table
Run explain with default settings. No statistics in the plan
Turn
show_statistics
on, and the explain includes statisticsDescribe the solution you'd like
Always showing statistics in
explain verbose
no matter the values of the settingsDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: