Commit 5a33943
committed
Add APPLY column transformer support for asterisk expressions
- Add APPLY token to lexer
- Add Apply field to ast.Asterisk struct
- Add parseAsteriskApply function for parsing APPLY(func) and APPLY func syntax
- Add APPLY to expression precedence for proper infix parsing
- Update explain code to output ColumnsApplyTransformer nodes
This fixes 01470_columns_transformers test and many other tests that use
APPLY column transformers.1 parent 43aed1a commit 5a33943
48 files changed
Lines changed: 75 additions & 232 deletions
File tree
- ast
- internal/explain
- parser
- testdata
- 00157_cache_dictionary
- 01018_ddl_dictionaries_create
- 01018_dictionaries_from_dictionaries
- 01023_materialized_view_query_context
- 01036_no_superfluous_dict_reload_on_create_database_2
- 01048_exists_query
- 01110_dictionary_layout_without_arguments
- 01129_dict_get_join_lose_constness
- 01191_rename_dictionary
- 01224_no_superfluous_dict_reload
- 01225_show_create_table_from_dictionary
- 01251_dict_is_in_infinite_loop
- 01268_dictionary_direct_layout
- 01376_GROUP_BY_injective_elimination_dictGet
- 01470_columns_transformers
- 01501_cache_dictionary_all_fields
- 01527_dist_sharding_key_dictGet_reload
- 01575_disable_detach_table_of_dictionary
- 01670_dictionary_create_key_expression
- 01676_dictget_in_default_expression
- 01681_cache_dictionary_simple_key
- 01683_flat_dictionary
- 01702_bitmap_native_integers
- 01720_dictionary_create_source_with_functions
- 01753_direct_dictionary_simple_key
- 01759_dictionary_unique_attribute_names
- 01760_system_dictionaries
- 01765_hashed_dictionary_simple_key
- 01778_hierarchical_dictionaries
- 01780_clickhouse_dictionary_source_loop
- 01785_dictionary_element_count
- 01837_database_memory_ddl_dictionaries
- 01913_replace_dictionary
- 01914_exchange_dictionaries
- 01915_create_or_replace_dictionary
- 01948_dictionary_quoted_database_name
- 02025_dictionary_view_different_db
- 02339_analyzer_matcher_basic
- 02342_analyzer_compound_types
- 02345_analyzer_subqueries
- 02378_analyzer_projection_names
- 02518_qualified_asterisks_alias_table_name
- 02931_max_num_to_warn
- 03144_aggregate_states_with_different_types
- token
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 | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
533 | | - | |
| 532 | + | |
| 533 | + | |
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
562 | 564 | | |
563 | 565 | | |
564 | 566 | | |
| |||
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
586 | 593 | | |
587 | 594 | | |
588 | 595 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
421 | 427 | | |
422 | 428 | | |
423 | 429 | | |
| |||
2387 | 2393 | | |
2388 | 2394 | | |
2389 | 2395 | | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
| 2417 | + | |
| 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 & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
14 | 11 | | |
15 | 12 | | |
16 | | - | |
17 | 13 | | |
18 | 14 | | |
19 | 15 | | |
Lines changed: 1 addition & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 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 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
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