Commit e0490f2
committed
Add EXPLAIN options capture and viewExplain wrapper transformation
- Add OptionsString field to ExplainQuery to capture EXPLAIN options
- Update parser to capture options like "actions = 1" as strings
- Update explainViewExplain to output proper SELECT * FROM viewExplain() structure
- This matches ClickHouse's internal transformation of EXPLAIN as table source
Updates metadata for many passing explain tests.1 parent d0cdb97 commit e0490f2
File tree
73 files changed
+109
-604
lines changed- ast
- internal/explain
- parser
- testdata
- 00183_prewhere_conditions_order
- 00944_minmax_nan
- 01582_move_to_prewhere_compact_parts
- 01625_constraints_index_append
- 01655_plan_optimizations_merge_filters
- 01710_projection_pk_trivial_count
- 01737_move_order_key_to_prewhere_select_final
- 01824_move_to_prewhere_many_columns
- 02156_storage_merge_prewhere
- 02346_text_index_function_hasAnyAllTokens
- 02346_text_index_part_format
- 02354_vector_search_binary_quantization
- 02354_vector_search_choose_correct_index
- 02354_vector_search_part_format
- 02354_vector_search_pre_and_post_filtering
- 02354_vector_search_reference_vector_types
- 02354_vector_search_with_huge_dimension
- 02377_optimize_sorting_by_input_stream_properties_2
- 02481_aggregation_in_order_plan
- 02481_inject_random_order_for_select_without_order_by
- 02521_aggregation_by_partitions
- 02564_read_in_order_final_desc
- 02674_trivial_count_analyzer
- 02725_agg_projection_respect_PK
- 02771_ignore_data_skipping_indices
- 02809_prewhere_and_in
- 02810_fix_remove_dedundant_distinct_view
- 02815_join_algorithm_setting
- 02842_move_pk_to_end_of_prewhere
- 02864_statistics_delayed_materialization_in_merge
- 02864_statistics_usage
- 02911_analyzer_order_by_read_in_order_query_plan
- 02943_tokenbf_and_ngrambf_indexes_support_match_function
- 02998_projection_after_attach_partition
- 03032_redundant_equals
- 03164_early_constant_folding_analyzer
- 03164_materialize_skip_index_on_merge
- 03208_multiple_joins_with_storage_join
- 03231_pr_reverse_in_order
- 03257_reverse_sorting_key
- 03262_filter_push_down_view
- 03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key
- 03302_analyzer_distributed_filter_push_down
- 03317_index_hint_prewhere
- 03356_threshold_for_parallel_hash
- 03357_join_pk_sharding
- 03375_bloom_filter_has_hasAny_const_array
- 03375_bloom_filter_ngram_has_hasAny_const_array
- 03375_bloom_filter_token_has_hasAny_const_array
- 03403_parallel_blocks_marshalling_for_distributed
- 03443_index_match_alternatives
- 03443_pr_lazy_materialization
- 03444_lm_block_mismatch
- 03456_match_index_prefix_extraction
- 03460_normal_projection_index
- 03460_projection_part_filtering_and_introspection
- 03464_projections_with_subcolumns
- 03513_lazy_materialization_projections_fix
- 03560_parallel_replicas_memory_bound_merging_projection
- 03560_parallel_replicas_projection
- 03580_improve_prewhere
- 03580_join_runtime_filter_pushdown
- 03583_rewrite_in_to_join
- 03610_disjunctions_pushdown_optimization
- 03624_pr_lefl_right_joins_chain
- 03640_skip_indexes_data_types_with_or
- 03640_skip_indexes_with_or
- 03681_lazy_materialization_with_read_in_order
- 03711_top_k_by_skip_index
- 03728_explain_column_structure
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
73 files changed
+109
-604
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
136 | 137 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
141 | 152 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
149 | 157 | | |
150 | | - | |
151 | | - | |
| 158 | + | |
| 159 | + | |
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4312 | 4312 | | |
4313 | 4313 | | |
4314 | 4314 | | |
| 4315 | + | |
4315 | 4316 | | |
4316 | 4317 | | |
4317 | 4318 | | |
| 4319 | + | |
4318 | 4320 | | |
4319 | 4321 | | |
4320 | | - | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
| 4326 | + | |
| 4327 | + | |
4321 | 4328 | | |
4322 | 4329 | | |
4323 | 4330 | | |
4324 | 4331 | | |
4325 | 4332 | | |
| 4333 | + | |
| 4334 | + | |
| 4335 | + | |
4326 | 4336 | | |
4327 | 4337 | | |
4328 | 4338 | | |
| |||
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 1 | + | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 3 | | |
12 | 4 | | |
13 | 5 | | |
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 1 | + | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 1 addition & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 1 | + | |
0 commit comments