Commit 1079b4e
committed
Add ViewTargets support for MATERIALIZED VIEW with TO clause
- Add hasStorageChild check for counting ViewTargets as a child
- Output ViewTargets when MATERIALIZED VIEW has TO clause but no storage
- This matches ClickHouse's EXPLAIN AST format for MATERIALIZED VIEW1 parent 063e557 commit 1079b4e
69 files changed
Lines changed: 67 additions & 247 deletions
File tree
- internal/explain
- parser/testdata
- 00508_materialized_view_to
- 00943_mv_rename_without_inner_table
- 00975_recursive_materialized_view
- 00982_low_cardinality_setting_in_mv
- 00986_materialized_view_stack_overflow
- 01019_alter_materialized_view_query
- 01019_materialized_view_select_extra_columns
- 01023_materialized_view_query_context
- 01064_incremental_streaming_from_2_src_with_feedback
- 01069_materialized_view_alter_target_table_with_default_expression
- 01069_materialized_view_alter_target_table
- 01268_mv_scalars
- 01277_buffer_column_order
- 01361_buffer_table_flush_with_materialized_view
- 01527_materialized_view_stack_overflow
- 01836_date_time_keep_default_timezone_on_operations_den_crane
- 01927_query_views_log_current_database
- 01947_mv_subquery
- 02125_query_views_log
- 02137_mv_into_join
- 02139_MV_with_scalar_subquery
- 02174_cte_scalar_cache_mv
- 02184_default_table_engine
- 02187_insert_values_with_mv
- 02231_buffer_aggregate_states_leak
- 02345_implicit_transaction
- 02420_final_setting_analyzer
- 02420_final_setting
- 02459_materialized_view_default_value
- 02552_check_referential_table_dependencies
- 02572_materialized_views_ignore_errors
- 02572_system_logs_materialized_views_ignore_errors
- 02696_ignore_inacc_tables_mat_view_atttach
- 02697_alter_dependencies
- 02912_ingestion_mv_deduplication
- 02931_alter_materialized_view_query_inconsistent
- 02932_materialized_view_with_dropped_target_table_no_exception
- 02933_ephemeral_mv
- 02972_insert_deduplication_token_hierarchical_inserts_views
- 02972_insert_deduplication_token_hierarchical_inserts
- 02999_scalar_subqueries_bug_2
- 03002_modify_query_cte
- 03008_deduplication_cases_from_docs
- 03008_deduplication_wrong_mv
- 03030_system_flush_distributed_settings
- 03094_grouparraysorted_memory
- 03094_virtual_column_table_name
- 03149_analyzer_join_projection_name_2
- 03150_dynamic_type_mv_insert
- 03155_in_nested_subselects
- 03161_create_table_as_mv
- 03168_attach_as_replicated_materialized_view
- 03230_show_create_query_identifier_quoting_style
- 03243_check_for_nullable_nothing_in_alter
- 03254_normalize_aggregate_states_with_named_tuple_args
- 03285_default_engine_with_settings
- 03301_subcolumns_in_mv
- 03310_materialized_view_with_bad_select
- 03322_materialized_view_ignore_errors_url
- 03357_analyzer_insert_view
- 03357_storage_join_mv_context
- 03530_insert_into_distributed_different_types_sparseness
- 03531_insert_removing_sparse_transform
- 03561_materialized_subcolumns_materialized_view
- 03633_mv_squash_parallel_inserts
- 03710_pr_insert_into_mv_with_join
- 03710_pr_join_with_mv
- 03740_alter_modify_query_dict_name_in_cse
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 | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
146 | 151 | | |
147 | 152 | | |
148 | 153 | | |
| |||
381 | 386 | | |
382 | 387 | | |
383 | 388 | | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
384 | 393 | | |
385 | 394 | | |
386 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 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 & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 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 | | |
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 | | |
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | 4 | | |
7 | 5 | | |
| |||
0 commit comments