Commit 063e557
committed
Fix projection indentation in EXPLAIN output
- Remove extra space before "Projection" in explainProjection format string
- Adjust indent passed to explainProjectionSelectQuery from +2 to +1 spaces
- Add space to indent when calling explainProjection from AlterCommand
This fixes indentation for projections in both CREATE TABLE and ALTER TABLE
ADD PROJECTION statements to match ClickHouse's EXPLAIN AST output.1 parent f287c18 commit 063e557
80 files changed
Lines changed: 50 additions & 271 deletions
File tree
- internal/explain
- parser/testdata
- 01576_alias_column_rewrite
- 01701_clear_projection_and_part_remove
- 01705_normalize_create_alter_function_names
- 01710_aggregate_projection_with_grouping_set
- 01710_aggregate_projection_with_monotonic_key_expr
- 01710_aggregate_projection_with_normalized_states
- 01710_force_use_projection
- 01710_normal_projection_with_query_plan_optimization
- 01710_order_by_projections_complete
- 01710_projection_aggregation_in_order
- 01710_projection_array_join
- 01710_projection_detach_part
- 01710_projection_drop_if_exists
- 01710_projection_external_aggregate
- 01710_projection_fetch_long
- 01710_projection_in_index
- 01710_projection_in_set
- 01710_projection_mutation
- 01710_projection_optimize_aggregators_of_group_by_keys
- 01710_projection_optimize_group_by_function_keys
- 01710_projection_part_check
- 01710_projection_with_alter_conversions
- 01710_projection_with_ast_rewrite_settings
- 01710_projection_with_joins
- 01710_projections_and_duplicate_columms
- 01710_projections_group_by_no_key
- 01710_projections_order_by_complete
- 01710_projections
- 01710_query_log_with_projection_info
- 02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order
- 02343_aggregation_pipeline
- 02478_projection_with_group_by_alter
- 02515_projections_with_totals
- 02540_duplicate_primary_key2
- 02540_duplicate_primary_key
- 02668_column_block_number_with_projections
- 02691_drop_column_with_projections_replicated
- 02725_agg_projection_respect_PK
- 02784_projections_read_in_order_bug
- 02792_drop_projection_lwd
- 02832_alter_delete_indexes_projections
- 02906_force_optimize_projection_name
- 02915_analyzer_fuzz_2
- 02920_alter_column_of_projections
- 02934_merge_tree_max_projections
- 02965_projection_with_partition_pruning
- 02968_projection_merge
- 02996_analyzer_prewhere_projection
- 03002_analyzer_prewhere
- 03047_on_fly_mutations_projections
- 03128_argMin_combinator_projection
- 03161_lightweight_delete_projection
- 03174_projection_deduplicate
- 03206_projection_merge_special_mergetree_ignore
- 03206_projection_merge_special_mergetree
- 03221_merge_profile_events
- 03230_show_create_query_identifier_quoting_style
- 03230_system_projections
- 03254_project_lwd_respects_row_exists
- 03290_force_normal_projection
- 03310_aggregate_projection_count_nullable
- 03325_alter_modify_projection_primary_key_column
- 03340_projections_formatting
- 03401_normal_projection_with_part_offset_no_sorting
- 03401_normal_projection_with_part_offset
- 03402_adding_projection_to_temporary_table
- 03443_part_starting_offset
- 03460_normal_projection_index_bug_race_conditions
- 03460_normal_projection_index
- 03460_projection_part_filtering_and_introspection
- 03460_query_condition_cache_with_projections
- 03513_lazy_materialization_projections_fix
- 03550_projection_with_part_offset_ttl
- 03571_lwd_and_projections
- 03593_allow_projection_with_parent_part_offset
- 03593_backup_with_broken_projection
- 03701_distinct_but_no_group_by_projection_table_use_check
- 03707_empty_parts_with_non_empty_projections_merge
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
925 | 925 | | |
926 | 926 | | |
927 | 927 | | |
928 | | - | |
| 928 | + | |
929 | 929 | | |
930 | 930 | | |
931 | 931 | | |
| |||
947 | 947 | | |
948 | 948 | | |
949 | 949 | | |
950 | | - | |
| 950 | + | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
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 & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 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: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
0 commit comments