Commit 4c50282
committed
Fix NULL::Type cast to keep Literal NULL format
When casting NULL with :: operator syntax (e.g. NULL::Nullable(UInt8)),
output as Literal NULL rather than Literal \'NULL\'.
Fixes many statements across 27 tests.1 parent 141903c commit 4c50282
28 files changed
Lines changed: 37 additions & 152 deletions
File tree
- internal/explain
- parser/testdata
- 00255_array_concat_string
- 00727_concat
- 01410_nullable_key_and_index_negate_cond
- 02277_full_sort_join_misc
- 02302_defaults_in_columnar_formats
- 02320_mapped_array_witn_const_nullable
- 02797_range_nullable
- 02809_has_subsequence
- 02922_analyzer_aggregate_nothing_type
- 02922_respect_nulls_extensive
- 02922_respect_nulls_states
- 02935_format_with_arbitrary_types
- 02942_variant_cast
- 02943_variant_element
- 02944_variant_as_common_type_analyzer
- 02990_arrayFold_nullable_lc
- 03032_string_to_variant_cast
- 03210_dynamic_squashing
- 03261_any_respect_camelCase_aliases
- 03408_hash_functions_on_null
- 03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree
- 03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree
- 03522_function_first_non_default
- 03525_transform_null_in_subqeury_with_not_nullable_type
- 03606_nullable_json_group_by
- 03639_hash_of_dynamic_column
- 03707_function_array_remove
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
340 | 343 | | |
341 | 344 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 6 | + | |
14 | 7 | | |
15 | 8 | | |
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 1 | + | |
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 1 | + | |
0 commit comments