diff --git a/parser/testdata/00001_count_hits/ast.json b/parser/testdata/00001_count_hits/ast.json deleted file mode 100644 index fe2150e0e4..0000000000 --- a/parser/testdata/00001_count_hits/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00001_select_1/ast.json b/parser/testdata/00001_select_1/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/00001_select_1/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/00002_count_visits/ast.json b/parser/testdata/00002_count_visits/ast.json deleted file mode 100644 index 56069d8b22..0000000000 --- a/parser/testdata/00002_count_visits/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "Sign" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00002_system_numbers/ast.json b/parser/testdata/00002_system_numbers/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00002_system_numbers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00003_reinterpret_as_string/ast.json b/parser/testdata/00003_reinterpret_as_string/ast.json deleted file mode 100644 index 7930aa3fa1..0000000000 --- a/parser/testdata/00003_reinterpret_as_string/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "left": { - "name": "reinterpretAsString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Ё" - } - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00004_shard_format_ast_and_remote_table/ast.json b/parser/testdata/00004_shard_format_ast_and_remote_table/ast.json deleted file mode 100644 index c3c2fc459f..0000000000 --- a/parser/testdata/00004_shard_format_ast_and_remote_table/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "dummy" - ], - "alias": "x" - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00004_top_counters/ast.json b/parser/testdata/00004_top_counters/ast.json deleted file mode 100644 index 66a13e3f74..0000000000 --- a/parser/testdata/00004_top_counters/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00005_filtering/ast.json b/parser/testdata/00005_filtering/ast.json deleted file mode 100644 index 8323c9b5b7..0000000000 --- a/parser/testdata/00005_filtering/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "AdvEngineID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/ast.json b/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/ast.json deleted file mode 100644 index 7d291ece14..0000000000 --- a/parser/testdata/00005_shard_format_ast_and_remote_table_lambda/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - }, - "where": { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/00006_agregates/ast.json b/parser/testdata/00006_agregates/ast.json deleted file mode 100644 index e24f588566..0000000000 --- a/parser/testdata/00006_agregates/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "AdvEngineID" - ] - } - ] - }, - { - "name": "count" - }, - { - "name": "avg", - "arguments": [ - { - "parts": [ - "ResolutionWidth" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00006_extremes_and_subquery_from/ast.json b/parser/testdata/00006_extremes_and_subquery_from/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00006_extremes_and_subquery_from/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00007_array/ast.json b/parser/testdata/00007_array/ast.json deleted file mode 100644 index 5f2fec6ac4..0000000000 --- a/parser/testdata/00007_array/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00007_uniq/ast.json b/parser/testdata/00007_uniq/ast.json deleted file mode 100644 index 708aec20cc..0000000000 --- a/parser/testdata/00007_uniq/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "RegionID" - ] - }, - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ], - "alias": "u" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 800784 - } - }, - "group_by": [ - { - "parts": [ - "RegionID" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "u" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "RegionID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00008_array_join/ast.json b/parser/testdata/00008_array_join/ast.json deleted file mode 100644 index 44561fc24b..0000000000 --- a/parser/testdata/00008_array_join/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00008_uniq/ast.json b/parser/testdata/00008_uniq/ast.json deleted file mode 100644 index 89d0bf63cc..0000000000 --- a/parser/testdata/00008_uniq/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - }, - { - "name": "uniqIf", - "arguments": [ - { - "parts": [ - "UserID" - ] - }, - { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 800784 - } - } - ] - }, - { - "name": "uniqIf", - "arguments": [ - { - "parts": [ - "FUniqID" - ] - }, - { - "left": { - "parts": [ - "RegionID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 213 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00009_array_join_subquery/ast.json b/parser/testdata/00009_array_join_subquery/ast.json deleted file mode 100644 index a1b883c393..0000000000 --- a/parser/testdata/00009_array_join_subquery/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00009_uniq_distributed/ast.json b/parser/testdata/00009_uniq_distributed/ast.json deleted file mode 100644 index 64096ca4ed..0000000000 --- a/parser/testdata/00009_uniq_distributed/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - }, - { - "name": "uniqIf", - "arguments": [ - { - "parts": [ - "UserID" - ] - }, - { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 800784 - } - } - ] - }, - { - "name": "uniqIf", - "arguments": [ - { - "parts": [ - "FUniqID" - ] - }, - { - "left": { - "parts": [ - "RegionID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 213 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "hits" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00010_big_array_join/ast.json b/parser/testdata/00010_big_array_join/ast.json deleted file mode 100644 index 7b60af99f8..0000000000 --- a/parser/testdata/00010_big_array_join/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ], - "alias": "x" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "arr" - } - ] - } - ] - } - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "arr" - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/00010_quantiles_segfault/ast.json b/parser/testdata/00010_quantiles_segfault/ast.json deleted file mode 100644 index f8582a0421..0000000000 --- a/parser/testdata/00010_quantiles_segfault/ast.json +++ /dev/null @@ -1,284 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "URL" - ], - "alias": "ym:ah:URL" - }, - { - "name": "sum", - "arguments": [ - { - "left": { - "op": "NOT", - "operand": { - "parts": [ - "DontCountHits" - ] - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "parts": [ - "Refresh" - ] - } - } - } - ] - }, - { - "name": "quantilesTimingIf", - "parameters": [ - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.9 - } - ], - "arguments": [ - { - "left": { - "parts": [ - "DOMCompleteTiming" - ] - }, - "op": "+", - "right": { - "parts": [ - "LoadEventEndTiming" - ] - } - }, - { - "left": { - "left": { - "parts": [ - "DOMCompleteTiming" - ] - }, - "op": "!=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "LoadEventEndTiming" - ] - }, - "op": "!=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - } - ], - "alias": "t" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "hits" - ] - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 800784 - } - }, - "op": "AND", - "right": { - "left": { - "left": { - "left": { - "parts": [ - "DontCountHits" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "IsNotBounce" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "URL" - ] - }, - "op": "!=", - "right": { - "type": "String", - "value": "" - } - } - } - }, - "group_by": [ - { - "parts": [ - "ym:ah:URL" - ] - } - ], - "with_totals": true, - "having": { - "left": { - "left": { - "name": "sum", - "arguments": [ - { - "left": { - "op": "NOT", - "operand": { - "parts": [ - "DontCountHits" - ] - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "parts": [ - "Refresh" - ] - } - } - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "AND", - "right": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - "order_by": [ - { - "expression": { - "name": "sum", - "arguments": [ - { - "left": { - "op": "NOT", - "operand": { - "parts": [ - "DontCountHits" - ] - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "parts": [ - "Refresh" - ] - } - } - } - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "URL" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "offset": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00011_array_join_alias/ast.json b/parser/testdata/00011_array_join_alias/ast.json deleted file mode 100644 index f013bd2b12..0000000000 --- a/parser/testdata/00011_array_join_alias/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ], - "alias": "x" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "arr" - } - ] - } - ] - } - } - } - } - ] - }, - "array_join": { - "columns": null - } - } - ] -} diff --git a/parser/testdata/00011_sorting/ast.json b/parser/testdata/00011_sorting/ast.json deleted file mode 100644 index 9f47daeced..0000000000 --- a/parser/testdata/00011_sorting/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "parts": [ - "EventTime" - ] - }, - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "Asia/Dubai" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "EventTime" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00012_array_join_alias_2/ast.json b/parser/testdata/00012_array_join_alias_2/ast.json deleted file mode 100644 index 099fb18f1a..0000000000 --- a/parser/testdata/00012_array_join_alias_2/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "arr" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "Goodbye" - } - ] - } - ], - "alias": "x" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "arr" - } - ] - } - ] - } - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "arr" - ], - "alias": "a" - } - ] - } - } - ] -} diff --git a/parser/testdata/00012_sorting_distributed/ast.json b/parser/testdata/00012_sorting_distributed/ast.json deleted file mode 100644 index 3f8067f46b..0000000000 --- a/parser/testdata/00012_sorting_distributed/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "parts": [ - "EventTime" - ] - }, - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "Asia/Dubai" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "hits" - ] - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "EventTime" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00013_create_table_with_arrays/ast.json b/parser/testdata/00013_create_table_with_arrays/ast.json deleted file mode 100644 index 8595d495ff..0000000000 --- a/parser/testdata/00013_create_table_with_arrays/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "arrays_test", - "tables": [ - { - "table": "arrays_test" - } - ] -} diff --git a/parser/testdata/00013_sorting_of_nested/ast.json b/parser/testdata/00013_sorting_of_nested/ast.json deleted file mode 100644 index 15f344f581..0000000000 --- a/parser/testdata/00013_sorting_of_nested/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "ParsedParams", - "Key1" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - }, - "final": true - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "VisitID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "AND", - "right": { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "ParsedParams", - "Key1" - ] - } - ] - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "VisitID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00014_filtering_arrays/ast.json b/parser/testdata/00014_filtering_arrays/ast.json deleted file mode 100644 index 53ea42b0e1..0000000000 --- a/parser/testdata/00014_filtering_arrays/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "GeneralInterests" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "AdvEngineID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "GeneralInterests" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00014_select_from_table_with_nested/ast.json b/parser/testdata/00014_select_from_table_with_nested/ast.json deleted file mode 100644 index b6c833a814..0000000000 --- a/parser/testdata/00014_select_from_table_with_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_test", - "tables": [ - { - "table": "nested_test" - } - ] -} diff --git a/parser/testdata/00015_totals_and_no_aggregate_functions/ast.json b/parser/testdata/00015_totals_and_no_aggregate_functions/ast.json deleted file mode 100644 index 92bddaf3aa..0000000000 --- a/parser/testdata/00015_totals_and_no_aggregate_functions/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "AdvEngineID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "AdvEngineID" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "AdvEngineID" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00015_totals_having_constants/ast.json b/parser/testdata/00015_totals_having_constants/ast.json deleted file mode 100644 index c45821277f..0000000000 --- a/parser/testdata/00015_totals_having_constants/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "name": "count" - }, - "op": "/", - "right": { - "type": "Float", - "value": 0.1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "having": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0.1 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00016_any_if_distributed_cond_always_false/ast.json b/parser/testdata/00016_any_if_distributed_cond_always_false/ast.json deleted file mode 100644 index 619a70d53d..0000000000 --- a/parser/testdata/00016_any_if_distributed_cond_always_false/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "anyIf", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - }, - { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}:9000" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "hits" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00016_totals_having_constants/ast.json b/parser/testdata/00016_totals_having_constants/ast.json deleted file mode 100644 index 6f2b5b3732..0000000000 --- a/parser/testdata/00016_totals_having_constants/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - }, - { - "left": { - "name": "count" - }, - "op": "/", - "right": { - "type": "Float", - "value": 0.1 - } - } - ], - "group_by": [ - { - "parts": [ - "dummy" - ] - } - ], - "with_totals": true, - "having": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0.1 - } - } - } - ] -} diff --git a/parser/testdata/00017_in_subquery_with_empty_result/ast.json b/parser/testdata/00017_in_subquery_with_empty_result/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00017_in_subquery_with_empty_result/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00018_distinct_in_subquery/ast.json b/parser/testdata/00018_distinct_in_subquery/ast.json deleted file mode 100644 index b0655f7251..0000000000 --- a/parser/testdata/00018_distinct_in_subquery/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "alias": "y" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00019_shard_quantiles_totals_distributed/ast.json b/parser/testdata/00019_shard_quantiles_totals_distributed/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/00019_shard_quantiles_totals_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00020_distinct_order_by_distributed/ast.json b/parser/testdata/00020_distinct_order_by_distributed/ast.json deleted file mode 100644 index f8a82f93c3..0000000000 --- a/parser/testdata/00020_distinct_order_by_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_sort", - "value": { - "type": "Integer", - "value": 10000 - } - } - ] -} diff --git a/parser/testdata/00021_1_select_with_in/ast.json b/parser/testdata/00021_1_select_with_in/ast.json deleted file mode 100644 index f04215e725..0000000000 --- a/parser/testdata/00021_1_select_with_in/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "Sign" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "CounterID" - ] - }, - "list": [ - { - "type": "Integer", - "value": 942285 - } - ] - } - } - ] -} diff --git a/parser/testdata/00022_func_higher_order_and_constants/ast.json b/parser/testdata/00022_func_higher_order_and_constants/ast.json deleted file mode 100644 index b832f79699..0000000000 --- a/parser/testdata/00022_func_higher_order_and_constants/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "name": "position", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "String", - "value": "a" - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00022_merge_prewhere/ast.json b/parser/testdata/00022_merge_prewhere/ast.json deleted file mode 100644 index ef7eb1d720..0000000000 --- a/parser/testdata/00022_merge_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_hits", - "tables": [ - { - "table": "merge_hits" - } - ] -} diff --git a/parser/testdata/00023_agg_select_agg_subquery/ast.json b/parser/testdata/00023_agg_select_agg_subquery/ast.json deleted file mode 100644 index 0436307e2e..0000000000 --- a/parser/testdata/00023_agg_select_agg_subquery/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "name": "sum", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00023_totals_limit/ast.json b/parser/testdata/00023_totals_limit/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00023_totals_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00024_random_counters/ast.json b/parser/testdata/00024_random_counters/ast.json deleted file mode 100644 index 7a7c137f28..0000000000 --- a/parser/testdata/00024_random_counters/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "Sign" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 32152608 - } - } - } - ] -} diff --git a/parser/testdata/00024_unused_array_join_in_subquery/ast.json b/parser/testdata/00024_unused_array_join_in_subquery/ast.json deleted file mode 100644 index 43fe751cba..0000000000 --- a/parser/testdata/00024_unused_array_join_in_subquery/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00025_implicitly_used_subquery_column/ast.json b/parser/testdata/00025_implicitly_used_subquery_column/ast.json deleted file mode 100644 index 4b666552bf..0000000000 --- a/parser/testdata/00025_implicitly_used_subquery_column/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "y" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "x" - }, - { - "parts": [ - "x" - ], - "alias": "y" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00026_shard_something_distributed/ast.json b/parser/testdata/00026_shard_something_distributed/ast.json deleted file mode 100644 index 143d76812a..0000000000 --- a/parser/testdata/00026_shard_something_distributed/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "NOT", - "operand": { - "parts": [ - "dummy" - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - }, - "where": { - "op": "NOT", - "operand": { - "parts": [ - "dummy" - ] - } - } - } - ] -} diff --git a/parser/testdata/00027_argMinMax/ast.json b/parser/testdata/00027_argMinMax/ast.json deleted file mode 100644 index 20aff0b155..0000000000 --- a/parser/testdata/00027_argMinMax/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argMin", - "arguments": [ - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - }, - { - "name": "argMax", - "arguments": [ - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00027_distinct_and_order_by/ast.json b/parser/testdata/00027_distinct_and_order_by/ast.json deleted file mode 100644 index a534ea790f..0000000000 --- a/parser/testdata/00027_distinct_and_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_sort", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/00028_shard_big_agg_aj_distributed/ast.json b/parser/testdata/00028_shard_big_agg_aj_distributed/ast.json deleted file mode 100644 index a52a278d7d..0000000000 --- a/parser/testdata/00028_shard_big_agg_aj_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "big_array", - "tables": [ - { - "table": "big_array" - } - ] -} diff --git a/parser/testdata/00030_alter_table/ast.json b/parser/testdata/00030_alter_table/ast.json deleted file mode 100644 index 8a154714d2..0000000000 --- a/parser/testdata/00030_alter_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_test", - "tables": [ - { - "table": "alter_test" - } - ] -} diff --git a/parser/testdata/00030_array_enumerate_uniq/ast.json b/parser/testdata/00030_array_enumerate_uniq/ast.json deleted file mode 100644 index b86a18a729..0000000000 --- a/parser/testdata/00030_array_enumerate_uniq/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "max", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 10 - } - ] - } - }, - { - "parts": [ - "URLCategories" - ] - } - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00031_array_enumerate_uniq/ast.json b/parser/testdata/00031_array_enumerate_uniq/ast.json deleted file mode 100644 index f4cd825eae..0000000000 --- a/parser/testdata/00031_array_enumerate_uniq/ast.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - }, - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - } - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - }, - { - "parts": [ - "SearchPhrase" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - }, - "op": "AND", - "right": { - "expr": { - "parts": [ - "UserID" - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - } - ] - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - } - }, - "group_by": [ - { - "parts": [ - "UserID" - ] - } - ], - "having": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "UserID" - ] - } - }, - { - "expression": { - "parts": [ - "WatchID" - ] - } - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - } - ] - }, - "group_by": [ - { - "parts": [ - "UserID" - ] - } - ], - "having": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "UserID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/00032_aggregate_key64/ast.json b/parser/testdata/00032_aggregate_key64/ast.json deleted file mode 100644 index 830c5cbaee..0000000000 --- a/parser/testdata/00032_aggregate_key64/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "SearchEngineID" - ], - "alias": "k1" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k1" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00032_fixed_string_to_string/ast.json b/parser/testdata/00032_fixed_string_to_string/ast.json deleted file mode 100644 index addd53dea4..0000000000 --- a/parser/testdata/00032_fixed_string_to_string/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 111 - } - } - ] -} diff --git a/parser/testdata/00033_aggregate_key_string/ast.json b/parser/testdata/00033_aggregate_key_string/ast.json deleted file mode 100644 index 080b32be60..0000000000 --- a/parser/testdata/00033_aggregate_key_string/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "SearchPhrase" - ], - "alias": "k1" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k1" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00033_fixed_string_to_string/ast.json b/parser/testdata/00033_fixed_string_to_string/ast.json deleted file mode 100644 index b200f02f7c..0000000000 --- a/parser/testdata/00033_fixed_string_to_string/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00034_aggregate_key_fixed_string/ast.json b/parser/testdata/00034_aggregate_key_fixed_string/ast.json deleted file mode 100644 index bfc62d5662..0000000000 --- a/parser/testdata/00034_aggregate_key_fixed_string/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "substring", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 17 - } - ] - }, - { - "type": "Integer", - "value": 17 - } - ], - "alias": "k1" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k1" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00034_fixed_string_to_number/ast.json b/parser/testdata/00034_fixed_string_to_number/ast.json deleted file mode 100644 index d5bf0ae5dd..0000000000 --- a/parser/testdata/00034_fixed_string_to_number/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt16", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 111 - } - } - ] -} diff --git a/parser/testdata/00035_aggregate_keys128/ast.json b/parser/testdata/00035_aggregate_keys128/ast.json deleted file mode 100644 index 619e7c4fe2..0000000000 --- a/parser/testdata/00035_aggregate_keys128/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "SearchEngineID" - ], - "alias": "k1" - }, - { - "parts": [ - "AdvEngineID" - ], - "alias": "k2" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - }, - { - "parts": [ - "k2" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k1" - ] - } - }, - { - "expression": { - "parts": [ - "k2" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00035_function_array_return_type/ast.json b/parser/testdata/00035_function_array_return_type/ast.json deleted file mode 100644 index 2f9feff9aa..0000000000 --- a/parser/testdata/00035_function_array_return_type/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00036_aggregate_hashed/ast.json b/parser/testdata/00036_aggregate_hashed/ast.json deleted file mode 100644 index be559eda42..0000000000 --- a/parser/testdata/00036_aggregate_hashed/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "SearchEngineID" - ], - "alias": "k1" - }, - { - "parts": [ - "SearchPhrase" - ], - "alias": "k2" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - }, - { - "parts": [ - "k2" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k1" - ] - } - }, - { - "expression": { - "parts": [ - "k2" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00036_array_element/ast.json b/parser/testdata/00036_array_element/ast.json deleted file mode 100644 index 16e12af777..0000000000 --- a/parser/testdata/00036_array_element/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array_element_test", - "tables": [ - { - "table": "array_element_test" - } - ] -} diff --git a/parser/testdata/00037_totals_limit/ast.json b/parser/testdata/00037_totals_limit/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00037_totals_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00037_uniq_state_merge1/ast.json b/parser/testdata/00037_uniq_state_merge1/ast.json deleted file mode 100644 index 9f55910776..0000000000 --- a/parser/testdata/00037_uniq_state_merge1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "String", - "value": "1G" - } - } - ] -} diff --git a/parser/testdata/00038_totals_limit/ast.json b/parser/testdata/00038_totals_limit/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/00038_totals_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00038_uniq_state_merge2/ast.json b/parser/testdata/00038_uniq_state_merge2/ast.json deleted file mode 100644 index 9f55910776..0000000000 --- a/parser/testdata/00038_uniq_state_merge2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "String", - "value": "1G" - } - } - ] -} diff --git a/parser/testdata/00039_primary_key/ast.json b/parser/testdata/00039_primary_key/ast.json deleted file mode 100644 index 99e2474da4..0000000000 --- a/parser/testdata/00039_primary_key/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10000 - } - } - } - ] -} diff --git a/parser/testdata/00040_aggregating_materialized_view/ast.json b/parser/testdata/00040_aggregating_materialized_view/ast.json deleted file mode 100644 index a868bafa1b..0000000000 --- a/parser/testdata/00040_aggregating_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "basic_00040", - "tables": [ - { - "table": "basic_00040" - } - ] -} diff --git a/parser/testdata/00040_array_enumerate_uniq/ast.json b/parser/testdata/00040_array_enumerate_uniq/ast.json deleted file mode 100644 index 936eba4828..0000000000 --- a/parser/testdata/00040_array_enumerate_uniq/ast.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "max", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 54321 - } - ] - } - ], - "alias": "nums" - }, - { - "name": "groupArray", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 98765 - } - ] - } - ] - } - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "left": { - "name": "intHash32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100000 - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00041_aggregating_materialized_view/ast.json b/parser/testdata/00041_aggregating_materialized_view/ast.json deleted file mode 100644 index cc346f3987..0000000000 --- a/parser/testdata/00041_aggregating_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "basic", - "tables": [ - { - "table": "basic" - } - ] -} diff --git a/parser/testdata/00041_aggregation_remap/ast.json b/parser/testdata/00041_aggregation_remap/ast.json deleted file mode 100644 index 4a006ecef6..0000000000 --- a/parser/testdata/00041_aggregation_remap/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 200000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - } - }, - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00041_big_array_join/ast.json b/parser/testdata/00041_big_array_join/ast.json deleted file mode 100644 index a52a278d7d..0000000000 --- a/parser/testdata/00041_big_array_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "big_array", - "tables": [ - { - "table": "big_array" - } - ] -} diff --git a/parser/testdata/00042_set/ast.json b/parser/testdata/00042_set/ast.json deleted file mode 100644 index cee681690b..0000000000 --- a/parser/testdata/00042_set/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1100000 - } - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00043_summing_empty_part/ast.json b/parser/testdata/00043_summing_empty_part/ast.json deleted file mode 100644 index 5384600b7d..0000000000 --- a/parser/testdata/00043_summing_empty_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "empty_summing", - "tables": [ - { - "table": "empty_summing" - } - ] -} diff --git a/parser/testdata/00044_sorting_by_string_descending/ast.json b/parser/testdata/00044_sorting_by_string_descending/ast.json deleted file mode 100644 index e3ceaf457f..0000000000 --- a/parser/testdata/00044_sorting_by_string_descending/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "s" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "s" - ] - }, - "descending": true - } - ] - } - ] -} diff --git a/parser/testdata/00045_sorting_by_fixed_string_descending/ast.json b/parser/testdata/00045_sorting_by_fixed_string_descending/ast.json deleted file mode 100644 index 25a3f2f465..0000000000 --- a/parser/testdata/00045_sorting_by_fixed_string_descending/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "s" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "s" - ] - }, - "descending": true - } - ] - } - ] -} diff --git a/parser/testdata/00045_uniq_upto/ast.json b/parser/testdata/00045_uniq_upto/ast.json deleted file mode 100644 index b6bdf9caa3..0000000000 --- a/parser/testdata/00045_uniq_upto/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "RegionID" - ] - }, - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ], - "alias": "u1" - }, - { - "name": "uniqUpTo", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ], - "alias": "u2" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "RegionID" - ] - } - ], - "having": { - "left": { - "left": { - "parts": [ - "u1" - ] - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 11 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "u1" - ] - }, - "op": "!=", - "right": { - "parts": [ - "u2" - ] - } - } - } - } - ] -} diff --git a/parser/testdata/00046_stored_aggregates_simple/ast.json b/parser/testdata/00046_stored_aggregates_simple/ast.json deleted file mode 100644 index 2bd2d84b46..0000000000 --- a/parser/testdata/00046_stored_aggregates_simple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stored_aggregates", - "tables": [ - { - "table": "stored_aggregates" - } - ] -} diff --git a/parser/testdata/00046_uniq_upto_distributed/ast.json b/parser/testdata/00046_uniq_upto_distributed/ast.json deleted file mode 100644 index d1a7115696..0000000000 --- a/parser/testdata/00046_uniq_upto_distributed/ast.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "RegionID" - ] - }, - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ], - "alias": "u1" - }, - { - "name": "uniqUpTo", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ], - "alias": "u2" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "visits" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "RegionID" - ] - } - ], - "having": { - "left": { - "left": { - "parts": [ - "u1" - ] - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 11 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "u1" - ] - }, - "op": "!=", - "right": { - "parts": [ - "u2" - ] - } - } - } - } - ] -} diff --git a/parser/testdata/00047_bar/ast.json b/parser/testdata/00047_bar/ast.json deleted file mode 100644 index 861c0b9b1b..0000000000 --- a/parser/testdata/00047_bar/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "count", - "alias": "c" - }, - { - "name": "bar", - "arguments": [ - { - "parts": [ - "c" - ] - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 523264 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "CounterID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/00047_stored_aggregates_complex/ast.json b/parser/testdata/00047_stored_aggregates_complex/ast.json deleted file mode 100644 index 2bd2d84b46..0000000000 --- a/parser/testdata/00047_stored_aggregates_complex/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stored_aggregates", - "tables": [ - { - "table": "stored_aggregates" - } - ] -} diff --git a/parser/testdata/00048_a_stored_aggregates_merge/ast.json b/parser/testdata/00048_a_stored_aggregates_merge/ast.json deleted file mode 100644 index 2bd2d84b46..0000000000 --- a/parser/testdata/00048_a_stored_aggregates_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stored_aggregates", - "tables": [ - { - "table": "stored_aggregates" - } - ] -} diff --git a/parser/testdata/00048_b_stored_aggregates_merge/ast.json b/parser/testdata/00048_b_stored_aggregates_merge/ast.json deleted file mode 100644 index 2bd2d84b46..0000000000 --- a/parser/testdata/00048_b_stored_aggregates_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stored_aggregates", - "tables": [ - { - "table": "stored_aggregates" - } - ] -} diff --git a/parser/testdata/00048_min_max/ast.json b/parser/testdata/00048_min_max/ast.json deleted file mode 100644 index 8832c61bba..0000000000 --- a/parser/testdata/00048_min_max/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "min", - "arguments": [ - { - "parts": [ - "EventDate" - ] - } - ] - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "EventDate" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00049_max_string_if/ast.json b/parser/testdata/00049_max_string_if/ast.json deleted file mode 100644 index 957619e3ab..0000000000 --- a/parser/testdata/00049_max_string_if/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "count" - }, - { - "name": "maxIf", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - }, - { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/00050_min_max/ast.json b/parser/testdata/00050_min_max/ast.json deleted file mode 100644 index bc80a73701..0000000000 --- a/parser/testdata/00050_min_max/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "min", - "arguments": [ - { - "parts": [ - "WatchID" - ] - } - ] - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "WatchID" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/00051_any_inner_join/ast.json b/parser/testdata/00051_any_inner_join/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00051_any_inner_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00051_min_max_array/ast.json b/parser/testdata/00051_min_max_array/ast.json deleted file mode 100644 index 67f06c3e06..0000000000 --- a/parser/testdata/00051_min_max_array/ast.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "count" - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "GoalsReached" - ] - } - ] - }, - { - "name": "min", - "arguments": [ - { - "parts": [ - "GoalsReached" - ] - } - ] - }, - { - "name": "minIf", - "arguments": [ - { - "parts": [ - "GoalsReached" - ] - }, - { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "GoalsReached" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/00053_replicate_segfault/ast.json b/parser/testdata/00053_replicate_segfault/ast.json deleted file mode 100644 index 62d8234a71..0000000000 --- a/parser/testdata/00053_replicate_segfault/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "ParsedParams", - "Key1" - ], - "alias": "p" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "where": { - "name": "arrayAll", - "arguments": [ - { - "parameters": [ - "y" - ], - "body": { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "y" - ] - }, - "op": "!=", - "right": { - "parts": [ - "x" - ] - } - } - }, - { - "parts": [ - "p" - ] - } - ] - } - }, - { - "parts": [ - "p" - ] - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00054_merge_tree_partitions/ast.json b/parser/testdata/00054_merge_tree_partitions/ast.json deleted file mode 100644 index 0f931c8731..0000000000 --- a/parser/testdata/00054_merge_tree_partitions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partitions", - "tables": [ - { - "table": "partitions" - } - ] -} diff --git a/parser/testdata/00055_index_and_not/ast.json b/parser/testdata/00055_index_and_not/ast.json deleted file mode 100644 index 001f2472db..0000000000 --- a/parser/testdata/00055_index_and_not/ast.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "op": "NOT", - "operand": { - "left": { - "left": { - "parts": [ - "EventDate" - ] - }, - "op": "\u003e=", - "right": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2015-01-01" - } - ] - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "EventDate" - ] - }, - "op": "\u003c", - "right": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2015-02-01" - } - ] - } - } - } - } - } - ] -} diff --git a/parser/testdata/00056_view/ast.json b/parser/testdata/00056_view/ast.json deleted file mode 100644 index 4eb064c82b..0000000000 --- a/parser/testdata/00056_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view", - "tables": [ - { - "table": "view" - } - ] -} diff --git a/parser/testdata/00057_join_aliases/ast.json b/parser/testdata/00057_join_aliases/ast.json deleted file mode 100644 index 9f6e44ed97..0000000000 --- a/parser/testdata/00057_join_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_join_swap_table", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00059_merge_sorting_empty_array_joined/ast.json b/parser/testdata/00059_merge_sorting_empty_array_joined/ast.json deleted file mode 100644 index afbd060360..0000000000 --- a/parser/testdata/00059_merge_sorting_empty_array_joined/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "Goals", - "ID" - ] - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 942285 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "CounterID" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00059_shard_global_in/ast.json b/parser/testdata/00059_shard_global_in/ast.json deleted file mode 100644 index 9bfee5ce61..0000000000 --- a/parser/testdata/00059_shard_global_in/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "numbers" - ] - } - ] - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "number" - ] - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "numbers" - ] - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00059_shard_global_in_mergetree/ast.json b/parser/testdata/00059_shard_global_in_mergetree/ast.json deleted file mode 100644 index 006c394edc..0000000000 --- a/parser/testdata/00059_shard_global_in_mergetree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_local", - "tables": [ - { - "table": "test_local" - } - ] -} diff --git a/parser/testdata/00060_date_lut/ast.json b/parser/testdata/00060_date_lut/ast.json deleted file mode 100644 index 17da8a14ad..0000000000 --- a/parser/testdata/00060_date_lut/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "1970-01-01 14:25:36" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00060_move_to_prewhere_and_sets/ast.json b/parser/testdata/00060_move_to_prewhere_and_sets/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/00060_move_to_prewhere_and_sets/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00061_merge_tree_alter/ast.json b/parser/testdata/00061_merge_tree_alter/ast.json deleted file mode 100644 index 116dfb4758..0000000000 --- a/parser/testdata/00061_merge_tree_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_00061", - "tables": [ - { - "table": "alter_00061" - } - ] -} diff --git a/parser/testdata/00061_storage_buffer/ast.json b/parser/testdata/00061_storage_buffer/ast.json deleted file mode 100644 index 687cf50920..0000000000 --- a/parser/testdata/00061_storage_buffer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hits_dst", - "tables": [ - { - "table": "hits_dst" - } - ] -} diff --git a/parser/testdata/00062_loyalty/ast.json b/parser/testdata/00062_loyalty/ast.json deleted file mode 100644 index 639302c841..0000000000 --- a/parser/testdata/00062_loyalty/ast.json +++ /dev/null @@ -1,307 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "loyalty" - ] - }, - { - "name": "count", - "alias": "c" - }, - { - "name": "bar", - "arguments": [ - { - "left": { - "name": "log", - "arguments": [ - { - "left": { - "parts": [ - "c" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 1000 - } - }, - { - "type": "Integer", - "value": 0 - }, - { - "left": { - "name": "log", - "arguments": [ - { - "type": "Integer", - "value": 6000 - } - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 1000 - } - }, - { - "type": "Integer", - "value": 80 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - }, - { - "name": "toInt8", - "arguments": [ - { - "left": { - "condition": { - "left": { - "parts": [ - "yandex" - ] - }, - "op": "\u003e", - "right": { - "parts": [ - "google" - ] - } - }, - "then": { - "left": { - "parts": [ - "yandex" - ] - }, - "op": "/", - "right": { - "left": { - "parts": [ - "yandex" - ] - }, - "op": "+", - "right": { - "parts": [ - "google" - ] - } - } - }, - "else": { - "left": { - "op": "-", - "operand": { - "parts": [ - "google" - ] - } - }, - "op": "/", - "right": { - "left": { - "parts": [ - "yandex" - ] - }, - "op": "+", - "right": { - "parts": [ - "google" - ] - } - } - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 10 - } - } - ], - "alias": "loyalty" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - }, - { - "name": "sum", - "arguments": [ - { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "yandex" - }, - { - "name": "sum", - "arguments": [ - { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "google" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 3 - } - } - }, - "group_by": [ - { - "parts": [ - "UserID" - ] - } - ], - "having": { - "left": { - "left": { - "parts": [ - "yandex" - ] - }, - "op": "+", - "right": { - "parts": [ - "google" - ] - } - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 10 - } - } - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "loyalty" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "loyalty" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/ast.json b/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/ast.json deleted file mode 100644 index 605f73f665..0000000000 --- a/parser/testdata/00062_replicated_merge_tree_alter_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_alter1", - "tables": [ - { - "table": "replicated_alter1" - } - ] -} diff --git a/parser/testdata/00063_check_query/ast.json b/parser/testdata/00063_check_query/ast.json deleted file mode 100644 index b1cb771363..0000000000 --- a/parser/testdata/00063_check_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "check_query_single_value_result", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00063_loyalty_joins/ast.json b/parser/testdata/00063_loyalty_joins/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00063_loyalty_joins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00064_negate_bug/ast.json b/parser/testdata/00064_negate_bug/ast.json deleted file mode 100644 index 695d4ee10c..0000000000 --- a/parser/testdata/00064_negate_bug/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "op": "-", - "operand": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "t" - } - ] - } - ] -} diff --git a/parser/testdata/00065_loyalty_with_storage_join/ast.json b/parser/testdata/00065_loyalty_with_storage_join/ast.json deleted file mode 100644 index a0704c201f..0000000000 --- a/parser/testdata/00065_loyalty_with_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join", - "tables": [ - { - "table": "join" - } - ] -} diff --git a/parser/testdata/00065_shard_float_literals_formatting/ast.json b/parser/testdata/00065_shard_float_literals_formatting/ast.json deleted file mode 100644 index 8844079b00..0000000000 --- a/parser/testdata/00065_shard_float_literals_formatting/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "type": "Float", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00066_sorting_distributed_many_replicas/ast.json b/parser/testdata/00066_sorting_distributed_many_replicas/ast.json deleted file mode 100644 index 853810df50..0000000000 --- a/parser/testdata/00066_sorting_distributed_many_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_parallel_replicas", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/00067_replicate_segfault/ast.json b/parser/testdata/00067_replicate_segfault/ast.json deleted file mode 100644 index 436bf8fffc..0000000000 --- a/parser/testdata/00067_replicate_segfault/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ], - "alias": "p" - }, - { - "name": "arrayAll", - "arguments": [ - { - "parameters": [ - "y" - ], - "body": { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "y" - ] - }, - "op": "!=", - "right": { - "parts": [ - "x" - ] - } - } - }, - { - "parts": [ - "p" - ] - } - ] - } - }, - { - "parts": [ - "p" - ] - } - ], - "alias": "test" - } - ] - } - ] -} diff --git a/parser/testdata/00068_empty_tiny_log/ast.json b/parser/testdata/00068_empty_tiny_log/ast.json deleted file mode 100644 index 1e5c0274f0..0000000000 --- a/parser/testdata/00068_empty_tiny_log/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_not_exists": true, - "table": "empty_tiny_log", - "columns": [ - { - "name": "A", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "TinyLog" - } -} diff --git a/parser/testdata/00068_subquery_in_prewhere/ast.json b/parser/testdata/00068_subquery_in_prewhere/ast.json deleted file mode 100644 index 6319e0de58..0000000000 --- a/parser/testdata/00068_subquery_in_prewhere/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "prewhere": { - "expr": { - "parts": [ - "UserID" - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 800784 - } - } - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00069_date_arithmetic/ast.json b/parser/testdata/00069_date_arithmetic/ast.json deleted file mode 100644 index d87fbda91b..0000000000 --- a/parser/testdata/00069_date_arithmetic/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toTypeName", - "arguments": [ - { - "left": { - "name": "now" - }, - "op": "-", - "right": { - "name": "now" - } - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Int32" - } - } - ] - } - ] -} diff --git a/parser/testdata/00069_duplicate_aggregation_keys/ast.json b/parser/testdata/00069_duplicate_aggregation_keys/ast.json deleted file mode 100644 index 0c3c69c50c..0000000000 --- a/parser/testdata/00069_duplicate_aggregation_keys/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "URL" - ] - }, - { - "parts": [ - "EventDate" - ] - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "URL" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "UserID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 4322253409885123546 - } - } - }, - "group_by": [ - { - "parts": [ - "URL" - ] - }, - { - "parts": [ - "EventDate" - ] - }, - { - "parts": [ - "EventDate" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "URL" - ] - } - }, - { - "expression": { - "parts": [ - "EventDate" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00071_insert_fewer_columns/ast.json b/parser/testdata/00071_insert_fewer_columns/ast.json deleted file mode 100644 index 34b78ba4e9..0000000000 --- a/parser/testdata/00071_insert_fewer_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "insert_fewer_columns", - "tables": [ - { - "table": "insert_fewer_columns" - } - ] -} diff --git a/parser/testdata/00071_merge_tree_optimize_aio/ast.json b/parser/testdata/00071_merge_tree_optimize_aio/ast.json deleted file mode 100644 index d60bc068b1..0000000000 --- a/parser/testdata/00071_merge_tree_optimize_aio/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hits_snippet", - "tables": [ - { - "table": "hits_snippet" - } - ] -} diff --git a/parser/testdata/00072_compare_date_and_string_index/ast.json b/parser/testdata/00072_compare_date_and_string_index/ast.json deleted file mode 100644 index 4d8e3d5eed..0000000000 --- a/parser/testdata/00072_compare_date_and_string_index/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "EventDate" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "2014-03-18" - } - } - } - ] -} diff --git a/parser/testdata/00073_merge_sorting_empty_array_joined/ast.json b/parser/testdata/00073_merge_sorting_empty_array_joined/ast.json deleted file mode 100644 index e6749a0a7b..0000000000 --- a/parser/testdata/00073_merge_sorting_empty_array_joined/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00073_uniq_array/ast.json b/parser/testdata/00073_uniq_array/ast.json deleted file mode 100644 index ebc1892439..0000000000 --- a/parser/testdata/00073_uniq_array/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "EventDate" - ] - }, - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - }, - { - "name": "length", - "arguments": [ - { - "name": "groupUniqArray", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - } - ] - }, - { - "name": "arrayUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "UserID" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - }, - "group_by": [ - { - "parts": [ - "EventDate" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "EventDate" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00074_full_join/ast.json b/parser/testdata/00074_full_join/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00074_full_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00075_left_array_join/ast.json b/parser/testdata/00075_left_array_join/ast.json deleted file mode 100644 index f084dc86ce..0000000000 --- a/parser/testdata/00075_left_array_join/ast.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "UserID" - ] - }, - { - "expr": { - "parts": [ - "EventTime" - ] - }, - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "Asia/Dubai" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - { - "parts": [ - "pp", - "Key1" - ] - }, - { - "parts": [ - "pp", - "Key2" - ] - }, - { - "parts": [ - "ParsedParams", - "Key1" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "ParsedParams" - ], - "alias": "pp" - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "UserID" - ] - } - }, - { - "expression": { - "parts": [ - "EventTime" - ] - } - }, - { - "expression": { - "parts": [ - "pp", - "Key1" - ] - } - }, - { - "expression": { - "parts": [ - "pp", - "Key2" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/00075_shard_formatting_negate_of_negative_literal/ast.json b/parser/testdata/00075_shard_formatting_negate_of_negative_literal/ast.json deleted file mode 100644 index b408d2e50c..0000000000 --- a/parser/testdata/00075_shard_formatting_negate_of_negative_literal/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "-", - "operand": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00076_ip_coding_functions/ast.json b/parser/testdata/00076_ip_coding_functions/ast.json deleted file mode 100644 index e93967b09a..0000000000 --- a/parser/testdata/00076_ip_coding_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_ipv4_ipv6_default_on_conversion_error", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00077_log_tinylog_stripelog/ast.json b/parser/testdata/00077_log_tinylog_stripelog/ast.json deleted file mode 100644 index b1cb771363..0000000000 --- a/parser/testdata/00077_log_tinylog_stripelog/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "check_query_single_value_result", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/ast.json b/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/ast.json deleted file mode 100644 index de44ee467c..0000000000 --- a/parser/testdata/00077_set_keys_fit_128_bits_many_blocks/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/00078_group_by_arrays/ast.json b/parser/testdata/00078_group_by_arrays/ast.json deleted file mode 100644 index 19b1514156..0000000000 --- a/parser/testdata/00078_group_by_arrays/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "GoalsReached" - ], - "alias": "k" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00078_string_concat/ast.json b/parser/testdata/00078_string_concat/ast.json deleted file mode 100644 index c16cde19df..0000000000 --- a/parser/testdata/00078_string_concat/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "String", - "value": "{ key: fn, value: concat }" - }, - "op": "==", - "right": { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "{ key: " - }, - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "fn" - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "String", - "value": ", value: " - }, - { - "type": "String", - "value": "concat" - }, - { - "type": "String", - "value": " }" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00079_array_join_not_used_joined_column/ast.json b/parser/testdata/00079_array_join_not_used_joined_column/ast.json deleted file mode 100644 index 699a4b4cef..0000000000 --- a/parser/testdata/00079_array_join_not_used_joined_column/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "PP", - "Key1" - ], - "alias": "ym:s:paramsLevel1" - }, - { - "name": "sum", - "arguments": [ - { - "name": "arrayAll", - "arguments": [ - { - "parameters": [ - "x_1" - ], - "body": { - "left": { - "parts": [ - "x_1" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "" - } - } - }, - { - "parts": [ - "ParsedParams", - "Key2" - ] - } - ] - } - ], - "alias": "ym:s:visits" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "ParsedParams" - ], - "alias": "PP" - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1704509 - } - }, - "group_by": [ - { - "parts": [ - "ym:s:paramsLevel1" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "PP", - "Key1" - ] - } - }, - { - "expression": { - "parts": [ - "ym:s:visits" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 100 - }, - "offset": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00079_defaulted_columns/ast.json b/parser/testdata/00079_defaulted_columns/ast.json deleted file mode 100644 index 99aea68c0f..0000000000 --- a/parser/testdata/00079_defaulted_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaulted", - "tables": [ - { - "table": "defaulted" - } - ] -} diff --git a/parser/testdata/00080_array_join_and_union/ast.json b/parser/testdata/00080_array_join_and_union/ast.json deleted file mode 100644 index 371eaef1a0..0000000000 --- a/parser/testdata/00080_array_join_and_union/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "Goals", - "ID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "Goals" - ] - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 842440 - } - }, - "limit": { - "type": "Integer", - "value": 10 - } - }, - { - "columns": [ - { - "parts": [ - "Goals", - "ID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "Goals" - ] - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 842440 - } - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00081_group_by_without_key_and_totals/ast.json b/parser/testdata/00081_group_by_without_key_and_totals/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00081_group_by_without_key_and_totals/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00081_int_div_or_zero/ast.json b/parser/testdata/00081_int_div_or_zero/ast.json deleted file mode 100644 index 39e5f0e928..0000000000 --- a/parser/testdata/00081_int_div_or_zero/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "intDivOrZero", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/00082_append_trailing_char_if_absent/ast.json b/parser/testdata/00082_append_trailing_char_if_absent/ast.json deleted file mode 100644 index 0d60ff1775..0000000000 --- a/parser/testdata/00082_append_trailing_char_if_absent/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "appendTrailingCharIfAbsent", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "a" - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "" - } - } - ] - } - ] -} diff --git a/parser/testdata/00082_quantiles/ast.json b/parser/testdata/00082_quantiles/ast.json deleted file mode 100644 index 5dd0e1cc44..0000000000 --- a/parser/testdata/00082_quantiles/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00083_array_filter/ast.json b/parser/testdata/00083_array_filter/ast.json deleted file mode 100644 index 82978d2e71..0000000000 --- a/parser/testdata/00083_array_filter/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "length", - "arguments": [ - { - "parts": [ - "ParsedParams", - "Key1" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "name": "notEmpty", - "arguments": [ - { - "parts": [ - "ParsedParams", - "Key1" - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/00083_create_merge_tree_zookeeper_long/ast.json b/parser/testdata/00083_create_merge_tree_zookeeper_long/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00083_create_merge_tree_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00084_external_aggregation/ast.json b/parser/testdata/00084_external_aggregation/ast.json deleted file mode 100644 index f9d8ffd29c..0000000000 --- a/parser/testdata/00084_external_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 200000000 - } - } - ] -} diff --git a/parser/testdata/00084_summing_merge_tree/ast.json b/parser/testdata/00084_summing_merge_tree/ast.json deleted file mode 100644 index 61179e7887..0000000000 --- a/parser/testdata/00084_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_merge_tree", - "tables": [ - { - "table": "summing_merge_tree" - } - ] -} diff --git a/parser/testdata/00085_monotonic_evaluation_segfault/ast.json b/parser/testdata/00085_monotonic_evaluation_segfault/ast.json deleted file mode 100644 index d1ba52935d..0000000000 --- a/parser/testdata/00085_monotonic_evaluation_segfault/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "any", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "visits" - } - } - } - ] - }, - "where": { - "left": { - "name": "toInt32", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "StartDate" - ] - } - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1000000000 - } - } - } - ] -} diff --git a/parser/testdata/00085_visible_width_of_tuple_of_dates/ast.json b/parser/testdata/00085_visible_width_of_tuple_of_dates/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/00085_visible_width_of_tuple_of_dates/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00086_array_reduce/ast.json b/parser/testdata/00086_array_reduce/ast.json deleted file mode 100644 index 5a2b88f1b0..0000000000 --- a/parser/testdata/00086_array_reduce/ast.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 1 - } - } - }, - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "a", - "b" - ], - "body": { - "left": { - "parts": [ - "a" - ] - }, - "op": "=", - "right": { - "parts": [ - "b" - ] - } - } - }, - { - "parts": [ - "GeneralInterests" - ] - }, - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "groupArray" - }, - { - "parts": [ - "GeneralInterests" - ] - } - ] - } - ] - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "res" - ] - } - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/ast.json b/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/ast.json deleted file mode 100644 index 9ad295c323..0000000000 --- a/parser/testdata/00086_concat_nary_const_with_nonconst_segfault/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extract", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "String", - "value": "10000000" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers_mt" - } - } - } - ] - }, - "where": { - "expr": { - "name": "concat", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "1" - } - ] - }, - { - "type": "String", - "value": "..." - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - "pattern": { - "type": "String", - "value": "%10000000%" - } - }, - "limit": { - "type": "Integer", - "value": 1 - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/00087_distinct_of_empty_arrays/ast.json b/parser/testdata/00087_distinct_of_empty_arrays/ast.json deleted file mode 100644 index 395600f8a2..0000000000 --- a/parser/testdata/00087_distinct_of_empty_arrays/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "emptyArrayString", - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00087_math_functions/ast.json b/parser/testdata/00087_math_functions/ast.json deleted file mode 100644 index d45d041744..0000000000 --- a/parser/testdata/00087_math_functions/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "abs", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/00087_where_0/ast.json b/parser/testdata/00087_where_0/ast.json deleted file mode 100644 index 945e7201e8..0000000000 --- a/parser/testdata/00087_where_0/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/ast.json b/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/ast.json deleted file mode 100644 index 8ebe91f0db..0000000000 --- a/parser/testdata/00088_global_in_one_shard_and_rows_before_limit/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 50000000 - } - } - ] -} diff --git a/parser/testdata/00089_group_by_arrays_of_fixed/ast.json b/parser/testdata/00089_group_by_arrays_of_fixed/ast.json deleted file mode 100644 index 5d5538404a..0000000000 --- a/parser/testdata/00089_group_by_arrays_of_fixed/ast.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "arr" - ] - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - }, - { - "name": "arraySort", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "left": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 12379813738877118345 - } - }, - "op": "%", - "right": { - "type": "Integer", - "value": 1234 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "arr" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "arr" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00089_position_functions_with_non_constant_arg/ast.json b/parser/testdata/00089_position_functions_with_non_constant_arg/ast.json deleted file mode 100644 index 25f6700092..0000000000 --- a/parser/testdata/00089_position_functions_with_non_constant_arg/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00091_prewhere_two_conditions/ast.json b/parser/testdata/00091_prewhere_two_conditions/ast.json deleted file mode 100644 index 639c528708..0000000000 --- a/parser/testdata/00091_prewhere_two_conditions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_to_read", - "value": { - "type": "Integer", - "value": 600000000 - } - } - ] -} diff --git a/parser/testdata/00093_prewhere_array_join/ast.json b/parser/testdata/00093_prewhere_array_join/ast.json deleted file mode 100644 index 8cdc0b59b8..0000000000 --- a/parser/testdata/00093_prewhere_array_join/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "SearchEngineID" - ] - } - ] - } - ], - "alias": "search_engine" - }, - { - "parts": [ - "URL" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "search_engine" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/00094_order_by_array_join_limit/ast.json b/parser/testdata/00094_order_by_array_join_limit/ast.json deleted file mode 100644 index a36079fcf6..0000000000 --- a/parser/testdata/00094_order_by_array_join_limit/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "ParsedParams.Key2" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "ParsedParams" - ], - "alias": "PP" - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/00095_hyperscan_profiler/ast.json b/parser/testdata/00095_hyperscan_profiler/ast.json deleted file mode 100644 index fc6bf3a059..0000000000 --- a/parser/testdata/00095_hyperscan_profiler/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_profiler_cpu_time_period_ns", - "value": { - "type": "Integer", - "value": 1000000 - } - } - ] -} diff --git a/parser/testdata/00096_aggregation_min_if/ast.json b/parser/testdata/00096_aggregation_min_if/ast.json deleted file mode 100644 index 2979d9b49d..0000000000 --- a/parser/testdata/00096_aggregation_min_if/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "min_if", - "tables": [ - { - "table": "min_if" - } - ] -} diff --git a/parser/testdata/00097_constexpr_in_index/ast.json b/parser/testdata/00097_constexpr_in_index/ast.json deleted file mode 100644 index 6508ea1025..0000000000 --- a/parser/testdata/00097_constexpr_in_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_index_analysis_only_on_coordinator", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00098_1_union_all/ast.json b/parser/testdata/00098_1_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_1_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_2_union_all/ast.json b/parser/testdata/00098_2_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_2_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_3_union_all/ast.json b/parser/testdata/00098_3_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_3_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_4_union_all/ast.json b/parser/testdata/00098_4_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_4_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_5_union_all/ast.json b/parser/testdata/00098_5_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_5_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_6_union_all/ast.json b/parser/testdata/00098_6_union_all/ast.json deleted file mode 100644 index 2c9979eb7d..0000000000 --- a/parser/testdata/00098_6_union_all/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "X" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "X" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "X" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_7_union_all/ast.json b/parser/testdata/00098_7_union_all/ast.json deleted file mode 100644 index 83476971dd..0000000000 --- a/parser/testdata/00098_7_union_all/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "DomainID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "DomainID" - }, - { - "expr": { - "type": "String", - "value": "abc" - }, - "alias": "Domain" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "DomainID" - }, - { - "expr": { - "type": "String", - "value": "def" - }, - "alias": "Domain" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "DomainID" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_8_union_all/ast.json b/parser/testdata/00098_8_union_all/ast.json deleted file mode 100644 index 6181468c3e..0000000000 --- a/parser/testdata/00098_8_union_all/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "DomainID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "DomainID" - }, - { - "expr": { - "type": "String", - "value": "abc" - }, - "alias": "Domain" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "DomainID" - }, - { - "expr": { - "type": "String", - "value": "def" - }, - "alias": "Domain" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "DomainID" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_9_union_all/ast.json b/parser/testdata/00098_9_union_all/ast.json deleted file mode 100644 index f16a21f8a7..0000000000 --- a/parser/testdata/00098_9_union_all/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_a_union_all/ast.json b/parser/testdata/00098_a_union_all/ast.json deleted file mode 100644 index 2b58a4d8ce..0000000000 --- a/parser/testdata/00098_a_union_all/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_b_union_all/ast.json b/parser/testdata/00098_b_union_all/ast.json deleted file mode 100644 index 0afc1df178..0000000000 --- a/parser/testdata/00098_b_union_all/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "X" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_c_union_all/ast.json b/parser/testdata/00098_c_union_all/ast.json deleted file mode 100644 index 293aaad206..0000000000 --- a/parser/testdata/00098_c_union_all/ast.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "X" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 12345678901 - }, - "alias": "X" - } - ] - }, - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_d_union_all/ast.json b/parser/testdata/00098_d_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_d_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_e_union_all/ast.json b/parser/testdata/00098_e_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_e_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_f_union_all/ast.json b/parser/testdata/00098_f_union_all/ast.json deleted file mode 100644 index b45fd51875..0000000000 --- a/parser/testdata/00098_f_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data2013", - "tables": [ - { - "table": "data2013" - } - ] -} diff --git a/parser/testdata/00098_g_union_all/ast.json b/parser/testdata/00098_g_union_all/ast.json deleted file mode 100644 index 9476000898..0000000000 --- a/parser/testdata/00098_g_union_all/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "X" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "Y" - } - ] - } - ] - } - } - } - } - ] - } - }, - { - "columns": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_h_union_all/ast.json b/parser/testdata/00098_h_union_all/ast.json deleted file mode 100644 index f7a1feb16b..0000000000 --- a/parser/testdata/00098_h_union_all/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "X" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "Y" - } - ] - }, - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - } - } - } - ] - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00098_k_union_all/ast.json b/parser/testdata/00098_k_union_all/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/00098_k_union_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00098_l_union_all/ast.json b/parser/testdata/00098_l_union_all/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00098_l_union_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00098_primary_key_memory_allocated/ast.json b/parser/testdata/00098_primary_key_memory_allocated/ast.json deleted file mode 100644 index 8c1d1813f4..0000000000 --- a/parser/testdata/00098_primary_key_memory_allocated/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "CounterID" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "limit": { - "type": "Integer", - "value": 1 - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/00098_shard_i_union_all/ast.json b/parser/testdata/00098_shard_i_union_all/ast.json deleted file mode 100644 index b47155afdb..0000000000 --- a/parser/testdata/00098_shard_i_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "report1", - "tables": [ - { - "table": "report1" - } - ] -} diff --git a/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/ast.json b/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/00101_materialized_views_and_insert_without_explicit_database/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/00102_insert_into_temporary_table/ast.json b/parser/testdata/00102_insert_into_temporary_table/ast.json deleted file mode 100644 index e613275132..0000000000 --- a/parser/testdata/00102_insert_into_temporary_table/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/00103_ipv4_num_to_string_class_c/ast.json b/parser/testdata/00103_ipv4_num_to_string_class_c/ast.json deleted file mode 100644 index 3c0b73d276..0000000000 --- a/parser/testdata/00103_ipv4_num_to_string_class_c/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "IPv4NumToStringClassC", - "arguments": [ - { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "0.0.0.xxx" - } - } - ] - } - ] -} diff --git a/parser/testdata/00104_totals_having_mode/ast.json b/parser/testdata/00104_totals_having_mode/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/00104_totals_having_mode/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00105_shard_collations/ast.json b/parser/testdata/00105_shard_collations/ast.json deleted file mode 100644 index 3a8ed9b390..0000000000 --- a/parser/testdata/00105_shard_collations/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Русский (default)" - } - ] - } - ] -} diff --git a/parser/testdata/00106_totals_after_having/ast.json b/parser/testdata/00106_totals_after_having/ast.json deleted file mode 100644 index f56aac04ed..0000000000 --- a/parser/testdata/00106_totals_after_having/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_group_by", - "value": { - "type": "Integer", - "value": 100000 - } - } - ] -} diff --git a/parser/testdata/00107_totals_after_having/ast.json b/parser/testdata/00107_totals_after_having/ast.json deleted file mode 100644 index 359f4fd6a3..0000000000 --- a/parser/testdata/00107_totals_after_having/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "*** In-memory aggregation." - } - ] - } - ] -} diff --git a/parser/testdata/00108_shard_totals_after_having/ast.json b/parser/testdata/00108_shard_totals_after_having/ast.json deleted file mode 100644 index f56aac04ed..0000000000 --- a/parser/testdata/00108_shard_totals_after_having/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_group_by", - "value": { - "type": "Integer", - "value": 100000 - } - } - ] -} diff --git a/parser/testdata/00109_shard_totals_after_having/ast.json b/parser/testdata/00109_shard_totals_after_having/ast.json deleted file mode 100644 index f56aac04ed..0000000000 --- a/parser/testdata/00109_shard_totals_after_having/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_group_by", - "value": { - "type": "Integer", - "value": 100000 - } - } - ] -} diff --git a/parser/testdata/00110_external_sort/ast.json b/parser/testdata/00110_external_sort/ast.json deleted file mode 100644 index 0a398fe254..0000000000 --- a/parser/testdata/00110_external_sort/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_ratio_before_external_sort", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00111_shard_external_sort_distributed/ast.json b/parser/testdata/00111_shard_external_sort_distributed/ast.json deleted file mode 100644 index 8af31aa077..0000000000 --- a/parser/testdata/00111_shard_external_sort_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 150000000 - } - } - ] -} diff --git a/parser/testdata/00112_shard_totals_after_having/ast.json b/parser/testdata/00112_shard_totals_after_having/ast.json deleted file mode 100644 index 72f7a0a305..0000000000 --- a/parser/testdata/00112_shard_totals_after_having/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "totals_mode", - "value": { - "type": "String", - "value": "after_having_auto" - } - } - ] -} diff --git a/parser/testdata/00113_shard_group_array/ast.json b/parser/testdata/00113_shard_group_array/ast.json deleted file mode 100644 index 19ccd92922..0000000000 --- a/parser/testdata/00113_shard_group_array/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 100 - } - ], - "alias": "k" - }, - { - "name": "length", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00114_float_type_result_of_division/ast.json b/parser/testdata/00114_float_type_result_of_division/ast.json deleted file mode 100644 index c0ed5265a0..0000000000 --- a/parser/testdata/00114_float_type_result_of_division/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "/", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - } - ] -} diff --git a/parser/testdata/00116_storage_set/ast.json b/parser/testdata/00116_storage_set/ast.json deleted file mode 100644 index 9c2f169222..0000000000 --- a/parser/testdata/00116_storage_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set", - "tables": [ - { - "table": "set" - } - ] -} diff --git a/parser/testdata/00117_parsing_arrays/ast.json b/parser/testdata/00117_parsing_arrays/ast.json deleted file mode 100644 index 026a6ca4a8..0000000000 --- a/parser/testdata/00117_parsing_arrays/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_00117", - "tables": [ - { - "table": "null_00117" - } - ] -} diff --git a/parser/testdata/00118_storage_join/ast.json b/parser/testdata/00118_storage_join/ast.json deleted file mode 100644 index 3e13596f87..0000000000 --- a/parser/testdata/00118_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t2", - "tables": [ - { - "table": "t2" - } - ] -} diff --git a/parser/testdata/00119_storage_join/ast.json b/parser/testdata/00119_storage_join/ast.json deleted file mode 100644 index 3e13596f87..0000000000 --- a/parser/testdata/00119_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t2", - "tables": [ - { - "table": "t2" - } - ] -} diff --git a/parser/testdata/00120_join_and_group_by/ast.json b/parser/testdata/00120_join_and_group_by/ast.json deleted file mode 100644 index 69947277b7..0000000000 --- a/parser/testdata/00120_join_and_group_by/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "value" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - }, - { - "parts": [ - "dummy" - ], - "alias": "value" - } - ] - } - ] - } - }, - "alias": "js2" - }, - "join": { - "type": "LEFT", - "strictness": "ANY", - "using": [ - { - "parts": [ - "dummy" - ] - } - ] - } - } - ] - }, - "group_by": [ - { - "parts": [ - "value" - ] - } - ] - } - ] -} diff --git a/parser/testdata/00121_drop_column_zookeeper/ast.json b/parser/testdata/00121_drop_column_zookeeper/ast.json deleted file mode 100644 index cbf6d79505..0000000000 --- a/parser/testdata/00121_drop_column_zookeeper/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "alter_00121", - "tables": [ - { - "table": "alter_00121" - } - ], - "sync": true -} diff --git a/parser/testdata/00122_join_with_subquery_with_subquery/ast.json b/parser/testdata/00122_join_with_subquery_with_subquery/ast.json deleted file mode 100644 index f92c866dcf..0000000000 --- a/parser/testdata/00122_join_with_subquery_with_subquery/ast.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] - } - }, - "alias": "js1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "k" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - }, - "alias": "js2" - }, - "join": { - "type": "LEFT", - "strictness": "ANY", - "using": [ - { - "parts": [ - "k" - ] - } - ] - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/ast.json b/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/ast.json deleted file mode 100644 index a6019873a8..0000000000 --- a/parser/testdata/00123_shard_unmerged_result_when_max_distributed_connections_is_one/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_distributed_connections", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00124_shard_distributed_with_many_replicas/ast.json b/parser/testdata/00124_shard_distributed_with_many_replicas/ast.json deleted file mode 100644 index 956e503a99..0000000000 --- a/parser/testdata/00124_shard_distributed_with_many_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00125_array_element_of_array_of_tuple/ast.json b/parser/testdata/00125_array_element_of_array_of_tuple/ast.json deleted file mode 100644 index 88dca8aa10..0000000000 --- a/parser/testdata/00125_array_element_of_array_of_tuple/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "a" - ] - } - ], - "alias": "b" - }, - { - "array": { - "parts": [ - "b" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "alias": "a" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00126_buffer/ast.json b/parser/testdata/00126_buffer/ast.json deleted file mode 100644 index 8e9eb89b63..0000000000 --- a/parser/testdata/00126_buffer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "buffer_00126", - "tables": [ - { - "table": "buffer_00126" - } - ] -} diff --git a/parser/testdata/00127_group_by_concat/ast.json b/parser/testdata/00127_group_by_concat/ast.json deleted file mode 100644 index 7106539438..0000000000 --- a/parser/testdata/00127_group_by_concat/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "" - } - ], - "alias": "k1" - }, - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 123 - } - }, - "alias": "k2" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - }, - { - "parts": [ - "k2" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k1" - ] - } - }, - { - "expression": { - "parts": [ - "k2" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00128_group_by_number_and_fixed_string/ast.json b/parser/testdata/00128_group_by_number_and_fixed_string/ast.json deleted file mode 100644 index d6517b4394..0000000000 --- a/parser/testdata/00128_group_by_number_and_fixed_string/ast.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "n" - ] - }, - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "n" - }, - { - "name": "toFixedString", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": " " - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ], - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "n" - ] - }, - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "n" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "k" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00129_quantile_timing_weighted/ast.json b/parser/testdata/00129_quantile_timing_weighted/ast.json deleted file mode 100644 index 1b9e9cb160..0000000000 --- a/parser/testdata/00129_quantile_timing_weighted/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "medianTiming", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - }, - { - "name": "medianTimingWeighted", - "arguments": [ - { - "parts": [ - "t" - ] - }, - { - "parts": [ - "w" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "t" - }, - { - "expr": { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 77 - } - }, - "then": { - "type": "Integer", - "value": 10 - }, - "else": { - "type": "Integer", - "value": 1 - } - }, - "alias": "w" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/ast.json b/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/ast.json deleted file mode 100644 index 5809e2749d..0000000000 --- a/parser/testdata/00134_aggregation_by_fixed_string_of_size_1_2_4_8/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "x" - ] - } - ] - } - ] -} diff --git a/parser/testdata/00135_duplicate_group_by_keys_segfault/ast.json b/parser/testdata/00135_duplicate_group_by_keys_segfault/ast.json deleted file mode 100644 index d5478976b9..0000000000 --- a/parser/testdata/00135_duplicate_group_by_keys_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 1000000 - } - } - ] -} diff --git a/parser/testdata/00136_duplicate_order_by_elems/ast.json b/parser/testdata/00136_duplicate_order_by_elems/ast.json deleted file mode 100644 index 515d72c6fd..0000000000 --- a/parser/testdata/00136_duplicate_order_by_elems/ast.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "n" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "n" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - }, - { - "expression": { - "parts": [ - "n" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "offset": { - "type": "Integer", - "value": 1000000 - } - } - ] -} diff --git a/parser/testdata/00137_in_constants/ast.json b/parser/testdata/00137_in_constants/ast.json deleted file mode 100644 index 1d51fc87d2..0000000000 --- a/parser/testdata/00137_in_constants/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00138_table_aliases/ast.json b/parser/testdata/00138_table_aliases/ast.json deleted file mode 100644 index e00dec54a8..0000000000 --- a/parser/testdata/00138_table_aliases/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - }, - "alias": "xxx" - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00140_parse_unix_timestamp_as_datetime/ast.json b/parser/testdata/00140_parse_unix_timestamp_as_datetime/ast.json deleted file mode 100644 index 626941fc1a..0000000000 --- a/parser/testdata/00140_parse_unix_timestamp_as_datetime/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "min", - "arguments": [ - { - "left": { - "parts": [ - "ts" - ] - }, - "op": "=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "ts" - ] - } - ] - } - ] - } - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "type": "Integer", - "value": 1000000000 - }, - "op": "+", - "right": { - "left": { - "type": "Integer", - "value": 1234 - }, - "op": "*", - "right": { - "parts": [ - "number" - ] - } - } - }, - "alias": "ts" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00140_prewhere_column_order/ast.json b/parser/testdata/00140_prewhere_column_order/ast.json deleted file mode 100644 index c47292d4dc..0000000000 --- a/parser/testdata/00140_prewhere_column_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere", - "tables": [ - { - "table": "prewhere" - } - ] -} diff --git a/parser/testdata/00140_rename/ast.json b/parser/testdata/00140_rename/ast.json deleted file mode 100644 index 05ed9119da..0000000000 --- a/parser/testdata/00140_rename/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "pairs": [ - { - "from_database": "test", - "from_table": "hits", - "to_database": "test", - "to_table": "visits_tmp" - }, - { - "from_database": "test", - "from_table": "visits", - "to_database": "test", - "to_table": "hits" - }, - { - "from_database": "test", - "from_table": "visits_tmp", - "to_database": "test", - "to_table": "visits" - } - ], - "from": "test.hits", - "to": "test.visits_tmp" -} diff --git a/parser/testdata/00141_parse_timestamp_as_datetime/ast.json b/parser/testdata/00141_parse_timestamp_as_datetime/ast.json deleted file mode 100644 index 9c1192c826..0000000000 --- a/parser/testdata/00141_parse_timestamp_as_datetime/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "default", - "tables": [ - { - "table": "default" - } - ] -} diff --git a/parser/testdata/00141_transform/ast.json b/parser/testdata/00141_transform/ast.json deleted file mode 100644 index 4232630e5c..0000000000 --- a/parser/testdata/00141_transform/ast.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "SearchEngineID" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Яндекс" - }, - { - "type": "String", - "value": "Google" - } - ] - }, - { - "type": "String", - "value": "Остальные" - } - ], - "alias": "title" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "group_by": [ - { - "parts": [ - "title" - ] - } - ], - "having": { - "left": { - "parts": [ - "c" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00142_parse_timestamp_as_datetime/ast.json b/parser/testdata/00142_parse_timestamp_as_datetime/ast.json deleted file mode 100644 index 626941fc1a..0000000000 --- a/parser/testdata/00142_parse_timestamp_as_datetime/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "min", - "arguments": [ - { - "left": { - "parts": [ - "ts" - ] - }, - "op": "=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "ts" - ] - } - ] - } - ] - } - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "type": "Integer", - "value": 1000000000 - }, - "op": "+", - "right": { - "left": { - "type": "Integer", - "value": 1234 - }, - "op": "*", - "right": { - "parts": [ - "number" - ] - } - } - }, - "alias": "ts" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00142_system_columns/ast.json b/parser/testdata/00142_system_columns/ast.json deleted file mode 100644 index 321e1dc1e4..0000000000 --- a/parser/testdata/00142_system_columns/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "table" - ] - }, - { - "parts": [ - "name" - ] - }, - { - "parts": [ - "type" - ] - }, - { - "parts": [ - "default_kind" - ] - }, - { - "parts": [ - "default_expression" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "columns" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "test" - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "table" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "hits" - } - } - } - } - ] -} diff --git a/parser/testdata/00143_number_classification_functions/ast.json b/parser/testdata/00143_number_classification_functions/ast.json deleted file mode 100644 index 004acabda0..0000000000 --- a/parser/testdata/00143_number_classification_functions/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "isFinite", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00143_transform_non_const_default/ast.json b/parser/testdata/00143_transform_non_const_default/ast.json deleted file mode 100644 index 4f63f537f7..0000000000 --- a/parser/testdata/00143_transform_non_const_default/ast.json +++ /dev/null @@ -1,111 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "SearchEngineID" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Яндекс" - }, - { - "type": "String", - "value": "Google" - } - ] - }, - { - "parts": [ - "PageCharset" - ] - } - ], - "alias": "title" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "SearchEngineID" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "group_by": [ - { - "parts": [ - "title" - ] - } - ], - "having": { - "left": { - "parts": [ - "c" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00144_empty_regexp/ast.json b/parser/testdata/00144_empty_regexp/ast.json deleted file mode 100644 index 3a8749b43b..0000000000 --- a/parser/testdata/00144_empty_regexp/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "Hello" - } - ] - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00144_functions_of_aggregation_states/ast.json b/parser/testdata/00144_functions_of_aggregation_states/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/00144_functions_of_aggregation_states/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00145_aggregate_functions_statistics/ast.json b/parser/testdata/00145_aggregate_functions_statistics/ast.json deleted file mode 100644 index 0ed01cb6db..0000000000 --- a/parser/testdata/00145_aggregate_functions_statistics/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "varSamp", - "arguments": [ - { - "parts": [ - "ResolutionWidth" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "ResolutionWidth" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00145_empty_likes/ast.json b/parser/testdata/00145_empty_likes/ast.json deleted file mode 100644 index 248527428a..0000000000 --- a/parser/testdata/00145_empty_likes/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "Hello" - } - ] - }, - "pattern": { - "type": "String", - "value": "" - } - } - ] - } - ] -} diff --git a/parser/testdata/00146_aggregate_function_uniq/ast.json b/parser/testdata/00146_aggregate_function_uniq/ast.json deleted file mode 100644 index 06c3126af6..0000000000 --- a/parser/testdata/00146_aggregate_function_uniq/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "RegionID" - ] - }, - { - "name": "uniqHLL12", - "arguments": [ - { - "parts": [ - "WatchID" - ] - } - ], - "alias": "X" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "test" - ] - }, - { - "parts": [ - "hits" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "RegionID" - ] - } - ], - "having": { - "left": { - "parts": [ - "X" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 100000 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "RegionID" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00146_summing_merge_tree_nested_map/ast.json b/parser/testdata/00146_summing_merge_tree_nested_map/ast.json deleted file mode 100644 index 8852d9c5b0..0000000000 --- a/parser/testdata/00146_summing_merge_tree_nested_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_map", - "tables": [ - { - "table": "nested_map" - } - ] -} diff --git a/parser/testdata/00147_alter_nested_default/ast.json b/parser/testdata/00147_alter_nested_default/ast.json deleted file mode 100644 index 31ea66c5bf..0000000000 --- a/parser/testdata/00147_alter_nested_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_00147", - "tables": [ - { - "table": "alter_00147" - } - ] -} diff --git a/parser/testdata/00147_global_in_aggregate_function/ast.json b/parser/testdata/00147_global_in_aggregate_function/ast.json deleted file mode 100644 index 0b20f3576b..0000000000 --- a/parser/testdata/00147_global_in_aggregate_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 100000000 - } - } - ] -} diff --git a/parser/testdata/00148_monotonic_functions_and_index/ast.json b/parser/testdata/00148_monotonic_functions_and_index/ast.json deleted file mode 100644 index 09abc4959f..0000000000 --- a/parser/testdata/00148_monotonic_functions_and_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 60000 - } - } - ] -} diff --git a/parser/testdata/00148_summing_merge_tree_aggregate_function/ast.json b/parser/testdata/00148_summing_merge_tree_aggregate_function/ast.json deleted file mode 100644 index dfab46ab9b..0000000000 --- a/parser/testdata/00148_summing_merge_tree_aggregate_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_merge_tree_aggregate_function", - "tables": [ - { - "table": "summing_merge_tree_aggregate_function" - } - ] -} diff --git a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/ast.json b/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/ast.json deleted file mode 100644 index 80c59623f2..0000000000 --- a/parser/testdata/00148_summing_merge_tree_nested_map_multiple_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_map_multiple_values", - "tables": [ - { - "table": "nested_map_multiple_values" - } - ] -} diff --git a/parser/testdata/00149_function_url_hash/ast.json b/parser/testdata/00149_function_url_hash/ast.json deleted file mode 100644 index f000a56a97..0000000000 --- a/parser/testdata/00149_function_url_hash/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "URLHash", - "arguments": [ - { - "expr": { - "type": "String", - "value": "" - }, - "alias": "url" - } - ] - }, - "op": "=", - "right": { - "name": "URLHash", - "arguments": [ - { - "name": "appendTrailingCharIfAbsent", - "arguments": [ - { - "parts": [ - "url" - ] - }, - { - "type": "String", - "value": "/" - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00149_quantiles_timing_distributed/ast.json b/parser/testdata/00149_quantiles_timing_distributed/ast.json deleted file mode 100644 index 0b20f3576b..0000000000 --- a/parser/testdata/00149_quantiles_timing_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 100000000 - } - } - ] -} diff --git a/parser/testdata/00150_quantiles_timing_precision/ast.json b/parser/testdata/00150_quantiles_timing_precision/ast.json deleted file mode 100644 index 4238a3344b..0000000000 --- a/parser/testdata/00150_quantiles_timing_precision/ast.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ] - }, - { - "name": "quantileTiming", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "SendTiming" - ] - } - ], - "alias": "qt" - }, - { - "name": "least", - "arguments": [ - { - "type": "Integer", - "value": 30000 - }, - { - "name": "quantileExact", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "SendTiming" - ] - } - ] - } - ], - "alias": "qe" - }, - { - "name": "count", - "alias": "c" - }, - { - "name": "round", - "arguments": [ - { - "expr": { - "left": { - "name": "abs", - "arguments": [ - { - "left": { - "parts": [ - "qt" - ] - }, - "op": "-", - "right": { - "parts": [ - "qe" - ] - } - } - ] - }, - "op": "/", - "right": { - "name": "greatest", - "arguments": [ - { - "parts": [ - "qt" - ] - }, - { - "parts": [ - "qe" - ] - } - ] - } - }, - "alias": "diff" - }, - { - "type": "Integer", - "value": 3 - } - ], - "alias": "rounded_diff" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "SendTiming" - ] - }, - "op": "!=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - "group_by": [ - { - "parts": [ - "CounterID" - ] - } - ], - "having": { - "left": { - "parts": [ - "diff" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "diff" - ] - }, - "descending": true - } - ] - } - ] -} diff --git a/parser/testdata/00150_with_totals_and_join/ast.json b/parser/testdata/00150_with_totals_and_join/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00150_with_totals_and_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00151_order_by_read_in_order/ast.json b/parser/testdata/00151_order_by_read_in_order/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/00151_order_by_read_in_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00151_tuple_with_array/ast.json b/parser/testdata/00151_tuple_with_array/ast.json deleted file mode 100644 index 19f7c5bec7..0000000000 --- a/parser/testdata/00151_tuple_with_array/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00152_insert_different_granularity/ast.json b/parser/testdata/00152_insert_different_granularity/ast.json deleted file mode 100644 index 888958e1b4..0000000000 --- a/parser/testdata/00152_insert_different_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fixed_granularity_table", - "tables": [ - { - "table": "fixed_granularity_table" - } - ] -} diff --git a/parser/testdata/00152_totals_in_subquery/ast.json b/parser/testdata/00152_totals_in_subquery/ast.json deleted file mode 100644 index 2667769a8f..0000000000 --- a/parser/testdata/00152_totals_in_subquery/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "dummy" - ] - } - ] - } - ], - "group_by": [ - { - "parts": [ - "dummy" - ] - } - ], - "with_totals": true - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00153_aggregate_arena_race/ast.json b/parser/testdata/00153_aggregate_arena_race/ast.json deleted file mode 100644 index 8a3429ed6d..0000000000 --- a/parser/testdata/00153_aggregate_arena_race/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dest00153", - "tables": [ - { - "table": "dest00153" - } - ] -} diff --git a/parser/testdata/00153_transform/ast.json b/parser/testdata/00153_transform/ast.json deleted file mode 100644 index 6a68ffdfb2..0000000000 --- a/parser/testdata/00153_transform/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 111 - }, - { - "type": "Integer", - "value": 222 - }, - { - "type": "Integer", - "value": 333 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00154_avro/ast.json b/parser/testdata/00154_avro/ast.json deleted file mode 100644 index 5e8983f657..0000000000 --- a/parser/testdata/00154_avro/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "avro", - "tables": [ - { - "table": "avro" - } - ] -} diff --git a/parser/testdata/00154_shard_distributed_with_distinct/ast.json b/parser/testdata/00154_shard_distributed_with_distinct/ast.json deleted file mode 100644 index 6f430c2c7a..0000000000 --- a/parser/testdata/00154_shard_distributed_with_distinct/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system", - "numbers" - ] - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00156_array_map_to_constant/ast.json b/parser/testdata/00156_array_map_to_constant/ast.json deleted file mode 100644 index 5c4d51e989..0000000000 --- a/parser/testdata/00156_array_map_to_constant/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "expr": { - "type": "Integer", - "value": 123 - }, - "alias": "y" - } - ] - } - ] -} diff --git a/parser/testdata/00156_max_execution_speed_sample_merge/ast.json b/parser/testdata/00156_max_execution_speed_sample_merge/ast.json deleted file mode 100644 index 884f0b3c0f..0000000000 --- a/parser/testdata/00156_max_execution_speed_sample_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_execution_speed", - "value": { - "type": "Integer", - "value": 8000000 - } - } - ] -} diff --git a/parser/testdata/00157_aliases_and_lambda_formal_parameters/ast.json b/parser/testdata/00157_aliases_and_lambda_formal_parameters/ast.json deleted file mode 100644 index 1d4ec84f89..0000000000 --- a/parser/testdata/00157_aliases_and_lambda_formal_parameters/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "expr": { - "type": "Integer", - "value": 123 - }, - "alias": "x" - }, - { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00157_cache_dictionary/ast.json b/parser/testdata/00157_cache_dictionary/ast.json deleted file mode 100644 index aff3770abc..0000000000 --- a/parser/testdata/00157_cache_dictionary/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "if_exists": true, - "database": "test", - "table": "hits_1m", - "tables": [ - { - "database": "test", - "table": "hits_1m" - } - ] -} diff --git a/parser/testdata/00158_cache_dictionary_has/ast.json b/parser/testdata/00158_cache_dictionary_has/ast.json deleted file mode 100644 index 4d46663417..0000000000 --- a/parser/testdata/00158_cache_dictionary_has/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cache_hits", - "tables": [ - { - "table": "cache_hits" - } - ] -} diff --git a/parser/testdata/00159_whitespace_in_columns_list/ast.json b/parser/testdata/00159_whitespace_in_columns_list/ast.json deleted file mode 100644 index 0d85fdfc25..0000000000 --- a/parser/testdata/00159_whitespace_in_columns_list/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "memory", - "tables": [ - { - "table": "memory" - } - ] -} diff --git a/parser/testdata/00160_merge_and_index_in_in/ast.json b/parser/testdata/00160_merge_and_index_in_in/ast.json deleted file mode 100644 index a28eca8d23..0000000000 --- a/parser/testdata/00160_merge_and_index_in_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt_00160", - "tables": [ - { - "table": "mt_00160" - } - ] -} diff --git a/parser/testdata/00161_rounding_functions/ast.json b/parser/testdata/00161_rounding_functions/ast.json deleted file mode 100644 index 07189f7394..0000000000 --- a/parser/testdata/00161_rounding_functions/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt8", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "roundBankers", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "floor", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "ceil", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "trunc", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/00162_mmap_compression_none/ast.json b/parser/testdata/00162_mmap_compression_none/ast.json deleted file mode 100644 index 529ba0b2da..0000000000 --- a/parser/testdata/00162_mmap_compression_none/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hits_none", - "tables": [ - { - "table": "hits_none" - } - ] -} diff --git a/parser/testdata/00163_shard_join_with_empty_table/ast.json b/parser/testdata/00163_shard_join_with_empty_table/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00163_shard_join_with_empty_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00164_not_chain/ast.json b/parser/testdata/00164_not_chain/ast.json deleted file mode 100644 index aaa927b6a4..0000000000 --- a/parser/testdata/00164_not_chain/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "NOT", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00164_quantileBfloat16/ast.json b/parser/testdata/00164_quantileBfloat16/ast.json deleted file mode 100644 index 6f569677eb..0000000000 --- a/parser/testdata/00164_quantileBfloat16/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ], - "alias": "k" - }, - { - "name": "quantileBFloat16", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "ResolutionWidth" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - }, - "descending": true - }, - { - "expression": { - "parts": [ - "CounterID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00165_jit_aggregate_functions/ast.json b/parser/testdata/00165_jit_aggregate_functions/ast.json deleted file mode 100644 index 37157a9426..0000000000 --- a/parser/testdata/00165_jit_aggregate_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "min_count_to_compile_aggregate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00165_transform_non_const_default/ast.json b/parser/testdata/00165_transform_non_const_default/ast.json deleted file mode 100644 index f4d48e988d..0000000000 --- a/parser/testdata/00165_transform_non_const_default/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 111 - }, - { - "type": "Integer", - "value": 222 - }, - { - "type": "Integer", - "value": 333 - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 9999 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00166_explain_estimate/ast.json b/parser/testdata/00166_explain_estimate/ast.json deleted file mode 100644 index 1afbd85315..0000000000 --- a/parser/testdata/00166_explain_estimate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_use_implicit_projections", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00166_functions_of_aggregation_states/ast.json b/parser/testdata/00166_functions_of_aggregation_states/ast.json deleted file mode 100644 index 5dd0e1cc44..0000000000 --- a/parser/testdata/00166_functions_of_aggregation_states/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00167_read_bytes_from_fs/ast.json b/parser/testdata/00167_read_bytes_from_fs/ast.json deleted file mode 100644 index c803f8b99f..0000000000 --- a/parser/testdata/00167_read_bytes_from_fs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "10G" - } - } - ] -} diff --git a/parser/testdata/00167_settings_inside_query/ast.json b/parser/testdata/00167_settings_inside_query/ast.json deleted file mode 100644 index 712b9061c6..0000000000 --- a/parser/testdata/00167_settings_inside_query/ast.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "min", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "expr": { - "name": "toUInt64", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 1000 - } - } - ] - }, - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "blockSize" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 123 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 1000 - } - }, - { - "name": "read_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - } - ] - } - ] - } - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 1000000 - } - }, - { - "name": "read_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - } - ] - } - ] -} diff --git a/parser/testdata/00168_buffer_defaults/ast.json b/parser/testdata/00168_buffer_defaults/ast.json deleted file mode 100644 index b284201301..0000000000 --- a/parser/testdata/00168_buffer_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt_00168", - "tables": [ - { - "table": "mt_00168" - } - ] -} diff --git a/parser/testdata/00170_lower_upper_utf8/ast.json b/parser/testdata/00170_lower_upper_utf8/ast.json deleted file mode 100644 index 642ce6aa1f..0000000000 --- a/parser/testdata/00170_lower_upper_utf8/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "lower", - "arguments": [ - { - "expr": { - "type": "String", - "value": "aaaaaaaaaaaaaaa012345789,.!aaaa" - }, - "alias": "str" - } - ] - }, - "op": "=", - "right": { - "parts": [ - "str" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00170_s3_cache/ast.json b/parser/testdata/00170_s3_cache/ast.json deleted file mode 100644 index 8afe5a73f5..0000000000 --- a/parser/testdata/00170_s3_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_prefetched_read_pool_for_remote_filesystem", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00171_grouping_aggregated_transform_bug/ast.json b/parser/testdata/00171_grouping_aggregated_transform_bug/ast.json deleted file mode 100644 index 3b3f999e4e..0000000000 --- a/parser/testdata/00171_grouping_aggregated_transform_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "100M" - } - } - ] -} diff --git a/parser/testdata/00171_shard_array_of_tuple_remote/ast.json b/parser/testdata/00171_shard_array_of_tuple_remote/ast.json deleted file mode 100644 index a1ecd540f8..0000000000 --- a/parser/testdata/00171_shard_array_of_tuple_remote/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x", - "y" - ], - "body": { - "type": "Tuple", - "value": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "name": "rand" - } - } - ] - } - ] -} diff --git a/parser/testdata/00172_early_constant_folding/ast.json b/parser/testdata/00172_early_constant_folding/ast.json deleted file mode 100644 index e18d6c0c33..0000000000 --- a/parser/testdata/00172_early_constant_folding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00173_compare_date_time_with_constant_string/ast.json b/parser/testdata/00173_compare_date_time_with_constant_string/ast.json deleted file mode 100644 index cada524577..0000000000 --- a/parser/testdata/00173_compare_date_time_with_constant_string/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2015-02-03" - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "2015-02-03" - } - } - ] - } - ] -} diff --git a/parser/testdata/00174_distinct_in_order/ast.json b/parser/testdata/00174_distinct_in_order/ast.json deleted file mode 100644 index b13676db45..0000000000 --- a/parser/testdata/00174_distinct_in_order/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- check that distinct with and w/o optimization produce the same result" - } - ] - } - ] -} diff --git a/parser/testdata/00175_counting_resources_in_subqueries/ast.json b/parser/testdata/00175_counting_resources_in_subqueries/ast.json deleted file mode 100644 index 1afbd85315..0000000000 --- a/parser/testdata/00175_counting_resources_in_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_use_implicit_projections", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00175_if_num_arrays/ast.json b/parser/testdata/00175_if_num_arrays/ast.json deleted file mode 100644 index 35aeeaf4eb..0000000000 --- a/parser/testdata/00175_if_num_arrays/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "else": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - }, - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - }, - "format": { - "parts": [ - "TabSeparatedWithNamesAndTypes" - ] - } - } - ] -} diff --git a/parser/testdata/00175_partition_by_ignore/ast.json b/parser/testdata/00175_partition_by_ignore/ast.json deleted file mode 100644 index 75f1ae1e1d..0000000000 --- a/parser/testdata/00175_partition_by_ignore/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- check that partition key with ignore works correctly" - } - ] - } - ] -} diff --git a/parser/testdata/00176_distinct_limit_by_limit_bug_43377/ast.json b/parser/testdata/00176_distinct_limit_by_limit_bug_43377/ast.json deleted file mode 100644 index 73613a267f..0000000000 --- a/parser/testdata/00176_distinct_limit_by_limit_bug_43377/ast.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "Title" - ] - }, - { - "parts": [ - "SearchPhrase" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "parts": [ - "SearchPhrase" - ] - }, - "op": "!=", - "right": { - "type": "String", - "value": "" - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "name": "match", - "arguments": [ - { - "parts": [ - "Title" - ] - }, - { - "type": "String", - "value": "[а-яА-ЯёЁ]" - } - ] - } - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "name": "match", - "arguments": [ - { - "parts": [ - "SearchPhrase" - ] - }, - { - "type": "String", - "value": "[а-яА-ЯёЁ]" - } - ] - } - } - }, - "limit": { - "type": "Integer", - "value": 10 - }, - "limit_by": [ - { - "parts": [ - "Title" - ] - } - ], - "limit_by_has_limit": true - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00176_if_string_arrays/ast.json b/parser/testdata/00176_if_string_arrays/ast.json deleted file mode 100644 index 32a057aecb..0000000000 --- a/parser/testdata/00176_if_string_arrays/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "World" - } - ] - }, - "else": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "abc" - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00178_quantile_ddsketch/ast.json b/parser/testdata/00178_quantile_ddsketch/ast.json deleted file mode 100644 index 9fd9377869..0000000000 --- a/parser/testdata/00178_quantile_ddsketch/ast.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "CounterID" - ], - "alias": "k" - }, - { - "name": "round", - "arguments": [ - { - "name": "quantileDD", - "parameters": [ - { - "type": "Float", - "value": 0.01 - }, - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "ResolutionWidth" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "name": "count" - }, - "descending": true - }, - { - "expression": { - "parts": [ - "CounterID" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00178_query_datetime64_index/ast.json b/parser/testdata/00178_query_datetime64_index/ast.json deleted file mode 100644 index d5c1078fc8..0000000000 --- a/parser/testdata/00178_query_datetime64_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "datetime64_index_tbl", - "tables": [ - { - "table": "datetime64_index_tbl" - } - ] -} diff --git a/parser/testdata/00179_lambdas_with_common_expressions_and_filter/ast.json b/parser/testdata/00179_lambdas_with_common_expressions_and_filter/ast.json deleted file mode 100644 index 9c6294caa6..0000000000 --- a/parser/testdata/00179_lambdas_with_common_expressions_and_filter/ast.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "!=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - "then": { - "parts": [ - "x" - ] - }, - "else": { - "type": "Integer", - "value": 0 - } - } - }, - { - "parts": [ - "arr" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "op": "AND", - "right": { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "number" - ] - }, - "op": "!=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - }, - { - "parts": [ - "arr" - ] - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00180_attach_materialized_view/ast.json b/parser/testdata/00180_attach_materialized_view/ast.json deleted file mode 100644 index baa8bc361b..0000000000 --- a/parser/testdata/00180_attach_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00180", - "tables": [ - { - "table": "t_00180" - } - ] -} diff --git a/parser/testdata/00181_aggregate_functions_statistics/ast.json b/parser/testdata/00181_aggregate_functions_statistics/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00181_aggregate_functions_statistics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00181_aggregate_functions_statistics_stable/ast.json b/parser/testdata/00181_aggregate_functions_statistics_stable/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00181_aggregate_functions_statistics_stable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00181_cross_join_compression/ast.json b/parser/testdata/00181_cross_join_compression/ast.json deleted file mode 100644 index d9327c3eda..0000000000 --- a/parser/testdata/00181_cross_join_compression/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "view": "unit", - "as_select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } -} diff --git a/parser/testdata/00182_functions_higher_order_and_consts/ast.json b/parser/testdata/00182_functions_higher_order_and_consts/ast.json deleted file mode 100644 index 1c64698e93..0000000000 --- a/parser/testdata/00182_functions_higher_order_and_consts/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "---map--" - } - ] - } - ] -} diff --git a/parser/testdata/00182_simple_squashing_transform_bug/ast.json b/parser/testdata/00182_simple_squashing_transform_bug/ast.json deleted file mode 100644 index e547c9f131..0000000000 --- a/parser/testdata/00182_simple_squashing_transform_bug/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "settings": [ - { - "name": "allow_prefetched_read_pool_for_remote_filesystem", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 2 - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65387 - } - } - ] -} diff --git a/parser/testdata/00183_prewhere_conditions_order/ast.json b/parser/testdata/00183_prewhere_conditions_order/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/00183_prewhere_conditions_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00183_skip_unavailable_shards/ast.json b/parser/testdata/00183_skip_unavailable_shards/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00183_skip_unavailable_shards/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00184_shard_distributed_group_by_no_merge/ast.json b/parser/testdata/00184_shard_distributed_group_by_no_merge/ast.json deleted file mode 100644 index 12292c77db..0000000000 --- a/parser/testdata/00184_shard_distributed_group_by_no_merge/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "distributed_group_by_no_merge=1" - } - ] - } - ] -} diff --git a/parser/testdata/00185_array_literals/ast.json b/parser/testdata/00185_array_literals/ast.json deleted file mode 100644 index baec78cdb5..0000000000 --- a/parser/testdata/00185_array_literals/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00187_like_regexp_prefix/ast.json b/parser/testdata/00187_like_regexp_prefix/ast.json deleted file mode 100644 index f4583f7739..0000000000 --- a/parser/testdata/00187_like_regexp_prefix/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "prepre_f" - } - ] - }, - "pattern": { - "type": "String", - "value": "%pre_f%" - } - } - ] - } - ] -} diff --git a/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/ast.json b/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/ast.json deleted file mode 100644 index c2eda21319..0000000000 --- a/parser/testdata/00188_constants_as_arguments_of_aggregate_functions/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - }, - { - "name": "sum", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "uniq", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00190_non_constant_array_of_constant_data/ast.json b/parser/testdata/00190_non_constant_array_of_constant_data/ast.json deleted file mode 100644 index d8254eadb3..0000000000 --- a/parser/testdata/00190_non_constant_array_of_constant_data/ast.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "notEmpty", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "String", - "value": "hello" - } - ] - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "alias": "elem" - }, - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "concat", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "String", - "value": "hello" - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "" - } - ] - } - ], - "alias": "unused" - } - ] - }, - "where": { - "op": "NOT", - "operand": { - "name": "ignore", - "arguments": [ - { - "parts": [ - "elem" - ] - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00191_aggregating_merge_tree_and_final/ast.json b/parser/testdata/00191_aggregating_merge_tree_and_final/ast.json deleted file mode 100644 index f94eba77ce..0000000000 --- a/parser/testdata/00191_aggregating_merge_tree_and_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "aggregating_00191", - "tables": [ - { - "table": "aggregating_00191" - } - ] -} diff --git a/parser/testdata/00192_least_greatest/ast.json b/parser/testdata/00192_least_greatest/ast.json deleted file mode 100644 index d5907c1066..0000000000 --- a/parser/testdata/00192_least_greatest/ast.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "y" - }, - { - "name": "least", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - }, - { - "name": "greatest", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - }, - { - "name": "least", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - }, - { - "name": "greatest", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "parts": [ - "y" - ] - } - ] - }, - { - "name": "greatest", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "least", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00193_parallel_replicas/ast.json b/parser/testdata/00193_parallel_replicas/ast.json deleted file mode 100644 index ef8deb8839..0000000000 --- a/parser/testdata/00193_parallel_replicas/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "parallel_replicas", - "tables": [ - { - "table": "parallel_replicas" - } - ] -} diff --git a/parser/testdata/00194_identity/ast.json b/parser/testdata/00194_identity/ast.json deleted file mode 100644 index 328fbeee3b..0000000000 --- a/parser/testdata/00194_identity/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "identity", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - } - ], - "alias": "b" - }, - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ] -} diff --git a/parser/testdata/00195_shard_union_all_and_global_in/ast.json b/parser/testdata/00195_shard_union_all_and_global_in/ast.json deleted file mode 100644 index 9653ce3f6f..0000000000 --- a/parser/testdata/00195_shard_union_all_and_global_in/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "where": { - "expr": { - "parts": [ - "dummy" - ] - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00196_float32_formatting/ast.json b/parser/testdata/00196_float32_formatting/ast.json deleted file mode 100644 index 295bb515ba..0000000000 --- a/parser/testdata/00196_float32_formatting/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Float", - "value": 21.99 - } - ] - } - ] -} diff --git a/parser/testdata/00197_if_fixed_string/ast.json b/parser/testdata/00197_if_fixed_string/ast.json deleted file mode 100644 index dbae680676..0000000000 --- a/parser/testdata/00197_if_fixed_string/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "else": { - "name": "toString", - "arguments": [ - { - "op": "-", - "operand": { - "parts": [ - "number" - ] - } - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00198_group_by_empty_arrays/ast.json b/parser/testdata/00198_group_by_empty_arrays/ast.json deleted file mode 100644 index 10aa445a08..0000000000 --- a/parser/testdata/00198_group_by_empty_arrays/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "k" - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "parts": [ - "number" - ] - }, - "else": { - "type": "Integer", - "value": 0 - } - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00199_ternary_operator_type_check/ast.json b/parser/testdata/00199_ternary_operator_type_check/ast.json deleted file mode 100644 index 31538f2df0..0000000000 --- a/parser/testdata/00199_ternary_operator_type_check/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "condition": { - "type": "Integer", - "value": 1 - }, - "then": { - "expr": { - "type": "String", - "value": "abc" - }, - "alias": "s" - }, - "else": { - "type": "String", - "value": "def" - } - }, - "op": "=", - "right": { - "parts": [ - "s" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00200_shard_distinct_order_by_limit_distributed/ast.json b/parser/testdata/00200_shard_distinct_order_by_limit_distributed/ast.json deleted file mode 100644 index 546f6a0311..0000000000 --- a/parser/testdata/00200_shard_distinct_order_by_limit_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_memory", - "tables": [ - { - "table": "numbers_memory" - } - ] -} diff --git a/parser/testdata/00201_array_uniq/ast.json b/parser/testdata/00201_array_uniq/ast.json deleted file mode 100644 index 90524597ef..0000000000 --- a/parser/testdata/00201_array_uniq/ast.json +++ /dev/null @@ -1,208 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "length", - "arguments": [ - { - "name": "groupUniqArray", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - }, - { - "name": "arrayUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - }, - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - }, - { - "name": "arrayUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - }, - { - "name": "uniqExact", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "type": "String", - "value": "_" - }, - { - "parts": [ - "y" - ] - } - ] - } - ] - }, - { - "name": "arrayUniq", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "log", - "arguments": [ - { - "name": "intHash32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "alias": "x" - }, - { - "name": "toString", - "arguments": [ - { - "name": "round", - "arguments": [ - { - "name": "cbrt", - "arguments": [ - { - "name": "intHash32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00202_cross_join/ast.json b/parser/testdata/00202_cross_join/ast.json deleted file mode 100644 index 569f1b48dd..0000000000 --- a/parser/testdata/00202_cross_join/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 3 - } - } - ] - } - }, - "alias": "js1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - } - } - ] - } - }, - "alias": "js2" - }, - "join": { - "type": "CROSS" - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - }, - { - "expression": { - "parts": [ - "y" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00203_full_join/ast.json b/parser/testdata/00203_full_join/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00203_full_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00204_extract_url_parameter/ast.json b/parser/testdata/00204_extract_url_parameter/ast.json deleted file mode 100644 index 91f8564ce2..0000000000 --- a/parser/testdata/00204_extract_url_parameter/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractURLParameter", - "arguments": [ - { - "type": "String", - "value": "http://com/?testq=aaa\u0026q=111" - }, - { - "type": "String", - "value": "q" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00205_scalar_subqueries/ast.json b/parser/testdata/00205_scalar_subqueries/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00205_scalar_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00207_left_array_join/ast.json b/parser/testdata/00207_left_array_join/ast.json deleted file mode 100644 index 3bd9f3569c..0000000000 --- a/parser/testdata/00207_left_array_join/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "array_join": { - "left": true, - "columns": [ - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "arr" - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00208_agg_state_merge/ast.json b/parser/testdata/00208_agg_state_merge/ast.json deleted file mode 100644 index a5fe74cd45..0000000000 --- a/parser/testdata/00208_agg_state_merge/ast.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "k" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 7 - } - }, - "alias": "k2" - }, - { - "name": "finalizeAggregation", - "arguments": [ - { - "name": "uniqMergeState", - "arguments": [ - { - "parts": [ - "state" - ] - } - ] - } - ] - }, - { - "name": "uniqMerge", - "arguments": [ - { - "parts": [ - "state" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "uniqState", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "state" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 11 - } - }, - "alias": "k" - }, - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 7 - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k2" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k2" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00209_insert_select_extremes/ast.json b/parser/testdata/00209_insert_select_extremes/ast.json deleted file mode 100644 index 6226d72c50..0000000000 --- a/parser/testdata/00209_insert_select_extremes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00209", - "tables": [ - { - "table": "test_00209" - } - ] -} diff --git a/parser/testdata/00212_long_shard_aggregate_function_uniq/ast.json b/parser/testdata/00212_long_shard_aggregate_function_uniq/ast.json deleted file mode 100644 index db7f9f7cd1..0000000000 --- a/parser/testdata/00212_long_shard_aggregate_function_uniq/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "uniqHLL12" - } - ] - } - ] -} diff --git a/parser/testdata/00213_multiple_global_in/ast.json b/parser/testdata/00213_multiple_global_in/ast.json deleted file mode 100644 index 295a316c20..0000000000 --- a/parser/testdata/00213_multiple_global_in/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "localhost" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00214_primary_key_order/ast.json b/parser/testdata/00214_primary_key_order/ast.json deleted file mode 100644 index 5d9a14e4f3..0000000000 --- a/parser/testdata/00214_primary_key_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "primary_key", - "tables": [ - { - "table": "primary_key" - } - ] -} diff --git a/parser/testdata/00215_primary_key_order_zookeeper_long/ast.json b/parser/testdata/00215_primary_key_order_zookeeper_long/ast.json deleted file mode 100644 index 5d9a14e4f3..0000000000 --- a/parser/testdata/00215_primary_key_order_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "primary_key", - "tables": [ - { - "table": "primary_key" - } - ] -} diff --git a/parser/testdata/00217_shard_global_subquery_columns_with_same_name/ast.json b/parser/testdata/00217_shard_global_subquery_columns_with_same_name/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00217_shard_global_subquery_columns_with_same_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00218_like_regexp_newline/ast.json b/parser/testdata/00218_like_regexp_newline/ast.json deleted file mode 100644 index bd447443b0..0000000000 --- a/parser/testdata/00218_like_regexp_newline/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "abcdef" - }, - "pattern": { - "type": "String", - "value": "%abc%def%" - } - } - ] - } - ] -} diff --git a/parser/testdata/00219_full_right_join_column_order/ast.json b/parser/testdata/00219_full_right_join_column_order/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00219_full_right_join_column_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/ast.json b/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/ast.json deleted file mode 100644 index 11cce75eab..0000000000 --- a/parser/testdata/00220_shard_with_totals_in_subquery_remote_and_limit/ast.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count", - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.2" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "with_totals": true - } - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00222_sequence_aggregate_function_family/ast.json b/parser/testdata/00222_sequence_aggregate_function_family/ast.json deleted file mode 100644 index 5da1119cd8..0000000000 --- a/parser/testdata/00222_sequence_aggregate_function_family/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sequence_test", - "tables": [ - { - "table": "sequence_test" - } - ] -} diff --git a/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/ast.json b/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/ast.json deleted file mode 100644 index de44ee467c..0000000000 --- a/parser/testdata/00223_shard_distributed_aggregation_memory_efficient/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/ast.json b/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/ast.json deleted file mode 100644 index 8253a72b8e..0000000000 --- a/parser/testdata/00224_shard_distributed_aggregation_memory_efficient_and_overflows/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_100k_log", - "tables": [ - { - "table": "numbers_100k_log" - } - ] -} diff --git a/parser/testdata/00225_join_duplicate_columns/ast.json b/parser/testdata/00225_join_duplicate_columns/ast.json deleted file mode 100644 index 929cff13af..0000000000 --- a/parser/testdata/00225_join_duplicate_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "hash,grace_hash,partial_merge,full_sorting_merge" - } - } - ] -} diff --git a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/ast.json b/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/ast.json deleted file mode 100644 index 9a5a6b105e..0000000000 --- a/parser/testdata/00226_zookeeper_deduplication_and_unexpected_parts_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "deduplication", - "tables": [ - { - "table": "deduplication" - } - ] -} diff --git a/parser/testdata/00227_quantiles_timing_arbitrary_order/ast.json b/parser/testdata/00227_quantiles_timing_arbitrary_order/ast.json deleted file mode 100644 index bdb1f77848..0000000000 --- a/parser/testdata/00227_quantiles_timing_arbitrary_order/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesTiming", - "parameters": [ - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.9 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/ast.json b/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/ast.json deleted file mode 100644 index 97985e112b..0000000000 --- a/parser/testdata/00228_shard_quantiles_deterministic_merge_overflow/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesDeterministic", - "parameters": [ - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.9 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 101 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00229_prewhere_column_missing/ast.json b/parser/testdata/00229_prewhere_column_missing/ast.json deleted file mode 100644 index a3d2d4cee9..0000000000 --- a/parser/testdata/00229_prewhere_column_missing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere_column_missing", - "tables": [ - { - "table": "prewhere_column_missing" - } - ] -} diff --git a/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/ast.json b/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/ast.json deleted file mode 100644 index 1771378218..0000000000 --- a/parser/testdata/00230_array_functions_has_count_equal_index_of_non_const_second_arg/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "has", - "arguments": [ - { - "type": "Array", - "value": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "x" - } - ] - }, - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00231_format_vertical_raw/ast.json b/parser/testdata/00231_format_vertical_raw/ast.json deleted file mode 100644 index a5b3f695b2..0000000000 --- a/parser/testdata/00231_format_vertical_raw/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a\tb\nc\td" - }, - "alias": "x" - } - ], - "format": { - "parts": [ - "Vertical" - ] - } - } - ] -} diff --git a/parser/testdata/00233_position_function_family/ast.json b/parser/testdata/00233_position_function_family/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00233_position_function_family/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00233_position_function_sql_comparibilty/ast.json b/parser/testdata/00233_position_function_sql_comparibilty/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00233_position_function_sql_comparibilty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00234_disjunctive_equality_chains_optimization/ast.json b/parser/testdata/00234_disjunctive_equality_chains_optimization/ast.json deleted file mode 100644 index 2a9c79c811..0000000000 --- a/parser/testdata/00234_disjunctive_equality_chains_optimization/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "if_not_exists": true, - "table": "foo_00234", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/00235_create_temporary_table_as/ast.json b/parser/testdata/00235_create_temporary_table_as/ast.json deleted file mode 100644 index 770e80b9e6..0000000000 --- a/parser/testdata/00235_create_temporary_table_as/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "one_0023", - "tables": [ - { - "table": "one_0023" - } - ], - "temporary": true -} diff --git a/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/ast.json b/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/ast.json deleted file mode 100644 index 96ff9c3589..0000000000 --- a/parser/testdata/00236_replicated_drop_on_non_leader_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "replication_alter_partitions_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/00237_group_by_arrays/ast.json b/parser/testdata/00237_group_by_arrays/ast.json deleted file mode 100644 index eaa54b21a7..0000000000 --- a/parser/testdata/00237_group_by_arrays/ast.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "arr1" - ] - }, - { - "parts": [ - "arr2" - ] - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "emptyArrayUInt8", - "alias": "arr1" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "alias": "arr2" - } - ] - }, - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "emptyArrayUInt8" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "arr1" - ] - }, - { - "parts": [ - "arr2" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "c" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "arr1" - ] - } - }, - { - "expression": { - "parts": [ - "arr2" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00238_removal_of_temporary_columns/ast.json b/parser/testdata/00238_removal_of_temporary_columns/ast.json deleted file mode 100644 index ab72206a06..0000000000 --- a/parser/testdata/00238_removal_of_temporary_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_temporary_non_const_columns", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00240_replace_substring_loop/ast.json b/parser/testdata/00240_replace_substring_loop/ast.json deleted file mode 100644 index 08e8397a0e..0000000000 --- a/parser/testdata/00240_replace_substring_loop/ast.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "s" - ] - }, - { - "name": "replaceAll", - "arguments": [ - { - "parts": [ - "s" - ] - }, - { - "type": "String", - "value": "_" - }, - { - "type": "String", - "value": "o" - } - ], - "alias": "a" - }, - { - "name": "replaceRegexpAll", - "arguments": [ - { - "parts": [ - "s" - ] - }, - { - "type": "String", - "value": "_" - }, - { - "type": "String", - "value": "o" - } - ], - "alias": "b" - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "=", - "right": { - "parts": [ - "b" - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "." - }, - { - "type": "String", - "value": "." - } - ] - } - ], - "alias": "s" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00251_has_types/ast.json b/parser/testdata/00251_has_types/ast.json deleted file mode 100644 index 4b2ab4569a..0000000000 --- a/parser/testdata/00251_has_types/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "has", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Float", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00252_shard_global_in_aggregate_function/ast.json b/parser/testdata/00252_shard_global_in_aggregate_function/ast.json deleted file mode 100644 index 2241cd3026..0000000000 --- a/parser/testdata/00252_shard_global_in_aggregate_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "storage", - "tables": [ - { - "table": "storage" - } - ] -} diff --git a/parser/testdata/00253_insert_recursive_defaults/ast.json b/parser/testdata/00253_insert_recursive_defaults/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00253_insert_recursive_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00254_tuple_extremes/ast.json b/parser/testdata/00254_tuple_extremes/ast.json deleted file mode 100644 index 92be8621fc..0000000000 --- a/parser/testdata/00254_tuple_extremes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_10", - "tables": [ - { - "table": "numbers_10" - } - ] -} diff --git a/parser/testdata/00255_array_concat_string/ast.json b/parser/testdata/00255_array_concat_string/ast.json deleted file mode 100644 index 7d24939cc2..0000000000 --- a/parser/testdata/00255_array_concat_string/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayStringConcat", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "World" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00256_reverse/ast.json b/parser/testdata/00256_reverse/ast.json deleted file mode 100644 index 151e1d5ebd..0000000000 --- a/parser/testdata/00256_reverse/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reverse", - "arguments": [ - { - "type": "String", - "value": "Hello" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00257_shard_no_aggregates_and_constant_keys/ast.json b/parser/testdata/00257_shard_no_aggregates_and_constant_keys/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00257_shard_no_aggregates_and_constant_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00258_materializing_tuples/ast.json b/parser/testdata/00258_materializing_tuples/ast.json deleted file mode 100644 index 4ce8884c30..0000000000 --- a/parser/testdata/00258_materializing_tuples/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "a" - } - ] - }, - { - "columns": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "a" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00259_hashing_tuples/ast.json b/parser/testdata/00259_hashing_tuples/ast.json deleted file mode 100644 index 1c77d8cf4f..0000000000 --- a/parser/testdata/00259_hashing_tuples/ast.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "String", - "value": "" - } - ], - "alias": "x1" - }, - { - "name": "cityHash64", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "String", - "value": "" - } - ], - "alias": "x2" - }, - { - "name": "cityHash64", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "String", - "value": "" - } - ] - } - ], - "alias": "x3" - }, - { - "name": "cityHash64", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "String", - "value": "" - } - ] - } - ], - "alias": "x4" - } - ] - } - ] -} diff --git a/parser/testdata/00260_like_and_curly_braces/ast.json b/parser/testdata/00260_like_and_curly_braces/ast.json deleted file mode 100644 index c96e4cbf3a..0000000000 --- a/parser/testdata/00260_like_and_curly_braces/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a}a" - }, - "alias": "x" - }, - { - "expr": { - "parts": [ - "x" - ] - }, - "pattern": { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "%" - }, - { - "parts": [ - "x" - ] - }, - { - "type": "String", - "value": "%" - } - ], - "alias": "pat" - } - }, - { - "expr": { - "name": "materialize", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "pattern": { - "parts": [ - "pat" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00261_storage_aliases_and_array_join/ast.json b/parser/testdata/00261_storage_aliases_and_array_join/ast.json deleted file mode 100644 index 67db496c62..0000000000 --- a/parser/testdata/00261_storage_aliases_and_array_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "aliases_test", - "tables": [ - { - "table": "aliases_test" - } - ] -} diff --git a/parser/testdata/00262_alter_alias/ast.json b/parser/testdata/00262_alter_alias/ast.json deleted file mode 100644 index 67db496c62..0000000000 --- a/parser/testdata/00262_alter_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "aliases_test", - "tables": [ - { - "table": "aliases_test" - } - ] -} diff --git a/parser/testdata/00263_merge_aggregates_and_overflow/ast.json b/parser/testdata/00263_merge_aggregates_and_overflow/ast.json deleted file mode 100644 index 83308e07d1..0000000000 --- a/parser/testdata/00263_merge_aggregates_and_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_10k_log", - "tables": [ - { - "table": "numbers_10k_log" - } - ] -} diff --git a/parser/testdata/00266_read_overflow_mode/ast.json b/parser/testdata/00266_read_overflow_mode/ast.json deleted file mode 100644 index da921d6380..0000000000 --- a/parser/testdata/00266_read_overflow_mode/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 110000 - }, - "settings": [ - { - "name": "max_result_rows", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10 - }, - "settings": [ - { - "name": "max_result_rows", - "value": { - "type": "Integer", - "value": 100000 - } - }, - { - "name": "result_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - } - ] - } - ] -} diff --git a/parser/testdata/00268_aliases_without_as_keyword/ast.json b/parser/testdata/00268_aliases_without_as_keyword/ast.json deleted file mode 100644 index 93e4d7bb7b..0000000000 --- a/parser/testdata/00268_aliases_without_as_keyword/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00269_database_table_whitespace/ast.json b/parser/testdata/00269_database_table_whitespace/ast.json deleted file mode 100644 index 7ee882f259..0000000000 --- a/parser/testdata/00269_database_table_whitespace/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00270_views_query_processing_stage/ast.json b/parser/testdata/00270_views_query_processing_stage/ast.json deleted file mode 100644 index 911fe97f9e..0000000000 --- a/parser/testdata/00270_views_query_processing_stage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view1_00270", - "tables": [ - { - "table": "view1_00270" - } - ] -} diff --git a/parser/testdata/00271_agg_state_and_totals/ast.json b/parser/testdata/00271_agg_state_and_totals/ast.json deleted file mode 100644 index 3f05148446..0000000000 --- a/parser/testdata/00271_agg_state_and_totals/ast.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "finalizeAggregation", - "arguments": [ - { - "name": "quantilesTimingState", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "expr": { - "type": "Integer", - "value": 30000 - }, - "alias": "d" - } - ], - "alias": "k" - }, - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "parts": [ - "d" - ] - } - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00272_union_all_and_in_subquery/ast.json b/parser/testdata/00272_union_all_and_in_subquery/ast.json deleted file mode 100644 index 3ee95f063f..0000000000 --- a/parser/testdata/00272_union_all_and_in_subquery/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "where": { - "expr": { - "type": "Integer", - "value": 1 - }, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "where": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] -} diff --git a/parser/testdata/00273_quantiles/ast.json b/parser/testdata/00273_quantiles/ast.json deleted file mode 100644 index ef3ddf552f..0000000000 --- a/parser/testdata/00273_quantiles/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantiles", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1001 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00274_shard_group_array/ast.json b/parser/testdata/00274_shard_group_array/ast.json deleted file mode 100644 index 1e231a7590..0000000000 --- a/parser/testdata/00274_shard_group_array/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers_mt" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00275_shard_quantiles_weighted/ast.json b/parser/testdata/00275_shard_quantiles_weighted/ast.json deleted file mode 100644 index 84270ee211..0000000000 --- a/parser/testdata/00275_shard_quantiles_weighted/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileExactWeighted", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1001 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00276_sample/ast.json b/parser/testdata/00276_sample/ast.json deleted file mode 100644 index ed2944248a..0000000000 --- a/parser/testdata/00276_sample/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sample_00276", - "tables": [ - { - "table": "sample_00276" - } - ] -} diff --git a/parser/testdata/00277_array_filter/ast.json b/parser/testdata/00277_array_filter/ast.json deleted file mode 100644 index abc49f8338..0000000000 --- a/parser/testdata/00277_array_filter/ast.json +++ /dev/null @@ -1,138 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "length", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "toString", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - }, - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00278_insert_already_sorted/ast.json b/parser/testdata/00278_insert_already_sorted/ast.json deleted file mode 100644 index 5cdcb53f3b..0000000000 --- a/parser/testdata/00278_insert_already_sorted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sorted", - "tables": [ - { - "table": "sorted" - } - ] -} diff --git a/parser/testdata/00279_quantiles_permuted_args/ast.json b/parser/testdata/00279_quantiles_permuted_args/ast.json deleted file mode 100644 index 96b6a8e518..0000000000 --- a/parser/testdata/00279_quantiles_permuted_args/ast.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesExact", - "parameters": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 0.001 - }, - { - "type": "Float", - "value": 0.01 - }, - { - "type": "Float", - "value": 0.05 - }, - { - "type": "Float", - "value": 0.9 - }, - { - "type": "Float", - "value": 0.2 - }, - { - "type": "Float", - "value": 0.3 - }, - { - "type": "Float", - "value": 0.6 - }, - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.4 - }, - { - "type": "Float", - "value": 0.7 - }, - { - "type": "Float", - "value": 0.8 - }, - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Float", - "value": 0.95 - }, - { - "type": "Float", - "value": 0.99 - }, - { - "type": "Float", - "value": 0.999 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.3 - }, - { - "type": "Float", - "value": 0.4 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1001 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00280_hex_escape_sequence/ast.json b/parser/testdata/00280_hex_escape_sequence/ast.json deleted file mode 100644 index e9879db2ec..0000000000 --- a/parser/testdata/00280_hex_escape_sequence/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "0 Р" - } - ] - } - ] -} diff --git a/parser/testdata/00282_merging/ast.json b/parser/testdata/00282_merging/ast.json deleted file mode 100644 index 615a4c2c01..0000000000 --- a/parser/testdata/00282_merging/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge", - "tables": [ - { - "table": "merge" - } - ] -} diff --git a/parser/testdata/00284_external_aggregation/ast.json b/parser/testdata/00284_external_aggregation/ast.json deleted file mode 100644 index 2cc3a6d605..0000000000 --- a/parser/testdata/00284_external_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 100000000 - } - } - ] -} diff --git a/parser/testdata/00284_external_aggregation_2/ast.json b/parser/testdata/00284_external_aggregation_2/ast.json deleted file mode 100644 index f5df802348..0000000000 --- a/parser/testdata/00284_external_aggregation_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "group_by_two_level_threshold_bytes", - "value": { - "type": "Integer", - "value": 50000000 - } - } - ] -} diff --git a/parser/testdata/00285_not_all_data_in_totals/ast.json b/parser/testdata/00285_not_all_data_in_totals/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00285_not_all_data_in_totals/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00286_format_long_negative_float/ast.json b/parser/testdata/00286_format_long_negative_float/ast.json deleted file mode 100644 index 01b8f5d06b..0000000000 --- a/parser/testdata/00286_format_long_negative_float/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reinterpretAsFloat64", - "arguments": [ - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "875635ffffffbfbe" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00288_empty_stripelog/ast.json b/parser/testdata/00288_empty_stripelog/ast.json deleted file mode 100644 index b2bbe84fe3..0000000000 --- a/parser/testdata/00288_empty_stripelog/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stripelog", - "tables": [ - { - "table": "stripelog" - } - ] -} diff --git a/parser/testdata/00290_shard_aggregation_memory_efficient/ast.json b/parser/testdata/00290_shard_aggregation_memory_efficient/ast.json deleted file mode 100644 index 6b6c037f8b..0000000000 --- a/parser/testdata/00290_shard_aggregation_memory_efficient/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_10_00290", - "tables": [ - { - "table": "numbers_10_00290" - } - ] -} diff --git a/parser/testdata/00292_parser_tuple_element/ast.json b/parser/testdata/00292_parser_tuple_element/ast.json deleted file mode 100644 index db8e4bdebb..0000000000 --- a/parser/testdata/00292_parser_tuple_element/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "tuple": { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] -} diff --git a/parser/testdata/00293_shard_max_subquery_depth/ast.json b/parser/testdata/00293_shard_max_subquery_depth/ast.json deleted file mode 100644 index f443e78fa4..0000000000 --- a/parser/testdata/00293_shard_max_subquery_depth/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_subquery_depth", - "value": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/00294_shard_enums/ast.json b/parser/testdata/00294_shard_enums/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/00294_shard_enums/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00295_global_in_one_shard_rows_before_limit/ast.json b/parser/testdata/00295_global_in_one_shard_rows_before_limit/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00295_global_in_one_shard_rows_before_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00298_enum_width_and_cast/ast.json b/parser/testdata/00298_enum_width_and_cast/ast.json deleted file mode 100644 index 9d83278d30..0000000000 --- a/parser/testdata/00298_enum_width_and_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum", - "tables": [ - { - "table": "enum" - } - ] -} diff --git a/parser/testdata/00299_stripe_log_multiple_inserts/ast.json b/parser/testdata/00299_stripe_log_multiple_inserts/ast.json deleted file mode 100644 index 923c5bdad8..0000000000 --- a/parser/testdata/00299_stripe_log_multiple_inserts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "log", - "tables": [ - { - "table": "log" - } - ] -} diff --git a/parser/testdata/00306_insert_values_and_expressions/ast.json b/parser/testdata/00306_insert_values_and_expressions/ast.json deleted file mode 100644 index d17637805c..0000000000 --- a/parser/testdata/00306_insert_values_and_expressions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "insert", - "tables": [ - { - "table": "insert" - } - ] -} diff --git a/parser/testdata/00307_format_xml/ast.json b/parser/testdata/00307_format_xml/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00307_format_xml/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00308_write_buffer_valid_utf8/ast.json b/parser/testdata/00308_write_buffer_valid_utf8/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00308_write_buffer_valid_utf8/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00309_formats/ast.json b/parser/testdata/00309_formats/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00309_formats/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00311_array_primary_key/ast.json b/parser/testdata/00311_array_primary_key/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/00311_array_primary_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00312_position_case_insensitive_utf8/ast.json b/parser/testdata/00312_position_case_insensitive_utf8/ast.json deleted file mode 100644 index 62d66a32de..0000000000 --- a/parser/testdata/00312_position_case_insensitive_utf8/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "positionCaseInsensitiveUTF8", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "иголка.ру" - }, - { - "name": "arrayStringConcat", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "String", - "value": " " - } - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 20000 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "String", - "value": "иголка.ру" - } - ], - "alias": "res" - } - ] - } - ] -} diff --git a/parser/testdata/00314_sample_factor_virtual_column/ast.json b/parser/testdata/00314_sample_factor_virtual_column/ast.json deleted file mode 100644 index 361afa6067..0000000000 --- a/parser/testdata/00314_sample_factor_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sample_00314_1", - "tables": [ - { - "table": "sample_00314_1" - } - ] -} diff --git a/parser/testdata/00315_quantile_off_by_one/ast.json b/parser/testdata/00315_quantile_off_by_one/ast.json deleted file mode 100644 index 6165e5fe07..0000000000 --- a/parser/testdata/00315_quantile_off_by_one/ast.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileExactWeighted", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - } - ], - "alias": "q5" - }, - { - "name": "quantilesExactWeighted", - "parameters": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Float", - "value": 0.2 - }, - { - "type": "Float", - "value": 0.3 - }, - { - "type": "Float", - "value": 0.4 - }, - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.6 - }, - { - "type": "Float", - "value": 0.7 - }, - { - "type": "Float", - "value": 0.8 - }, - { - "type": "Float", - "value": 0.9 - }, - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - } - ], - "alias": "qs" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00316_rounding_functions_and_empty_block/ast.json b/parser/testdata/00316_rounding_functions_and_empty_block/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00316_rounding_functions_and_empty_block/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00318_pk_tuple_order/ast.json b/parser/testdata/00318_pk_tuple_order/ast.json deleted file mode 100644 index c08cf9ed47..0000000000 --- a/parser/testdata/00318_pk_tuple_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk", - "tables": [ - { - "table": "pk" - } - ] -} diff --git a/parser/testdata/00319_index_for_like/ast.json b/parser/testdata/00319_index_for_like/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/00319_index_for_like/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00320_between/ast.json b/parser/testdata/00320_between/ast.json deleted file mode 100644 index eca67c1c0c..0000000000 --- a/parser/testdata/00320_between/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "low": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "high": { - "left": { - "type": "Integer", - "value": 3 - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/00321_pk_set/ast.json b/parser/testdata/00321_pk_set/ast.json deleted file mode 100644 index d174dc54d7..0000000000 --- a/parser/testdata/00321_pk_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_set", - "tables": [ - { - "table": "pk_set" - } - ] -} diff --git a/parser/testdata/00323_quantiles_timing_bug/ast.json b/parser/testdata/00323_quantiles_timing_bug/ast.json deleted file mode 100644 index 3e47027a36..0000000000 --- a/parser/testdata/00323_quantiles_timing_bug/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesTiming", - "parameters": [ - { - "type": "Float", - "value": 0.99 - } - ], - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00326_long_function_multi_if/ast.json b/parser/testdata/00326_long_function_multi_if/ast.json deleted file mode 100644 index 9d63c9115d..0000000000 --- a/parser/testdata/00326_long_function_multi_if/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Trivial case" - } - ] - } - ] -} diff --git a/parser/testdata/00327_summing_composite_nested/ast.json b/parser/testdata/00327_summing_composite_nested/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00327_summing_composite_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00330_view_subqueries/ast.json b/parser/testdata/00330_view_subqueries/ast.json deleted file mode 100644 index 63c5650dac..0000000000 --- a/parser/testdata/00330_view_subqueries/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v1", - "tables": [ - { - "table": "v1" - } - ] -} diff --git a/parser/testdata/00331_final_and_prewhere/ast.json b/parser/testdata/00331_final_and_prewhere/ast.json deleted file mode 100644 index 4254a34c7b..0000000000 --- a/parser/testdata/00331_final_and_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replace", - "tables": [ - { - "table": "replace" - } - ] -} diff --git a/parser/testdata/00331_final_and_prewhere_condition_ver_column/ast.json b/parser/testdata/00331_final_and_prewhere_condition_ver_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00331_final_and_prewhere_condition_ver_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00332_quantile_timing_memory_leak/ast.json b/parser/testdata/00332_quantile_timing_memory_leak/ast.json deleted file mode 100644 index 0b9a3f17d0..0000000000 --- a/parser/testdata/00332_quantile_timing_memory_leak/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileTiming", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00333_parser_number_bug/ast.json b/parser/testdata/00333_parser_number_bug/ast.json deleted file mode 100644 index 976a98da3b..0000000000 --- a/parser/testdata/00333_parser_number_bug/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "info" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "info" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00334_column_aggregate_function_limit/ast.json b/parser/testdata/00334_column_aggregate_function_limit/ast.json deleted file mode 100644 index 8d5cd653ff..0000000000 --- a/parser/testdata/00334_column_aggregate_function_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ontime", - "tables": [ - { - "table": "ontime" - } - ] -} diff --git a/parser/testdata/00337_shard_any_heavy/ast.json b/parser/testdata/00337_shard_any_heavy/ast.json deleted file mode 100644 index e3c47ba309..0000000000 --- a/parser/testdata/00337_shard_any_heavy/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "anyHeavy", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "condition": { - "left": { - "left": { - "name": "intHash64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100 - } - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 60 - } - }, - "then": { - "type": "Integer", - "value": 999 - }, - "else": { - "parts": [ - "number" - ] - } - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00338_replicate_array_of_strings/ast.json b/parser/testdata/00338_replicate_array_of_strings/ast.json deleted file mode 100644 index 003fc8bff5..0000000000 --- a/parser/testdata/00338_replicate_array_of_strings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bad_arrays", - "tables": [ - { - "table": "bad_arrays" - } - ] -} diff --git a/parser/testdata/00340_squashing_insert_select/ast.json b/parser/testdata/00340_squashing_insert_select/ast.json deleted file mode 100644 index 64dc80a449..0000000000 --- a/parser/testdata/00340_squashing_insert_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_squashed", - "tables": [ - { - "table": "numbers_squashed" - } - ] -} diff --git a/parser/testdata/00341_squashing_insert_select2/ast.json b/parser/testdata/00341_squashing_insert_select2/ast.json deleted file mode 100644 index 64dc80a449..0000000000 --- a/parser/testdata/00341_squashing_insert_select2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_squashed", - "tables": [ - { - "table": "numbers_squashed" - } - ] -} diff --git a/parser/testdata/00343_array_element_generic/ast.json b/parser/testdata/00343_array_element_generic/ast.json deleted file mode 100644 index cee520477f..0000000000 --- a/parser/testdata/00343_array_element_generic/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - "op": "==", - "right": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - }, - "op": "AND", - "right": { - "left": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - } - ] - }, - "op": "==", - "right": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - ] -} diff --git a/parser/testdata/00344_row_number_in_all_blocks/ast.json b/parser/testdata/00344_row_number_in_all_blocks/ast.json deleted file mode 100644 index de44ee467c..0000000000 --- a/parser/testdata/00344_row_number_in_all_blocks/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/00345_index_accurate_comparison/ast.json b/parser/testdata/00345_index_accurate_comparison/ast.json deleted file mode 100644 index 848f767c94..0000000000 --- a/parser/testdata/00345_index_accurate_comparison/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index", - "tables": [ - { - "table": "index" - } - ] -} diff --git a/parser/testdata/00346_if_tuple/ast.json b/parser/testdata/00346_if_tuple/ast.json deleted file mode 100644 index 36b281bd1f..0000000000 --- a/parser/testdata/00346_if_tuple/ast.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - "else": { - "type": "Tuple", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "! " - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00347_has_tuple/ast.json b/parser/testdata/00347_has_tuple/ast.json deleted file mode 100644 index de9921bb6f..0000000000 --- a/parser/testdata/00347_has_tuple/ast.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "has", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "parts": [ - "c" - ] - }, - { - "parts": [ - "d" - ] - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "c" - }, - { - "expr": { - "type": "Integer", - "value": 4 - }, - "alias": "d" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00348_tuples/ast.json b/parser/testdata/00348_tuples/ast.json deleted file mode 100644 index d3b82f8ade..0000000000 --- a/parser/testdata/00348_tuples/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "1" - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "alias": "t" - }, - { - "tuple": { - "parts": [ - "t" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "t" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] -} diff --git a/parser/testdata/00349_visible_width/ast.json b/parser/testdata/00349_visible_width/ast.json deleted file mode 100644 index 938193d76f..0000000000 --- a/parser/testdata/00349_visible_width/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visibleWidth", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "name": "visibleWidth", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - }, - { - "name": "visibleWidth", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00350_count_distinct/ast.json b/parser/testdata/00350_count_distinct/ast.json deleted file mode 100644 index cac43b33fd..0000000000 --- a/parser/testdata/00350_count_distinct/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "count_distinct_implementation", - "value": { - "type": "String", - "value": "uniq" - } - } - ] -} diff --git a/parser/testdata/00351_select_distinct_arrays_tuples/ast.json b/parser/testdata/00351_select_distinct_arrays_tuples/ast.json deleted file mode 100644 index ab1aa0a9bb..0000000000 --- a/parser/testdata/00351_select_distinct_arrays_tuples/ast.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - }, - { - "type": "Tuple", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00352_external_sorting_and_constants/ast.json b/parser/testdata/00352_external_sorting_and_constants/ast.json deleted file mode 100644 index 952bea201e..0000000000 --- a/parser/testdata/00352_external_sorting_and_constants/ast.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "expr": { - "type": "String", - "value": "Hello" - }, - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 100 - }, - "offset": { - "type": "Integer", - "value": 999990 - }, - "settings": [ - { - "name": "max_bytes_before_external_sort", - "value": { - "type": "Integer", - "value": 1000000 - } - }, - { - "name": "max_bytes_ratio_before_external_sort", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/00353_join_by_tuple/ast.json b/parser/testdata/00353_join_by_tuple/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00353_join_by_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00355_array_of_non_const_convertible_types/ast.json b/parser/testdata/00355_array_of_non_const_convertible_types/ast.json deleted file mode 100644 index c150008b09..0000000000 --- a/parser/testdata/00355_array_of_non_const_convertible_types/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/00356_analyze_aggregations_and_union_all/ast.json b/parser/testdata/00356_analyze_aggregations_and_union_all/ast.json deleted file mode 100644 index b84ff681ee..0000000000 --- a/parser/testdata/00356_analyze_aggregations_and_union_all/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - } - ] - } - ] - } - } - } - } - ] - } - }, - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "b" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "b" - } - ] - } - ] - } - } - } - } - ] - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] -} diff --git a/parser/testdata/00357_to_string_complex_types/ast.json b/parser/testdata/00357_to_string_complex_types/ast.json deleted file mode 100644 index 77b00d999e..0000000000 --- a/parser/testdata/00357_to_string_complex_types/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Hello" - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2016-01-01" - } - ] - } - ] - } - ] - }, - { - "name": "toString", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00358_from_string_complex_types/ast.json b/parser/testdata/00358_from_string_complex_types/ast.json deleted file mode 100644 index 7ff6aee240..0000000000 --- a/parser/testdata/00358_from_string_complex_types/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "[1, 2, 3]" - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/00359_convert_or_zero_functions/ast.json b/parser/testdata/00359_convert_or_zero_functions/ast.json deleted file mode 100644 index cf868ecf2a..0000000000 --- a/parser/testdata/00359_convert_or_zero_functions/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt32OrZero", - "arguments": [ - { - "type": "String", - "value": "123a" - } - ] - }, - { - "name": "toUInt32OrZero", - "arguments": [ - { - "type": "String", - "value": "456" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00360_to_date_from_string_with_datetime/ast.json b/parser/testdata/00360_to_date_from_string_with_datetime/ast.json deleted file mode 100644 index 3c06332469..0000000000 --- a/parser/testdata/00360_to_date_from_string_with_datetime/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2016-08-02 12:34:19" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00361_shared_array_offsets_and_squash_blocks/ast.json b/parser/testdata/00361_shared_array_offsets_and_squash_blocks/ast.json deleted file mode 100644 index 01810847ce..0000000000 --- a/parser/testdata/00361_shared_array_offsets_and_squash_blocks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested1", - "tables": [ - { - "table": "nested1" - } - ] -} diff --git a/parser/testdata/00362_great_circle_distance/ast.json b/parser/testdata/00362_great_circle_distance/ast.json deleted file mode 100644 index 5d8f6c70e9..0000000000 --- a/parser/testdata/00362_great_circle_distance/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "floor", - "arguments": [ - { - "name": "greatCircleDistance", - "arguments": [ - { - "type": "Float", - "value": 33.3 - }, - { - "type": "Float", - "value": 55.3 - }, - { - "type": "Float", - "value": 33.3 - }, - { - "type": "Float", - "value": 55.3 - } - ] - } - ], - "alias": "distance" - } - ] - } - ] -} diff --git a/parser/testdata/00363_defaults/ast.json b/parser/testdata/00363_defaults/ast.json deleted file mode 100644 index dbb82f92b3..0000000000 --- a/parser/testdata/00363_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere_defaults", - "tables": [ - { - "table": "prewhere_defaults" - } - ] -} diff --git a/parser/testdata/00369_int_div_of_float/ast.json b/parser/testdata/00369_int_div_of_float/ast.json deleted file mode 100644 index 1f7a07cda9..0000000000 --- a/parser/testdata/00369_int_div_of_float/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00370_duplicate_columns_in_subqueries/ast.json b/parser/testdata/00370_duplicate_columns_in_subqueries/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00370_duplicate_columns_in_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00371_union_all/ast.json b/parser/testdata/00371_union_all/ast.json deleted file mode 100644 index 01008bf567..0000000000 --- a/parser/testdata/00371_union_all/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "columns": [ - { - "name": "countIf", - "arguments": [ - { - "left": { - "parts": [ - "n" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "n" - } - ] - } - ] - } - } - } - } - ] - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] -} diff --git a/parser/testdata/00373_group_by_tuple/ast.json b/parser/testdata/00373_group_by_tuple/ast.json deleted file mode 100644 index b83985a8b3..0000000000 --- a/parser/testdata/00373_group_by_tuple/ast.json +++ /dev/null @@ -1,110 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "Hello" - } - ] - }, - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "World" - } - ] - } - ], - "alias": "x" - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "x" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00374_any_last_if_merge/ast.json b/parser/testdata/00374_any_last_if_merge/ast.json deleted file mode 100644 index 72ad7bbbf6..0000000000 --- a/parser/testdata/00374_any_last_if_merge/ast.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10000 - } - }, - "alias": "k" - }, - { - "name": "anyLastIf", - "arguments": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - }, - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "having": { - "left": { - "parts": [ - "x" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/00375_shard_group_uniq_array_of_string/ast.json b/parser/testdata/00375_shard_group_uniq_array_of_string/ast.json deleted file mode 100644 index 574500c539..0000000000 --- a/parser/testdata/00375_shard_group_uniq_array_of_string/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "group_uniq_str", - "tables": [ - { - "table": "group_uniq_str" - } - ] -} diff --git a/parser/testdata/00376_shard_group_uniq_array_of_int_array/ast.json b/parser/testdata/00376_shard_group_uniq_array_of_int_array/ast.json deleted file mode 100644 index 71e089ac13..0000000000 --- a/parser/testdata/00376_shard_group_uniq_array_of_int_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "55M" - } - } - ] -} diff --git a/parser/testdata/00377_shard_group_uniq_array_of_string_array/ast.json b/parser/testdata/00377_shard_group_uniq_array_of_string_array/ast.json deleted file mode 100644 index 71e089ac13..0000000000 --- a/parser/testdata/00377_shard_group_uniq_array_of_string_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "55M" - } - } - ] -} diff --git a/parser/testdata/00378_json_quote_64bit_integers/ast.json b/parser/testdata/00378_json_quote_64bit_integers/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00378_json_quote_64bit_integers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00383_utf8_validation/ast.json b/parser/testdata/00383_utf8_validation/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00383_utf8_validation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00384_column_aggregate_function_insert_from/ast.json b/parser/testdata/00384_column_aggregate_function_insert_from/ast.json deleted file mode 100644 index 32a436bc55..0000000000 --- a/parser/testdata/00384_column_aggregate_function_insert_from/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "aggregates", - "tables": [ - { - "table": "aggregates" - } - ] -} diff --git a/parser/testdata/00386_enum_in_pk/ast.json b/parser/testdata/00386_enum_in_pk/ast.json deleted file mode 100644 index 637ba27051..0000000000 --- a/parser/testdata/00386_enum_in_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_pk", - "tables": [ - { - "table": "enum_pk" - } - ] -} diff --git a/parser/testdata/00386_has_column_in_table/ast.json b/parser/testdata/00386_has_column_in_table/ast.json deleted file mode 100644 index 0c6dd7129a..0000000000 --- a/parser/testdata/00386_has_column_in_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "has_column_in_table", - "tables": [ - { - "table": "has_column_in_table" - } - ] -} diff --git a/parser/testdata/00388_enum_with_totals/ast.json b/parser/testdata/00388_enum_with_totals/ast.json deleted file mode 100644 index 121bfbfae4..0000000000 --- a/parser/testdata/00388_enum_with_totals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_totals", - "tables": [ - { - "table": "enum_totals" - } - ] -} diff --git a/parser/testdata/00389_concat_operator/ast.json b/parser/testdata/00389_concat_operator/ast.json deleted file mode 100644 index c52f1ebd3e..0000000000 --- a/parser/testdata/00389_concat_operator/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "type": "String", - "value": "Hello" - }, - "op": "||", - "right": { - "type": "String", - "value": ", " - } - }, - "op": "||", - "right": { - "type": "String", - "value": "World" - } - } - ] - } - ] -} diff --git a/parser/testdata/00390_array_sort/ast.json b/parser/testdata/00390_array_sort/ast.json deleted file mode 100644 index 5d35d015f2..0000000000 --- a/parser/testdata/00390_array_sort/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "arr" - }, - { - "name": "arraySort", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - { - "name": "arrayReverseSort", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - { - "name": "arraySort", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "op": "-", - "operand": { - "parts": [ - "x" - ] - } - } - }, - { - "parts": [ - "arr" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00392_enum_nested_alter/ast.json b/parser/testdata/00392_enum_nested_alter/ast.json deleted file mode 100644 index c906941ded..0000000000 --- a/parser/testdata/00392_enum_nested_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_nested_alter", - "tables": [ - { - "table": "enum_nested_alter" - } - ] -} diff --git a/parser/testdata/00393_if_with_constant_condition/ast.json b/parser/testdata/00393_if_with_constant_condition/ast.json deleted file mode 100644 index 47f1be70ae..0000000000 --- a/parser/testdata/00393_if_with_constant_condition/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "type": "Integer", - "value": 1 - }, - "then": { - "type": "Integer", - "value": 1 - }, - "else": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/00394_new_nested_column_keeps_offsets/ast.json b/parser/testdata/00394_new_nested_column_keeps_offsets/ast.json deleted file mode 100644 index fe9ed2197a..0000000000 --- a/parser/testdata/00394_new_nested_column_keeps_offsets/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_00394", - "tables": [ - { - "table": "alter_00394" - } - ] -} diff --git a/parser/testdata/00394_replaceall_vector_fixed/ast.json b/parser/testdata/00394_replaceall_vector_fixed/ast.json deleted file mode 100644 index 292b2de25e..0000000000 --- a/parser/testdata/00394_replaceall_vector_fixed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replaceall", - "tables": [ - { - "table": "replaceall" - } - ] -} diff --git a/parser/testdata/00395_nullable/ast.json b/parser/testdata/00395_nullable/ast.json deleted file mode 100644 index 174735f31f..0000000000 --- a/parser/testdata/00395_nullable/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----- NULL value -----" - } - ] - } - ] -} diff --git a/parser/testdata/00396_uuid/ast.json b/parser/testdata/00396_uuid/ast.json deleted file mode 100644 index e0fe5ee559..0000000000 --- a/parser/testdata/00396_uuid/ast.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "UUIDNumToString", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "unhex", - "arguments": [ - { - "expr": { - "type": "String", - "value": "0123456789ABCDEF0123456789ABCDEF" - }, - "alias": "hex" - } - ], - "alias": "bytes" - }, - { - "type": "Integer", - "value": 16 - } - ], - "alias": "uuid_binary" - } - ], - "alias": "uuid_string" - }, - { - "expr": { - "left": { - "name": "hex", - "arguments": [ - { - "name": "UUIDStringToNum", - "arguments": [ - { - "parts": [ - "uuid_string" - ] - } - ] - } - ] - }, - "op": "=", - "right": { - "parts": [ - "hex" - ] - } - }, - "alias": "test1" - }, - { - "expr": { - "left": { - "name": "UUIDStringToNum", - "arguments": [ - { - "parts": [ - "uuid_string" - ] - } - ] - }, - "op": "=", - "right": { - "parts": [ - "bytes" - ] - } - }, - "alias": "test2" - } - ] - } - ] -} diff --git a/parser/testdata/00396_uuid_v7/ast.json b/parser/testdata/00396_uuid_v7/ast.json deleted file mode 100644 index 1579869ea8..0000000000 --- a/parser/testdata/00396_uuid_v7/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- UUIDToNum --" - } - ] - } - ] -} diff --git a/parser/testdata/00397_tsv_format_synonym/ast.json b/parser/testdata/00397_tsv_format_synonym/ast.json deleted file mode 100644 index 18adf8ee80..0000000000 --- a/parser/testdata/00397_tsv_format_synonym/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ], - "alias": "arr" - }, - { - "expr": { - "type": "String", - "value": "hello" - }, - "alias": "s1" - }, - { - "expr": { - "type": "String", - "value": "world" - }, - "alias": "s2" - } - ], - "format": { - "parts": [ - "TabSeparated" - ] - } - } - ] -} diff --git a/parser/testdata/00399_group_uniq_array_date_datetime/ast.json b/parser/testdata/00399_group_uniq_array_date_datetime/ast.json deleted file mode 100644 index 94267aea42..0000000000 --- a/parser/testdata/00399_group_uniq_array_date_datetime/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "grop_uniq_array_date", - "tables": [ - { - "table": "grop_uniq_array_date" - } - ] -} diff --git a/parser/testdata/00401_merge_and_stripelog/ast.json b/parser/testdata/00401_merge_and_stripelog/ast.json deleted file mode 100644 index a37abbf568..0000000000 --- a/parser/testdata/00401_merge_and_stripelog/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "stripe1", - "tables": [ - { - "table": "stripe1" - } - ] -} diff --git a/parser/testdata/00402_nan_and_extremes/ast.json b/parser/testdata/00402_nan_and_extremes/ast.json deleted file mode 100644 index 280f34cf7b..0000000000 --- a/parser/testdata/00402_nan_and_extremes/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ], - "settings": [ - { - "name": "extremes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00403_to_start_of_day/ast.json b/parser/testdata/00403_to_start_of_day/ast.json deleted file mode 100644 index d12c16fd06..0000000000 --- a/parser/testdata/00403_to_start_of_day/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toStartOfDay", - "arguments": [ - { - "name": "now" - } - ] - }, - "op": "=", - "right": { - "name": "toDateTime", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "name": "now" - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00404_null_literal/ast.json b/parser/testdata/00404_null_literal/ast.json deleted file mode 100644 index 3e02bffa85..0000000000 --- a/parser/testdata/00404_null_literal/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Null", - "value": null - } - } - ] - } - ] -} diff --git a/parser/testdata/00405_output_format_pretty_color/ast.json b/parser/testdata/00405_output_format_pretty_color/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/00405_output_format_pretty_color/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00405_pretty_formats/ast.json b/parser/testdata/00405_pretty_formats/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/00405_pretty_formats/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00406_tuples_with_nulls/ast.json b/parser/testdata/00406_tuples_with_nulls/ast.json deleted file mode 100644 index f4ac66b680..0000000000 --- a/parser/testdata/00406_tuples_with_nulls/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "name": "nullIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "toString", - "arguments": [ - { - "name": "nullIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - }, - "alias": "tuple" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - }, - "format": { - "parts": [ - "PrettyCompactNoEscapes" - ] - } - } - ] -} diff --git a/parser/testdata/00409_shard_limit_by/ast.json b/parser/testdata/00409_shard_limit_by/ast.json deleted file mode 100644 index 7968affd71..0000000000 --- a/parser/testdata/00409_shard_limit_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "limit_by", - "tables": [ - { - "table": "limit_by" - } - ] -} diff --git a/parser/testdata/00410_aggregation_combinators_with_arenas/ast.json b/parser/testdata/00410_aggregation_combinators_with_arenas/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/00410_aggregation_combinators_with_arenas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00411_long_accurate_number_comparison_float/ast.json b/parser/testdata/00411_long_accurate_number_comparison_float/ast.json deleted file mode 100644 index 0f5086fc09..0000000000 --- a/parser/testdata/00411_long_accurate_number_comparison_float/ast.json +++ /dev/null @@ -1,1684 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "0" - }, - { - "type": "String", - "value": "0.000000000" - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "!=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Float", - "value": 0 - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "=", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "!=", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003c=", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - }, - { - "left": { - "type": "Float", - "value": 0 - }, - "op": "\u003e=", - "right": { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00411_merge_tree_where_const_in_set/ast.json b/parser/testdata/00411_merge_tree_where_const_in_set/ast.json deleted file mode 100644 index 411165539e..0000000000 --- a/parser/testdata/00411_merge_tree_where_const_in_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "const_in_const", - "tables": [ - { - "table": "const_in_const" - } - ] -} diff --git a/parser/testdata/00412_logical_expressions_optimizer/ast.json b/parser/testdata/00412_logical_expressions_optimizer/ast.json deleted file mode 100644 index 1d5f9ced5f..0000000000 --- a/parser/testdata/00412_logical_expressions_optimizer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree", - "tables": [ - { - "table": "merge_tree" - } - ] -} diff --git a/parser/testdata/00413_distinct/ast.json b/parser/testdata/00413_distinct/ast.json deleted file mode 100644 index 578616098f..0000000000 --- a/parser/testdata/00413_distinct/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "distinct", - "tables": [ - { - "table": "distinct" - } - ] -} diff --git a/parser/testdata/00413_least_greatest_new_behavior/ast.json b/parser/testdata/00413_least_greatest_new_behavior/ast.json deleted file mode 100644 index b9a0396e7c..0000000000 --- a/parser/testdata/00413_least_greatest_new_behavior/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "least", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "greatest", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00414_time_zones_direct_conversion/ast.json b/parser/testdata/00414_time_zones_direct_conversion/ast.json deleted file mode 100644 index 522a6a6a6b..0000000000 --- a/parser/testdata/00414_time_zones_direct_conversion/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "type": "Integer", - "value": 1301146200 - }, - "op": "+", - "right": { - "left": { - "type": "Integer", - "value": 1800 - }, - "op": "*", - "right": { - "parts": [ - "number" - ] - } - } - }, - "alias": "ts" - }, - { - "name": "toString", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "ts" - ] - } - ] - }, - { - "type": "String", - "value": "Australia/Sydney" - } - ], - "alias": "time_in_sydney" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 7 - } - } - ] -} diff --git a/parser/testdata/00420_null_in_scalar_subqueries/ast.json b/parser/testdata/00420_null_in_scalar_subqueries/ast.json deleted file mode 100644 index 984c70957c..0000000000 --- a/parser/testdata/00420_null_in_scalar_subqueries/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "where": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00422_hash_function_constexpr/ast.json b/parser/testdata/00422_hash_function_constexpr/ast.json deleted file mode 100644 index 652ab1811e..0000000000 --- a/parser/testdata/00422_hash_function_constexpr/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "cityHash64", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ] - }, - "list": [ - { - "name": "cityHash64", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00423_storage_log_single_thread/ast.json b/parser/testdata/00423_storage_log_single_thread/ast.json deleted file mode 100644 index 923c5bdad8..0000000000 --- a/parser/testdata/00423_storage_log_single_thread/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "log", - "tables": [ - { - "table": "log" - } - ] -} diff --git a/parser/testdata/00424_shard_aggregate_functions_of_nullable/ast.json b/parser/testdata/00424_shard_aggregate_functions_of_nullable/ast.json deleted file mode 100644 index 7c919f0eea..0000000000 --- a/parser/testdata/00424_shard_aggregate_functions_of_nullable/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "avg", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00425_count_nullable/ast.json b/parser/testdata/00425_count_nullable/ast.json deleted file mode 100644 index cbf64453f6..0000000000 --- a/parser/testdata/00425_count_nullable/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00426_nulls_sorting/ast.json b/parser/testdata/00426_nulls_sorting/ast.json deleted file mode 100644 index 92d770cd0d..0000000000 --- a/parser/testdata/00426_nulls_sorting/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 12 - }, - { - "type": "Null", - "value": null - } - ] - } - ], - "alias": "x" - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00429_point_in_ellipses/ast.json b/parser/testdata/00429_point_in_ellipses/ast.json deleted file mode 100644 index cc230a81d4..0000000000 --- a/parser/testdata/00429_point_in_ellipses/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "pointInEllipses", - "arguments": [ - { - "type": "Float", - "value": 33.3 - }, - { - "type": "Float", - "value": 55.3 - }, - { - "type": "Float", - "value": 33.4 - }, - { - "type": "Float", - "value": 55.1 - }, - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ], - "alias": "distance" - } - ] - } - ] -} diff --git a/parser/testdata/00432_aggregate_function_scalars_and_constants/ast.json b/parser/testdata/00432_aggregate_function_scalars_and_constants/ast.json deleted file mode 100644 index 5c880b65c1..0000000000 --- a/parser/testdata/00432_aggregate_function_scalars_and_constants/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "agg_func_col", - "tables": [ - { - "table": "agg_func_col" - } - ] -} diff --git a/parser/testdata/00433_ifnull/ast.json b/parser/testdata/00433_ifnull/ast.json deleted file mode 100644 index 6db6b76228..0000000000 --- a/parser/testdata/00433_ifnull/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ifNull", - "arguments": [ - { - "type": "String", - "value": "x" - }, - { - "type": "String", - "value": "y" - } - ], - "alias": "res" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "res" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00435_coalesce/ast.json b/parser/testdata/00435_coalesce/ast.json deleted file mode 100644 index 9b5cd16821..0000000000 --- a/parser/testdata/00435_coalesce/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "coalesce" - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "coalesce", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00438_bit_rotate/ast.json b/parser/testdata/00438_bit_rotate/ast.json deleted file mode 100644 index 628140a625..0000000000 --- a/parser/testdata/00438_bit_rotate/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "bitRotateLeft", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775809 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00439_fixed_string_filter/ast.json b/parser/testdata/00439_fixed_string_filter/ast.json deleted file mode 100644 index 8baf5351cf..0000000000 --- a/parser/testdata/00439_fixed_string_filter/ast.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toFixedString", - "arguments": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 20 - } - }, - "then": { - "type": "String", - "value": "" - }, - "else": { - "type": "String", - "value": "Hello" - } - }, - { - "type": "Integer", - "value": 5 - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 50 - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "x" - ] - }, - "op": "!=", - "right": { - "type": "String", - "value": "\u0000\u0000\u0000\u0000\u0000" - } - } - } - ] -} diff --git a/parser/testdata/00440_nulls_merge_tree/ast.json b/parser/testdata/00440_nulls_merge_tree/ast.json deleted file mode 100644 index 3096c52963..0000000000 --- a/parser/testdata/00440_nulls_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nulls", - "tables": [ - { - "table": "nulls" - } - ] -} diff --git a/parser/testdata/00442_filter_by_nullable/ast.json b/parser/testdata/00442_filter_by_nullable/ast.json deleted file mode 100644 index e8a7090ce9..0000000000 --- a/parser/testdata/00442_filter_by_nullable/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "parts": [ - "x" - ] - } - } - ] -} diff --git a/parser/testdata/00444_join_use_nulls/ast.json b/parser/testdata/00444_join_use_nulls/ast.json deleted file mode 100644 index 9921233014..0000000000 --- a/parser/testdata/00444_join_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00445_join_nullable_keys/ast.json b/parser/testdata/00445_join_nullable_keys/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00445_join_nullable_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/ast.json b/parser/testdata/00446_clear_column_in_partition_zookeeper_long/ast.json deleted file mode 100644 index 41bbbe9496..0000000000 --- a/parser/testdata/00446_clear_column_in_partition_zookeeper_long/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "===Ordinary case===" - } - ] - } - ] -} diff --git a/parser/testdata/00447_foreach_modifier/ast.json b/parser/testdata/00447_foreach_modifier/ast.json deleted file mode 100644 index 021523f49b..0000000000 --- a/parser/testdata/00447_foreach_modifier/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "if_not_exists": true, - "table": "data", - "columns": [ - { - "name": "sketch", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Int8" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/00448_replicate_nullable_tuple_generic/ast.json b/parser/testdata/00448_replicate_nullable_tuple_generic/ast.json deleted file mode 100644 index 6706d8b541..0000000000 --- a/parser/testdata/00448_replicate_nullable_tuple_generic/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "name": "arrayJoin", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00448_to_string_cut_to_zero/ast.json b/parser/testdata/00448_to_string_cut_to_zero/ast.json deleted file mode 100644 index 98a15f0067..0000000000 --- a/parser/testdata/00448_to_string_cut_to_zero/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "left": { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "=", - "right": { - "name": "toStringCutToZero", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00449_filter_array_nullable_tuple/ast.json b/parser/testdata/00449_filter_array_nullable_tuple/ast.json deleted file mode 100644 index b733facf47..0000000000 --- a/parser/testdata/00449_filter_array_nullable_tuple/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/00450_higher_order_and_nullable/ast.json b/parser/testdata/00450_higher_order_and_nullable/ast.json deleted file mode 100644 index 0cd4880efa..0000000000 --- a/parser/testdata/00450_higher_order_and_nullable/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "condition": { - "left": { - "left": { - "parts": [ - "x" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "then": { - "type": "Null", - "value": null - }, - "else": { - "parts": [ - "x" - ] - } - } - }, - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00451_left_array_join_and_constants/ast.json b/parser/testdata/00451_left_array_join_and_constants/ast.json deleted file mode 100644 index a596c01bf2..0000000000 --- a/parser/testdata/00451_left_array_join_and_constants/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "arr" - ] - }, - { - "parts": [ - "element" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "alias": "arr" - } - ] - } - ] - } - } - } - } - ] - }, - "array_join": { - "left": true, - "columns": [ - { - "parts": [ - "arr" - ], - "alias": "element" - } - ] - } - } - ] -} diff --git a/parser/testdata/00452_left_array_join_and_nullable/ast.json b/parser/testdata/00452_left_array_join_and_nullable/ast.json deleted file mode 100644 index f0940936c2..0000000000 --- a/parser/testdata/00452_left_array_join_and_nullable/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "emptyArrayToSingle", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "nullIf", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "emptyArrayUInt8" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ], - "alias": "arr" - } - ] - } - ] -} diff --git a/parser/testdata/00453_cast_enum/ast.json b/parser/testdata/00453_cast_enum/ast.json deleted file mode 100644 index 977f87a213..0000000000 --- a/parser/testdata/00453_cast_enum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cast_enums", - "tables": [ - { - "table": "cast_enums" - } - ] -} diff --git a/parser/testdata/00453_top_k/ast.json b/parser/testdata/00453_top_k/ast.json deleted file mode 100644 index 57c9392287..0000000000 --- a/parser/testdata/00453_top_k/ast.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySort", - "arguments": [ - { - "name": "topK", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "parts": [ - "n" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100 - } - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "n" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00456_alter_nullable/ast.json b/parser/testdata/00456_alter_nullable/ast.json deleted file mode 100644 index 54dea30eaa..0000000000 --- a/parser/testdata/00456_alter_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_alter", - "tables": [ - { - "table": "nullable_alter" - } - ] -} diff --git a/parser/testdata/00457_log_tinylog_stripelog_nullable/ast.json b/parser/testdata/00457_log_tinylog_stripelog_nullable/ast.json deleted file mode 100644 index b5fb3528de..0000000000 --- a/parser/testdata/00457_log_tinylog_stripelog_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_00457", - "tables": [ - { - "table": "nullable_00457" - } - ] -} diff --git a/parser/testdata/00458_merge_type_cast/ast.json b/parser/testdata/00458_merge_type_cast/ast.json deleted file mode 100644 index 44b053c7f2..0000000000 --- a/parser/testdata/00458_merge_type_cast/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": " UInt32 | UInt64 " - } - ] - } - ] -} diff --git a/parser/testdata/00459_group_array_insert_at/ast.json b/parser/testdata/00459_group_array_insert_at/ast.json deleted file mode 100644 index 2615aed99f..0000000000 --- a/parser/testdata/00459_group_array_insert_at/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayInsertAt", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00460_vertical_and_totals_extremes/ast.json b/parser/testdata/00460_vertical_and_totals_extremes/ast.json deleted file mode 100644 index 6e127732b0..0000000000 --- a/parser/testdata/00460_vertical_and_totals_extremes/ast.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - }, - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ], - "format": { - "parts": [ - "Vertical" - ] - } - } - ] -} diff --git a/parser/testdata/00462_json_true_false_literals/ast.json b/parser/testdata/00462_json_true_false_literals/ast.json deleted file mode 100644 index 479ac9dd43..0000000000 --- a/parser/testdata/00462_json_true_false_literals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "json", - "tables": [ - { - "table": "json" - } - ] -} diff --git a/parser/testdata/00464_array_element_out_of_range/ast.json b/parser/testdata/00464_array_element_out_of_range/ast.json deleted file mode 100644 index 24857b1d27..0000000000 --- a/parser/testdata/00464_array_element_out_of_range/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "index": { - "type": "Integer", - "value": 3 - } - }, - { - "array": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "index": { - "type": "Integer", - "value": 4 - } - }, - { - "array": { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "1" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "2" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - "index": { - "op": "-", - "operand": { - "type": "Integer", - "value": 3 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/00464_sort_all_constant_columns/ast.json b/parser/testdata/00464_sort_all_constant_columns/ast.json deleted file mode 100644 index 82c7904e9d..0000000000 --- a/parser/testdata/00464_sort_all_constant_columns/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "y" - } - ] - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00465_nullable_default/ast.json b/parser/testdata/00465_nullable_default/ast.json deleted file mode 100644 index fa00c5a2e0..0000000000 --- a/parser/testdata/00465_nullable_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_00465", - "tables": [ - { - "table": "nullable_00465" - } - ] -} diff --git a/parser/testdata/00466_comments_in_keyword/ast.json b/parser/testdata/00466_comments_in_keyword/ast.json deleted file mode 100644 index a3dc0e9565..0000000000 --- a/parser/testdata/00466_comments_in_keyword/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00467_qualified_names/ast.json b/parser/testdata/00467_qualified_names/ast.json deleted file mode 100644 index a148fc1bc1..0000000000 --- a/parser/testdata/00467_qualified_names/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/ast.json b/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/00468_array_join_multiple_arrays_and_use_original_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/00469_comparison_of_strings_containing_null_char/ast.json b/parser/testdata/00469_comparison_of_strings_containing_null_char/ast.json deleted file mode 100644 index f3d49a4576..0000000000 --- a/parser/testdata/00469_comparison_of_strings_containing_null_char/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "**** constant-constant comparisons ****" - } - ] - } - ] -} diff --git a/parser/testdata/00470_identifiers_in_double_quotes/ast.json b/parser/testdata/00470_identifiers_in_double_quotes/ast.json deleted file mode 100644 index bdf6da3fd2..0000000000 --- a/parser/testdata/00470_identifiers_in_double_quotes/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "numbers", - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00472_compare_uuid_with_constant_string/ast.json b/parser/testdata/00472_compare_uuid_with_constant_string/ast.json deleted file mode 100644 index e1076af507..0000000000 --- a/parser/testdata/00472_compare_uuid_with_constant_string/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "61f0c404-5cb3-11e7-907b-a6006ad3dba0" - } - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "61f0c404-5cb3-11e7-907b-a6006ad3dba0" - } - } - ] - } - ] -} diff --git a/parser/testdata/00472_create_view_if_not_exists/ast.json b/parser/testdata/00472_create_view_if_not_exists/ast.json deleted file mode 100644 index db12a278dc..0000000000 --- a/parser/testdata/00472_create_view_if_not_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00472", - "tables": [ - { - "table": "t_00472" - } - ] -} diff --git a/parser/testdata/00475_in_join_db_table/ast.json b/parser/testdata/00475_in_join_db_table/ast.json deleted file mode 100644 index 9c2f169222..0000000000 --- a/parser/testdata/00475_in_join_db_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set", - "tables": [ - { - "table": "set" - } - ] -} diff --git a/parser/testdata/00476_pretty_formats_and_widths/ast.json b/parser/testdata/00476_pretty_formats_and_widths/ast.json deleted file mode 100644 index b8e60f3744..0000000000 --- a/parser/testdata/00476_pretty_formats_and_widths/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_highlight_digit_groups", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00477_parsing_data_types/ast.json b/parser/testdata/00477_parsing_data_types/ast.json deleted file mode 100644 index 0cf8d5280d..0000000000 --- a/parser/testdata/00477_parsing_data_types/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_00477", - "tables": [ - { - "table": "t_00477" - } - ], - "temporary": true -} diff --git a/parser/testdata/00479_date_and_datetime_to_number/ast.json b/parser/testdata/00479_date_and_datetime_to_number/ast.json deleted file mode 100644 index 15019fc762..0000000000 --- a/parser/testdata/00479_date_and_datetime_to_number/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toYYYYMM", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2017-07-21" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00480_mac_addresses/ast.json b/parser/testdata/00480_mac_addresses/ast.json deleted file mode 100644 index e6e440be26..0000000000 --- a/parser/testdata/00480_mac_addresses/ast.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "01:02:03:04:05:06" - }, - "alias": "mac_str" - }, - { - "name": "MACStringToNum", - "arguments": [ - { - "parts": [ - "mac_str" - ] - } - ], - "alias": "mac_num" - }, - { - "name": "hex", - "arguments": [ - { - "parts": [ - "mac_num" - ] - } - ] - }, - { - "name": "MACNumToString", - "arguments": [ - { - "parts": [ - "mac_num" - ] - } - ], - "alias": "mac_str2" - }, - { - "left": { - "parts": [ - "mac_str" - ] - }, - "op": "=", - "right": { - "parts": [ - "mac_str2" - ] - } - }, - { - "name": "MACStringToOUI", - "arguments": [ - { - "parts": [ - "mac_str" - ] - } - ], - "alias": "oui_num" - }, - { - "name": "hex", - "arguments": [ - { - "parts": [ - "oui_num" - ] - } - ] - }, - { - "name": "MACStringToOUI", - "arguments": [ - { - "name": "substring", - "arguments": [ - { - "parts": [ - "mac_str" - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ], - "alias": "oui_num2" - }, - { - "left": { - "parts": [ - "oui_num" - ] - }, - "op": "=", - "right": { - "parts": [ - "oui_num2" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00481_create_view_for_null/ast.json b/parser/testdata/00481_create_view_for_null/ast.json deleted file mode 100644 index bf66d00101..0000000000 --- a/parser/testdata/00481_create_view_for_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_00481", - "tables": [ - { - "table": "null_00481" - } - ] -} diff --git a/parser/testdata/00481_reading_from_last_granula/ast.json b/parser/testdata/00481_reading_from_last_granula/ast.json deleted file mode 100644 index d394c5ca61..0000000000 --- a/parser/testdata/00481_reading_from_last_granula/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00481", - "tables": [ - { - "table": "tab_00481" - } - ] -} diff --git a/parser/testdata/00482_subqueries_and_aliases/ast.json b/parser/testdata/00482_subqueries_and_aliases/ast.json deleted file mode 100644 index 62627190c5..0000000000 --- a/parser/testdata/00482_subqueries_and_aliases/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "where": { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "parts": [ - "x" - ] - } - ] - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00483_cast_syntax/ast.json b/parser/testdata/00483_cast_syntax/ast.json deleted file mode 100644 index a8ef40a3f1..0000000000 --- a/parser/testdata/00483_cast_syntax/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "Int8" - } - } - ] - } - ] -} diff --git a/parser/testdata/00483_reading_from_array_structure/ast.json b/parser/testdata/00483_reading_from_array_structure/ast.json deleted file mode 100644 index fae6bd7679..0000000000 --- a/parser/testdata/00483_reading_from_array_structure/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_00483", - "tables": [ - { - "table": "table_00483" - } - ] -} diff --git a/parser/testdata/00484_preferred_max_column_in_block_size_bytes/ast.json b/parser/testdata/00484_preferred_max_column_in_block_size_bytes/ast.json deleted file mode 100644 index ab2e57dc4f..0000000000 --- a/parser/testdata/00484_preferred_max_column_in_block_size_bytes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00484", - "tables": [ - { - "table": "tab_00484" - } - ] -} diff --git a/parser/testdata/00486_if_fixed_string/ast.json b/parser/testdata/00486_if_fixed_string/ast.json deleted file mode 100644 index 5dbd66f149..0000000000 --- a/parser/testdata/00486_if_fixed_string/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "String", - "value": "hello" - }, - "else": { - "type": "String", - "value": "world" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - } - } - ] -} diff --git a/parser/testdata/00487_if_array_fixed_string/ast.json b/parser/testdata/00487_if_array_fixed_string/ast.json deleted file mode 100644 index fadff73eef..0000000000 --- a/parser/testdata/00487_if_array_fixed_string/ast.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "toFixedString", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 5 - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - }, - "else": { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "toFixedString", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 5 - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - }, - { - "type": "String", - "value": "c" - } - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 4 - } - } - ] -} diff --git a/parser/testdata/00488_column_name_primary/ast.json b/parser/testdata/00488_column_name_primary/ast.json deleted file mode 100644 index d0e38d174d..0000000000 --- a/parser/testdata/00488_column_name_primary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "primary", - "tables": [ - { - "table": "primary" - } - ] -} diff --git a/parser/testdata/00488_non_ascii_column_names/ast.json b/parser/testdata/00488_non_ascii_column_names/ast.json deleted file mode 100644 index 60e8edef94..0000000000 --- a/parser/testdata/00488_non_ascii_column_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "non_ascii", - "tables": [ - { - "table": "non_ascii" - } - ] -} diff --git a/parser/testdata/00489_pk_subexpression/ast.json b/parser/testdata/00489_pk_subexpression/ast.json deleted file mode 100644 index c08cf9ed47..0000000000 --- a/parser/testdata/00489_pk_subexpression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk", - "tables": [ - { - "table": "pk" - } - ] -} diff --git a/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/ast.json b/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/ast.json deleted file mode 100644 index d63662b232..0000000000 --- a/parser/testdata/00490_special_line_separators_and_characters_outside_of_bmp/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visitParamExtractString", - "arguments": [ - { - "type": "String", - "value": "{\"x\":\"\\uD800\\udf38\"}" - }, - { - "type": "String", - "value": "x" - } - ], - "alias": "x" - }, - { - "name": "visitParamExtractString", - "arguments": [ - { - "type": "String", - "value": "{\"x\":\"Hello \\u2028 World \\u2029 !\"}" - }, - { - "type": "String", - "value": "x" - } - ], - "alias": "y" - } - ], - "format": { - "parts": [ - "JSONEachRow" - ] - } - } - ] -} diff --git a/parser/testdata/00490_with_select/ast.json b/parser/testdata/00490_with_select/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00490_with_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/ast.json b/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/ast.json deleted file mode 100644 index 53f5c4bdbb..0000000000 --- a/parser/testdata/00491_shard_distributed_and_aliases_in_where_having/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ] - }, - { - "expr": { - "op": "NOT", - "operand": { - "parts": [ - "dummy" - ] - } - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "dummy" - ] - } - ], - "having": { - "parts": [ - "x" - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00492_drop_temporary_table/ast.json b/parser/testdata/00492_drop_temporary_table/ast.json deleted file mode 100644 index 701f821ded..0000000000 --- a/parser/testdata/00492_drop_temporary_table/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "temp_tab", - "tables": [ - { - "table": "temp_tab" - } - ], - "temporary": true -} diff --git a/parser/testdata/00494_shard_alias_substitution_bug/ast.json b/parser/testdata/00494_shard_alias_substitution_bug/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/00494_shard_alias_substitution_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/00495_reading_const_zero_column/ast.json b/parser/testdata/00495_reading_const_zero_column/ast.json deleted file mode 100644 index fd3045602e..0000000000 --- a/parser/testdata/00495_reading_const_zero_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "one_table", - "tables": [ - { - "table": "one_table" - } - ] -} diff --git a/parser/testdata/00498_array_functions_concat_slice_push_pop/ast.json b/parser/testdata/00498_array_functions_concat_slice_push_pop/ast.json deleted file mode 100644 index 769bbc8174..0000000000 --- a/parser/testdata/00498_array_functions_concat_slice_push_pop/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "const args" - } - ] - } - ] -} diff --git a/parser/testdata/00498_bitwise_aggregate_functions/ast.json b/parser/testdata/00498_bitwise_aggregate_functions/ast.json deleted file mode 100644 index 7ddb439449..0000000000 --- a/parser/testdata/00498_bitwise_aggregate_functions/ast.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 4 - } - }, - "alias": "k" - }, - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "groupBitOr", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "groupBitAnd", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "groupBitXor", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00499_json_enum_insert/ast.json b/parser/testdata/00499_json_enum_insert/ast.json deleted file mode 100644 index 479ac9dd43..0000000000 --- a/parser/testdata/00499_json_enum_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "json", - "tables": [ - { - "table": "json" - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon/ast.json b/parser/testdata/00500_point_in_polygon/ast.json deleted file mode 100644 index 30e0cfdadd..0000000000 --- a/parser/testdata/00500_point_in_polygon/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "inner" - } - ] - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_2d_const/ast.json b/parser/testdata/00500_point_in_polygon_2d_const/ast.json deleted file mode 100644 index b12559290a..0000000000 --- a/parser/testdata/00500_point_in_polygon_2d_const/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "pointInPolygon", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_3d_const/ast.json b/parser/testdata/00500_point_in_polygon_3d_const/ast.json deleted file mode 100644 index ddcd63a257..0000000000 --- a/parser/testdata/00500_point_in_polygon_3d_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "points_test", - "tables": [ - { - "table": "points_test" - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_bug/ast.json b/parser/testdata/00500_point_in_polygon_bug/ast.json deleted file mode 100644 index 8da7916ef4..0000000000 --- a/parser/testdata/00500_point_in_polygon_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "coords", - "tables": [ - { - "table": "coords" - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_bug_2/ast.json b/parser/testdata/00500_point_in_polygon_bug_2/ast.json deleted file mode 100644 index e658c06d88..0000000000 --- a/parser/testdata/00500_point_in_polygon_bug_2/ast.json +++ /dev/null @@ -1,174 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "pointInPolygon", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 35.45285 - }, - { - "type": "Float", - "value": 58.72587 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 32.947998 - }, - { - "type": "Float", - "value": 59.506455 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 34.222412 - }, - { - "type": "Float", - "value": 59.215312 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 33.343506 - }, - { - "type": "Float", - "value": 58.551061 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 34.859619 - }, - { - "type": "Float", - "value": 58.938673 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 36.463623 - }, - { - "type": "Float", - "value": 58.528125 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 35.397949 - }, - { - "type": "Float", - "value": 59.215312 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 36.804199 - }, - { - "type": "Float", - "value": 59.495303 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 35.2771 - }, - { - "type": "Float", - "value": 59.50088 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 34.892578 - }, - { - "type": "Float", - "value": 60.267066 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 34.343262 - }, - { - "type": "Float", - "value": 59.517603 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 32.947998 - }, - { - "type": "Float", - "value": 59.506455 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/ast.json b/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/ast.json deleted file mode 100644 index 75885b723c..0000000000 --- a/parser/testdata/00500_point_in_polygon_bug_3_linestring_rotation_precision/ast.json +++ /dev/null @@ -1,4607 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "pointInPolygon", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6671509 - }, - { - "type": "Float", - "value": 10.7674952 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667161868227 - }, - { - "type": "Float", - "value": 10.7674952 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667165727127 - }, - { - "type": "Float", - "value": 10.7675059912261 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667170817563 - }, - { - "type": "Float", - "value": 10.7674904752629 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667229225265 - }, - { - "type": "Float", - "value": 10.7672278502066 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667231193621 - }, - { - "type": "Float", - "value": 10.7672115129572 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667229912029 - }, - { - "type": "Float", - "value": 10.7671951075415 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667225430503 - }, - { - "type": "Float", - "value": 10.767179274157 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667217923927 - }, - { - "type": "Float", - "value": 10.7671646306786 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667207685234 - }, - { - "type": "Float", - "value": 10.7671517485471 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667195113975 - }, - { - "type": "Float", - "value": 10.7671411304688 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667180700725 - }, - { - "type": "Float", - "value": 10.7671331907989 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66716500794 - }, - { - "type": "Float", - "value": 10.7671282393715 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666628232995 - }, - { - "type": "Float", - "value": 10.7670156787539 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666612233649 - }, - { - "type": "Float", - "value": 10.7670139127584 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666596193354 - }, - { - "type": "Float", - "value": 10.7670152569112 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666580711053 - }, - { - "type": "Float", - "value": 10.7670196610218 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666566364856 - }, - { - "type": "Float", - "value": 10.7670269606408 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666553690448 - }, - { - "type": "Float", - "value": 10.7670368832008 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666543161092 - }, - { - "type": "Float", - "value": 10.767049058194 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666535169952 - }, - { - "type": "Float", - "value": 10.7670630310067 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666530015418 - }, - { - "type": "Float", - "value": 10.7670782798948 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666482284259 - }, - { - "type": "Float", - "value": 10.7672828714379 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666480170141 - }, - { - "type": "Float", - "value": 10.7672985245675 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666481048788 - }, - { - "type": "Float", - "value": 10.7673142953614 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666484888609 - }, - { - "type": "Float", - "value": 10.7673296167758 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666491551541 - }, - { - "type": "Float", - "value": 10.7673439379244 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666500798017 - }, - { - "type": "Float", - "value": 10.7673567438858 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666512295576 - }, - { - "type": "Float", - "value": 10.7673675742178 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666525630821 - }, - { - "type": "Float", - "value": 10.7673760395122 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667032331859 - }, - { - "type": "Float", - "value": 10.7676338521733 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6671413386 - }, - { - "type": "Float", - "value": 10.7676893154858 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667371048786 - }, - { - "type": "Float", - "value": 10.7678061934666 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667552760053 - }, - { - "type": "Float", - "value": 10.7678987010209 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667801848625 - }, - { - "type": "Float", - "value": 10.7680278028917 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667817742281 - }, - { - "type": "Float", - "value": 10.7680340673957 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667834579682 - }, - { - "type": "Float", - "value": 10.7680369577679 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66785165264 - }, - { - "type": "Float", - "value": 10.7680363524383 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667868243061 - }, - { - "type": "Float", - "value": 10.7680322768672 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667878683314 - }, - { - "type": "Float", - "value": 10.7680285412847 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667885469819 - }, - { - "type": "Float", - "value": 10.7680268413536 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667892390269 - }, - { - "type": "Float", - "value": 10.7680258148018 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667899378015 - }, - { - "type": "Float", - "value": 10.7680254715159 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667906365761 - }, - { - "type": "Float", - "value": 10.7680258148018 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667913286211 - }, - { - "type": "Float", - "value": 10.7680268413536 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667920072716 - }, - { - "type": "Float", - "value": 10.7680285412847 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667926659921 - }, - { - "type": "Float", - "value": 10.7680308982244 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667932984386 - }, - { - "type": "Float", - "value": 10.7680338894736 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667938985204 - }, - { - "type": "Float", - "value": 10.7680374862253 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667944604583 - }, - { - "type": "Float", - "value": 10.7680416538412 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667949788405 - }, - { - "type": "Float", - "value": 10.7680463521828 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667954486747 - }, - { - "type": "Float", - "value": 10.7680515360051 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667958654362 - }, - { - "type": "Float", - "value": 10.7680571553826 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667962251113 - }, - { - "type": "Float", - "value": 10.7680631561994 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667965242363 - }, - { - "type": "Float", - "value": 10.7680694806664 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667967599303 - }, - { - "type": "Float", - "value": 10.7680760678724 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667969299234 - }, - { - "type": "Float", - "value": 10.7680828543774 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667970926246 - }, - { - "type": "Float", - "value": 10.7680938227996 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667974657027 - }, - { - "type": "Float", - "value": 10.7681089916695 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667981154238 - }, - { - "type": "Float", - "value": 10.7681231972879 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667990189396 - }, - { - "type": "Float", - "value": 10.7681359400994 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668001444773 - }, - { - "type": "Float", - "value": 10.7681467719897 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668014524559 - }, - { - "type": "Float", - "value": 10.7681553120441 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668198488147 - }, - { - "type": "Float", - "value": 10.7682521458591 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669562015793 - }, - { - "type": "Float", - "value": 10.7689901124345 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669614757162 - }, - { - "type": "Float", - "value": 10.7690820717448 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669623023723 - }, - { - "type": "Float", - "value": 10.7690939566151 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669633223154 - }, - { - "type": "Float", - "value": 10.7691042307472 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669645047385 - }, - { - "type": "Float", - "value": 10.7691125838155 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.670748051536 - }, - { - "type": "Float", - "value": 10.7697559307954 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.670751419717 - }, - { - "type": "Float", - "value": 10.7697577924329 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671035494073 - }, - { - "type": "Float", - "value": 10.7699063431327 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671270162713 - }, - { - "type": "Float", - "value": 10.7700364834325 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67127192876 - }, - { - "type": "Float", - "value": 10.7700374352053 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671437929267 - }, - { - "type": "Float", - "value": 10.7701243344783 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671665917937 - }, - { - "type": "Float", - "value": 10.7702517637461 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67166656035 - }, - { - "type": "Float", - "value": 10.7702521191025 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671943689514 - }, - { - "type": "Float", - "value": 10.7704038245574 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671943806749 - }, - { - "type": "Float", - "value": 10.7704038886117 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6722776446 - }, - { - "type": "Float", - "value": 10.7705859421916 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.672278295949 - }, - { - "type": "Float", - "value": 10.7705862936499 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673020324076 - }, - { - "type": "Float", - "value": 10.7709824352208 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673433726727 - }, - { - "type": "Float", - "value": 10.7712057751884 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673694081332 - }, - { - "type": "Float", - "value": 10.7713489702214 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673977066657 - }, - { - "type": "Float", - "value": 10.7715146655761 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674254247937 - }, - { - "type": "Float", - "value": 10.7716778144336 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67440928634 - }, - { - "type": "Float", - "value": 10.7717698954974 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674658478275 - }, - { - "type": "Float", - "value": 10.7719268836667 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674658802254 - }, - { - "type": "Float", - "value": 10.7719270867325 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6748919449 - }, - { - "type": "Float", - "value": 10.7720724734391 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675071660589 - }, - { - "type": "Float", - "value": 10.7721853602936 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675350447469 - }, - { - "type": "Float", - "value": 10.7723606751059 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675350748696 - }, - { - "type": "Float", - "value": 10.7723608636368 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6756252856 - }, - { - "type": "Float", - "value": 10.7725318758852 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675888735092 - }, - { - "type": "Float", - "value": 10.7726957126602 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676114500069 - }, - { - "type": "Float", - "value": 10.7728361211927 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676379504941 - }, - { - "type": "Float", - "value": 10.7730007692002 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67661713771 - }, - { - "type": "Float", - "value": 10.7731502653527 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676617572241 - }, - { - "type": "Float", - "value": 10.773150536857 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676852995814 - }, - { - "type": "Float", - "value": 10.7732966297465 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677284352687 - }, - { - "type": "Float", - "value": 10.7735807849214 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677738143311 - }, - { - "type": "Float", - "value": 10.7738851794554 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677752655777 - }, - { - "type": "Float", - "value": 10.7738929549383 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677768414072 - }, - { - "type": "Float", - "value": 10.773897724206 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677784802596 - }, - { - "type": "Float", - "value": 10.7738993009456 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677801181124 - }, - { - "type": "Float", - "value": 10.7738976235612 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677816909825 - }, - { - "type": "Float", - "value": 10.7738927575805 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677831374252 - }, - { - "type": "Float", - "value": 10.7738848930944 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677844009349 - }, - { - "type": "Float", - "value": 10.7738743373313 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677920079221 - }, - { - "type": "Float", - "value": 10.7737967983562 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678239245717 - }, - { - "type": "Float", - "value": 10.7735243703649 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67839926068 - }, - { - "type": "Float", - "value": 10.7733892116467 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678400691571 - }, - { - "type": "Float", - "value": 10.7733879749217 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678515896101 - }, - { - "type": "Float", - "value": 10.7732860955802 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678557979259 - }, - { - "type": "Float", - "value": 10.7732504310319 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67855930664 - }, - { - "type": "Float", - "value": 10.7732492818517 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679033975331 - }, - { - "type": "Float", - "value": 10.7728295048433 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679053201911 - }, - { - "type": "Float", - "value": 10.772844898411 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679632133733 - }, - { - "type": "Float", - "value": 10.7733262832973 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679771732358 - }, - { - "type": "Float", - "value": 10.7734524450384 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679773325229 - }, - { - "type": "Float", - "value": 10.7734538481348 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680011463819 - }, - { - "type": "Float", - "value": 10.7736582857586 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680175801881 - }, - { - "type": "Float", - "value": 10.7738018862846 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680176891116 - }, - { - "type": "Float", - "value": 10.7738028216402 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680320149367 - }, - { - "type": "Float", - "value": 10.773923712053 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680672123374 - }, - { - "type": "Float", - "value": 10.7742204563391 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68094213423 - }, - { - "type": "Float", - "value": 10.7744504786771 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68094233625 - }, - { - "type": "Float", - "value": 10.7744506502241 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68124725775 - }, - { - "type": "Float", - "value": 10.7747087432576 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681247329066 - }, - { - "type": "Float", - "value": 10.7747088035527 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681470746982 - }, - { - "type": "Float", - "value": 10.7748974804345 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681471338135 - }, - { - "type": "Float", - "value": 10.7748979749973 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681840030697 - }, - { - "type": "Float", - "value": 10.7752035373868 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682304929691 - }, - { - "type": "Float", - "value": 10.7756040772245 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682308650112 - }, - { - "type": "Float", - "value": 10.7756071005185 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682312917236 - }, - { - "type": "Float", - "value": 10.7756103687835 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682359764439 - }, - { - "type": "Float", - "value": 10.7756490693986 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682640114944 - }, - { - "type": "Float", - "value": 10.7758996628849 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682644070655 - }, - { - "type": "Float", - "value": 10.7759029839554 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682711710544 - }, - { - "type": "Float", - "value": 10.7759562859055 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682806505954 - }, - { - "type": "Float", - "value": 10.7760368956153 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68280745353 - }, - { - "type": "Float", - "value": 10.776037689352 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683169164535 - }, - { - "type": "Float", - "value": 10.7763361378178 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68363265876 - }, - { - "type": "Float", - "value": 10.7767252395911 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683677875719 - }, - { - "type": "Float", - "value": 10.7767650291442 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683797775698 - }, - { - "type": "Float", - "value": 10.77688614766 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.684138558845 - }, - { - "type": "Float", - "value": 10.7772306328105 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68414063031 - }, - { - "type": "Float", - "value": 10.7772326552454 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.684827531639 - }, - { - "type": "Float", - "value": 10.777880369263 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.685228619785 - }, - { - "type": "Float", - "value": 10.7782605077038 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.685228896163 - }, - { - "type": "Float", - "value": 10.7782607684525 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686025996525 - }, - { - "type": "Float", - "value": 10.7790093622583 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686026813787 - }, - { - "type": "Float", - "value": 10.7790101368229 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68658269265 - }, - { - "type": "Float", - "value": 10.7795369738106 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.687194479537 - }, - { - "type": "Float", - "value": 10.7801158277128 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.688401155505 - }, - { - "type": "Float", - "value": 10.7812670656457 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.688401571342 - }, - { - "type": "Float", - "value": 10.7812674596561 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.689622367701 - }, - { - "type": "Float", - "value": 10.7824162362891 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690002723257 - }, - { - "type": "Float", - "value": 10.7827815572149 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690002908997 - }, - { - "type": "Float", - "value": 10.7827817350625 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690359062158 - }, - { - "type": "Float", - "value": 10.7831217027417 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690359638585 - }, - { - "type": "Float", - "value": 10.7831222477508 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690747557266 - }, - { - "type": "Float", - "value": 10.7834855403784 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.691628272565 - }, - { - "type": "Float", - "value": 10.7843952548301 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692179613338 - }, - { - "type": "Float", - "value": 10.7849709155958 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692179802225 - }, - { - "type": "Float", - "value": 10.7849711121697 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692743910048 - }, - { - "type": "Float", - "value": 10.7855562574979 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693288875836 - }, - { - "type": "Float", - "value": 10.7861225208133 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693601234729 - }, - { - "type": "Float", - "value": 10.7864484801726 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69220838651 - }, - { - "type": "Float", - "value": 10.7875617536129 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692196691453 - }, - { - "type": "Float", - "value": 10.787573150248 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692187444486 - }, - { - "type": "Float", - "value": 10.7875866094924 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692181000965 - }, - { - "type": "Float", - "value": 10.7876016141149 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692177608512 - }, - { - "type": "Float", - "value": 10.7876175874962 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692177397496 - }, - { - "type": "Float", - "value": 10.7876339157883 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692180376026 - }, - { - "type": "Float", - "value": 10.7876499715041 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692186429639 - }, - { - "type": "Float", - "value": 10.7876651376314 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692195325699 - }, - { - "type": "Float", - "value": 10.7876788313445 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692206722334 - }, - { - "type": "Float", - "value": 10.7876905264015 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692220181578 - }, - { - "type": "Float", - "value": 10.7876997733682 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692235186201 - }, - { - "type": "Float", - "value": 10.7877062168886 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692251159582 - }, - { - "type": "Float", - "value": 10.787709609342 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692267487874 - }, - { - "type": "Float", - "value": 10.7877098203582 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69228354359 - }, - { - "type": "Float", - "value": 10.7877068418281 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692298709717 - }, - { - "type": "Float", - "value": 10.7877007882148 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69231240343 - }, - { - "type": "Float", - "value": 10.7876918921553 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693776442708 - }, - { - "type": "Float", - "value": 10.7865217172423 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693788736175 - }, - { - "type": "Float", - "value": 10.7865096022178 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693798269005 - }, - { - "type": "Float", - "value": 10.7864952137411 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693804631934 - }, - { - "type": "Float", - "value": 10.7864791695437 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693807551784 - }, - { - "type": "Float", - "value": 10.7864621584413 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693806903199 - }, - { - "type": "Float", - "value": 10.7864449107613 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693802714026 - }, - { - "type": "Float", - "value": 10.7864281669878 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693795164114 - }, - { - "type": "Float", - "value": 10.786412645971 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.693784577601 - }, - { - "type": "Float", - "value": 10.7863990140651 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69340910087 - }, - { - "type": "Float", - "value": 10.7860071886444 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69340897739 - }, - { - "type": "Float", - "value": 10.7860070600637 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.692863924954 - }, - { - "type": "Float", - "value": 10.7854407067139 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.69229983717 - }, - { - "type": "Float", - "value": 10.7848555821281 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.691748435669 - }, - { - "type": "Float", - "value": 10.7842798579551 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.691748124777 - }, - { - "type": "Float", - "value": 10.7842795350934 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690865834778 - }, - { - "type": "Float", - "value": 10.7833681940925 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690862927107 - }, - { - "type": "Float", - "value": 10.7833653342196 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690473809086 - }, - { - "type": "Float", - "value": 10.7830009183885 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.690118035849 - }, - { - "type": "Float", - "value": 10.7826613133679 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.689737465891 - }, - { - "type": "Float", - "value": 10.7822957865149 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.689736848623 - }, - { - "type": "Float", - "value": 10.7822951996834 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.688515950726 - }, - { - "type": "Float", - "value": 10.7811463275029 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.687309357068 - }, - { - "type": "Float", - "value": 10.7799951680976 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.687309106711 - }, - { - "type": "Float", - "value": 10.779994930232 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686697270266 - }, - { - "type": "Float", - "value": 10.7794160294802 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686141416688 - }, - { - "type": "Float", - "value": 10.7788892164565 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686140461741 - }, - { - "type": "Float", - "value": 10.7788883114 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.686140185762 - }, - { - "type": "Float", - "value": 10.7788880510296 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6853430856 - }, - { - "type": "Float", - "value": 10.7781394574112 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.684942058447 - }, - { - "type": "Float", - "value": 10.7777593767781 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.684941904463 - }, - { - "type": "Float", - "value": 10.7777592312084 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.684255979358 - }, - { - "type": "Float", - "value": 10.7771124377212 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683916204215 - }, - { - "type": "Float", - "value": 10.776768971525 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683794256559 - }, - { - "type": "Float", - "value": 10.7766457845149 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68379008676 - }, - { - "type": "Float", - "value": 10.7766418525893 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683741989497 - }, - { - "type": "Float", - "value": 10.7765995284558 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683740519326 - }, - { - "type": "Float", - "value": 10.7765982647987 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683276011394 - }, - { - "type": "Float", - "value": 10.7762083120217 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.683275466929 - }, - { - "type": "Float", - "value": 10.7762078588774 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68291395946 - }, - { - "type": "Float", - "value": 10.77590957835 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682818451152 - }, - { - "type": "Float", - "value": 10.775828362424 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682816046951 - }, - { - "type": "Float", - "value": 10.7758263940715 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682749215964 - }, - { - "type": "Float", - "value": 10.7757737295564 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682469581984 - }, - { - "type": "Float", - "value": 10.775523776542 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682467121137 - }, - { - "type": "Float", - "value": 10.7755216616573 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682417839663 - }, - { - "type": "Float", - "value": 10.775480950083 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.68241543796 - }, - { - "type": "Float", - "value": 10.7754790393628 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.682411856108 - }, - { - "type": "Float", - "value": 10.7754762959601 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681948170223 - }, - { - "type": "Float", - "value": 10.775076801292 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681946953215 - }, - { - "type": "Float", - "value": 10.7750757728772 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681577943952 - }, - { - "type": "Float", - "value": 10.7747699480145 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681354856141 - }, - { - "type": "Float", - "value": 10.7745815499075 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.681050071432 - }, - { - "type": "Float", - "value": 10.7743235726569 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680779998801 - }, - { - "type": "Float", - "value": 10.774093497693 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680779672798 - }, - { - "type": "Float", - "value": 10.7740932214111 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680427578845 - }, - { - "type": "Float", - "value": 10.7737963760106 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680284883706 - }, - { - "type": "Float", - "value": 10.7736759607876 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680120811518 - }, - { - "type": "Float", - "value": 10.7735325925854 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.680120259999 - }, - { - "type": "Float", - "value": 10.7735321149047 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679882649978 - }, - { - "type": "Float", - "value": 10.7733281310479 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679742564868 - }, - { - "type": "Float", - "value": 10.7732015296478 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67973997054 - }, - { - "type": "Float", - "value": 10.7731992804165 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679159125009 - }, - { - "type": "Float", - "value": 10.772716304271 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679157929246 - }, - { - "type": "Float", - "value": 10.7727153285815 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679083371982 - }, - { - "type": "Float", - "value": 10.7726556350576 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679069423592 - }, - { - "type": "Float", - "value": 10.7726465921904 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679053957365 - }, - { - "type": "Float", - "value": 10.7726404990091 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679037589221 - }, - { - "type": "Float", - "value": 10.7726375981655 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679020970997 - }, - { - "type": "Float", - "value": 10.7726380051815 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.679004764489 - }, - { - "type": "Float", - "value": 10.7726417038483 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678989615098 - }, - { - "type": "Float", - "value": 10.7726485468719 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678976126125 - }, - { - "type": "Float", - "value": 10.772658261739 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678449597495 - }, - { - "type": "Float", - "value": 10.7731239014943 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678407514754 - }, - { - "type": "Float", - "value": 10.773159565689 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678406188192 - }, - { - "type": "Float", - "value": 10.7731607141448 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678291034854 - }, - { - "type": "Float", - "value": 10.7732625482153 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678131577851 - }, - { - "type": "Float", - "value": 10.7733972356454 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.678131249559 - }, - { - "type": "Float", - "value": 10.7733975143985 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677809116892 - }, - { - "type": "Float", - "value": 10.7736724741964 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677803734254 - }, - { - "type": "Float", - "value": 10.7736774962862 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.67777351642 - }, - { - "type": "Float", - "value": 10.773708297704 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677376870851 - }, - { - "type": "Float", - "value": 10.7734422350384 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.677376291861 - }, - { - "type": "Float", - "value": 10.7734418501559 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676943701895 - }, - { - "type": "Float", - "value": 10.7731568826838 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676941799819 - }, - { - "type": "Float", - "value": 10.7731556663352 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676705634648 - }, - { - "type": "Float", - "value": 10.7730091132449 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676468020922 - }, - { - "type": "Float", - "value": 10.7728596290723 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676467624617 - }, - { - "type": "Float", - "value": 10.7728593813034 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.676202468827 - }, - { - "type": "Float", - "value": 10.7726946395397 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675976718772 - }, - { - "type": "Float", - "value": 10.7725542402878 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675713344944 - }, - { - "type": "Float", - "value": 10.7723904505946 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675438984881 - }, - { - "type": "Float", - "value": 10.7722195485022 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.675160330528 - }, - { - "type": "Float", - "value": 10.7720443170291 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674980445983 - }, - { - "type": "Float", - "value": 10.7719313240966 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674980215342 - }, - { - "type": "Float", - "value": 10.7719311797465 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674747119479 - }, - { - "type": "Float", - "value": 10.7717858222138 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674497164595 - }, - { - "type": "Float", - "value": 10.7716283533947 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674495300219 - }, - { - "type": "Float", - "value": 10.7716272127471 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674339180867 - }, - { - "type": "Float", - "value": 10.7715344896819 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674338897981 - }, - { - "type": "Float", - "value": 10.771534322423 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674061493048 - }, - { - "type": "Float", - "value": 10.7713710419232 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.674061328848 - }, - { - "type": "Float", - "value": 10.7713709455279 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673777295695 - }, - { - "type": "Float", - "value": 10.7712046366425 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673775349509 - }, - { - "type": "Float", - "value": 10.7712035319333 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673513740027 - }, - { - "type": "Float", - "value": 10.7710596467179 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673513190173 - }, - { - "type": "Float", - "value": 10.7710593469847 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673099330442 - }, - { - "type": "Float", - "value": 10.7708357600807 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.673098966779 - }, - { - "type": "Float", - "value": 10.7708355647753 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.672357083034 - }, - { - "type": "Float", - "value": 10.7704395002842 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.672023628724 - }, - { - "type": "Float", - "value": 10.7702576558632 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671746880137 - }, - { - "type": "Float", - "value": 10.7701061587426 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671518215262 - }, - { - "type": "Float", - "value": 10.7699783515251 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671516207112 - }, - { - "type": "Float", - "value": 10.7699772649622 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671350083838 - }, - { - "type": "Float", - "value": 10.7698903014222 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671115399209 - }, - { - "type": "Float", - "value": 10.7697601522552 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.671113600766 - }, - { - "type": "Float", - "value": 10.7697591835329 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.670830326847 - }, - { - "type": "Float", - "value": 10.7696110514048 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66974820551 - }, - { - "type": "Float", - "value": 10.7689798847013 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66969475177 - }, - { - "type": "Float", - "value": 10.7688866833063 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669685913661 - }, - { - "type": "Float", - "value": 10.7688741199651 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669674918986 - }, - { - "type": "Float", - "value": 10.7688633930448 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.669662141606 - }, - { - "type": "Float", - "value": 10.7688548673033 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668277363011 - }, - { - "type": "Float", - "value": 10.7681053993183 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668276514094 - }, - { - "type": "Float", - "value": 10.7681049461882 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668126503268 - }, - { - "type": "Float", - "value": 10.7680259842551 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668125839186 - }, - { - "type": "Float", - "value": 10.7680237950692 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66812072496 - }, - { - "type": "Float", - "value": 10.7680095017658 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668117596648 - }, - { - "type": "Float", - "value": 10.7680019493532 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66811110606 - }, - { - "type": "Float", - "value": 10.7679882261576 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668107252546 - }, - { - "type": "Float", - "value": 10.7679810167398 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668099448104 - }, - { - "type": "Float", - "value": 10.7679679958141 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668094906497 - }, - { - "type": "Float", - "value": 10.767961198818 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668085863361 - }, - { - "type": "Float", - "value": 10.7679490055608 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668080677403 - }, - { - "type": "Float", - "value": 10.7679426864524 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668070482664 - }, - { - "type": "Float", - "value": 10.7679314382913 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668064702296 - }, - { - "type": "Float", - "value": 10.7679256579236 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668053454135 - }, - { - "type": "Float", - "value": 10.7679154631847 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668047135024 - }, - { - "type": "Float", - "value": 10.7679102772246 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668034941766 - }, - { - "type": "Float", - "value": 10.7679012340887 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668028144776 - }, - { - "type": "Float", - "value": 10.7678966924853 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668015123851 - }, - { - "type": "Float", - "value": 10.7678888880428 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.668007914429 - }, - { - "type": "Float", - "value": 10.7678850345264 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667994191233 - }, - { - "type": "Float", - "value": 10.7678785439383 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667986638821 - }, - { - "type": "Float", - "value": 10.7678754156266 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667972345518 - }, - { - "type": "Float", - "value": 10.7678703014008 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667964522841 - }, - { - "type": "Float", - "value": 10.7678679284177 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667949797082 - }, - { - "type": "Float", - "value": 10.7678642398071 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667941779481 - }, - { - "type": "Float", - "value": 10.7678626450072 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667926763083 - }, - { - "type": "Float", - "value": 10.767860417535 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667918627772 - }, - { - "type": "Float", - "value": 10.7678596162768 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667903465352 - }, - { - "type": "Float", - "value": 10.7678588713949 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667895290678 - }, - { - "type": "Float", - "value": 10.7678588713949 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667880128258 - }, - { - "type": "Float", - "value": 10.7678596162768 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667871992947 - }, - { - "type": "Float", - "value": 10.767860417535 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667856976549 - }, - { - "type": "Float", - "value": 10.7678626450072 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667848958948 - }, - { - "type": "Float", - "value": 10.7678642398071 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667848526162 - }, - { - "type": "Float", - "value": 10.7678643482145 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667629153721 - }, - { - "type": "Float", - "value": 10.7677506481269 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667628614008 - }, - { - "type": "Float", - "value": 10.7677503708842 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.66744662399 - }, - { - "type": "Float", - "value": 10.7676577214203 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667216888626 - }, - { - "type": "Float", - "value": 10.7675408306262 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667161868227 - }, - { - "type": "Float", - "value": 10.7675128359024 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667012119458 - }, - { - "type": "Float", - "value": 10.7674366427911 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666659357657 - }, - { - "type": "Float", - "value": 10.7672571553777 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.666673753979 - }, - { - "type": "Float", - "value": 10.7671954479766 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.667048293768 - }, - { - "type": "Float", - "value": 10.7672739882109 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 106.6670141 - }, - { - "type": "Float", - "value": 10.7674274 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_empty_bound/ast.json b/parser/testdata/00500_point_in_polygon_empty_bound/ast.json deleted file mode 100644 index 98d4d8c6dc..0000000000 --- a/parser/testdata/00500_point_in_polygon_empty_bound/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "validate_polygons", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00500_point_in_polygon_non_const_poly/ast.json b/parser/testdata/00500_point_in_polygon_non_const_poly/ast.json deleted file mode 100644 index 3168171448..0000000000 --- a/parser/testdata/00500_point_in_polygon_non_const_poly/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "polygons", - "tables": [ - { - "table": "polygons" - } - ] -} diff --git a/parser/testdata/00502_custom_partitioning_local/ast.json b/parser/testdata/00502_custom_partitioning_local/ast.json deleted file mode 100644 index de0df7c229..0000000000 --- a/parser/testdata/00502_custom_partitioning_local/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "*** Not partitioned ***" - } - ] - } - ] -} diff --git a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/ast.json b/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/ast.json deleted file mode 100644 index 96ff9c3589..0000000000 --- a/parser/testdata/00502_custom_partitioning_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "replication_alter_partitions_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/00502_sum_map/ast.json b/parser/testdata/00502_sum_map/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00502_sum_map/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00504_mergetree_arrays_rw/ast.json b/parser/testdata/00504_mergetree_arrays_rw/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/00504_mergetree_arrays_rw/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00506_shard_global_in_union/ast.json b/parser/testdata/00506_shard_global_in_union/ast.json deleted file mode 100644 index 9476000898..0000000000 --- a/parser/testdata/00506_shard_global_in_union/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "X" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "X" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "Y" - } - ] - } - ] - } - } - } - } - ] - } - }, - { - "columns": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "X" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00506_union_distributed/ast.json b/parser/testdata/00506_union_distributed/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/00506_union_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00507_sumwithoverflow/ast.json b/parser/testdata/00507_sumwithoverflow/ast.json deleted file mode 100644 index a245d94a00..0000000000 --- a/parser/testdata/00507_sumwithoverflow/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "n" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toUInt16", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "n" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00508_materialized_view_to/ast.json b/parser/testdata/00508_materialized_view_to/ast.json deleted file mode 100644 index f432c33938..0000000000 --- a/parser/testdata/00508_materialized_view_to/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "src", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "Null" - } -} diff --git a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/ast.json b/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00509_extended_storage_definition_syntax_zookeeper/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/ast.json b/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/ast.json deleted file mode 100644 index 81390327d8..0000000000 --- a/parser/testdata/00510_materizlized_view_and_deduplication_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "with_deduplication", - "tables": [ - { - "table": "with_deduplication" - } - ] -} diff --git a/parser/testdata/00513_fractional_time_zones/ast.json b/parser/testdata/00513_fractional_time_zones/ast.json deleted file mode 100644 index d09341c8d6..0000000000 --- a/parser/testdata/00513_fractional_time_zones/ast.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "t", - "query": { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 1509138000 - } - ] - }, - "op": "+", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 300 - } - } - } - } - ], - "columns": [ - { - "name": "toHour", - "arguments": [ - { - "parts": [ - "t" - ] - }, - { - "type": "String", - "value": "Asia/Kolkata" - } - ], - "alias": "h" - }, - { - "name": "toString", - "arguments": [ - { - "name": "toStartOfHour", - "arguments": [ - { - "parts": [ - "t" - ] - }, - { - "type": "String", - "value": "Asia/Kolkata" - } - ] - }, - { - "type": "String", - "value": "Asia/Kolkata" - } - ], - "alias": "h_start" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 12 - } - } - ] -} diff --git a/parser/testdata/00514_interval_operators/ast.json b/parser/testdata/00514_interval_operators/ast.json deleted file mode 100644 index 9a04b5e1f7..0000000000 --- a/parser/testdata/00514_interval_operators/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Etc/UTC" - } - } - ] -} diff --git a/parser/testdata/00515_enhanced_time_zones/ast.json b/parser/testdata/00515_enhanced_time_zones/ast.json deleted file mode 100644 index a623c965d4..0000000000 --- a/parser/testdata/00515_enhanced_time_zones/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_snowflake_conversion_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00515_gcd_lcm/ast.json b/parser/testdata/00515_gcd_lcm/ast.json deleted file mode 100644 index 61969f2354..0000000000 --- a/parser/testdata/00515_gcd_lcm/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "gcd", - "arguments": [ - { - "type": "Integer", - "value": 1280 - }, - { - "type": "Integer", - "value": 1024 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00515_shard_desc_table_functions_and_subqueries/ast.json b/parser/testdata/00515_shard_desc_table_functions_and_subqueries/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/00515_shard_desc_table_functions_and_subqueries/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/ast.json b/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/ast.json deleted file mode 100644 index 6296792cda..0000000000 --- a/parser/testdata/00516_deduplication_after_drop_partition_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "deduplication_by_partition", - "tables": [ - { - "table": "deduplication_by_partition" - } - ] -} diff --git a/parser/testdata/00516_modulo/ast.json b/parser/testdata/00516_modulo/ast.json deleted file mode 100644 index 9a05a37cea..0000000000 --- a/parser/testdata/00516_modulo/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1000 - }, - "op": "%", - "right": { - "type": "Integer", - "value": 32 - } - } - ] - } - ] -} diff --git a/parser/testdata/00517_date_parsing/ast.json b/parser/testdata/00517_date_parsing/ast.json deleted file mode 100644 index e20beb6f68..0000000000 --- a/parser/testdata/00517_date_parsing/ast.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "2017-01-02" - }, - { - "type": "String", - "value": "2017-1-02" - }, - { - "type": "String", - "value": "2017-01-2" - }, - { - "type": "String", - "value": "2017-1-2" - }, - { - "type": "String", - "value": "2017/01/02" - }, - { - "type": "String", - "value": "2017/1/02" - }, - { - "type": "String", - "value": "2017/01/2" - }, - { - "type": "String", - "value": "2017/1/2" - }, - { - "type": "String", - "value": "2017-11-12" - } - ] - } - ], - "alias": "s" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00519_create_as_select_from_temporary_table/ast.json b/parser/testdata/00519_create_as_select_from_temporary_table/ast.json deleted file mode 100644 index a48731fa4d..0000000000 --- a/parser/testdata/00519_create_as_select_from_temporary_table/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1_00519", - "tables": [ - { - "table": "t1_00519" - } - ], - "temporary": true -} diff --git a/parser/testdata/00520_tuple_values_interpreter/ast.json b/parser/testdata/00520_tuple_values_interpreter/ast.json deleted file mode 100644 index 6be904fb03..0000000000 --- a/parser/testdata/00520_tuple_values_interpreter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tuple", - "tables": [ - { - "table": "tuple" - } - ] -} diff --git a/parser/testdata/00521_multidimensional/ast.json b/parser/testdata/00521_multidimensional/ast.json deleted file mode 100644 index 8dc186f738..0000000000 --- a/parser/testdata/00521_multidimensional/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "multidimensional", - "tables": [ - { - "table": "multidimensional" - } - ] -} diff --git a/parser/testdata/00522_multidimensional/ast.json b/parser/testdata/00522_multidimensional/ast.json deleted file mode 100644 index 8dc186f738..0000000000 --- a/parser/testdata/00522_multidimensional/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "multidimensional", - "tables": [ - { - "table": "multidimensional" - } - ] -} diff --git a/parser/testdata/00523_aggregate_functions_in_group_array/ast.json b/parser/testdata/00523_aggregate_functions_in_group_array/ast.json deleted file mode 100644 index cf64e95d8b..0000000000 --- a/parser/testdata/00523_aggregate_functions_in_group_array/ast.json +++ /dev/null @@ -1,173 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "key2" - ] - }, - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "uniqExactMerge" - }, - { - "parts": [ - "arr" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "key1" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - "alias": "key2" - }, - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "state" - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "alias": "key1" - }, - { - "name": "uniqExactState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "state" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "key1" - ] - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "key2" - ] - } - ] - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "key2" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00524_time_intervals_months_underflow/ast.json b/parser/testdata/00524_time_intervals_months_underflow/ast.json deleted file mode 100644 index 3daa786898..0000000000 --- a/parser/testdata/00524_time_intervals_months_underflow/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2017-01-01 00:00:00" - } - ] - }, - "op": "+", - "right": { - "value": { - "type": "Integer", - "value": 0 - }, - "unit": "MONTH" - } - }, - "alias": "x" - } - ] - } - ] -} diff --git a/parser/testdata/00527_totals_having_nullable/ast.json b/parser/testdata/00527_totals_having_nullable/ast.json deleted file mode 100644 index f675769e0e..0000000000 --- a/parser/testdata/00527_totals_having_nullable/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "alias": "x" - } - ], - "with_totals": true, - "having": { - "left": { - "parts": [ - "x" - ] - }, - "op": "!=", - "right": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00528_const_of_nullable/ast.json b/parser/testdata/00528_const_of_nullable/ast.json deleted file mode 100644 index 8cff9c09db..0000000000 --- a/parser/testdata/00528_const_of_nullable/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "toColumnTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00529_orantius/ast.json b/parser/testdata/00529_orantius/ast.json deleted file mode 100644 index c7e16cb9fb..0000000000 --- a/parser/testdata/00529_orantius/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00530_arrays_of_nothing/ast.json b/parser/testdata/00530_arrays_of_nothing/ast.json deleted file mode 100644 index 79a2d47d33..0000000000 --- a/parser/testdata/00530_arrays_of_nothing/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00531_aggregate_over_nullable/ast.json b/parser/testdata/00531_aggregate_over_nullable/ast.json deleted file mode 100644 index 95e3620f4f..0000000000 --- a/parser/testdata/00531_aggregate_over_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "agg_over_nullable", - "tables": [ - { - "table": "agg_over_nullable" - } - ] -} diff --git a/parser/testdata/00532_topk_generic/ast.json b/parser/testdata/00532_topk_generic/ast.json deleted file mode 100644 index 34498a061a..0000000000 --- a/parser/testdata/00532_topk_generic/ast.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "arraySort", - "arguments": [ - { - "name": "topK", - "arguments": [ - { - "parts": [ - "v" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "alias": "k" - }, - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "condition": { - "left": { - "parts": [ - "x" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "then": { - "type": "Null", - "value": null - }, - "else": { - "name": "toString", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - } - }, - { - "name": "range", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - }, - { - "name": "range", - "arguments": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 13 - } - ] - } - ] - } - ], - "alias": "v" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00533_uniq_array/ast.json b/parser/testdata/00533_uniq_array/ast.json deleted file mode 100644 index 54b9f7f83d..0000000000 --- a/parser/testdata/00533_uniq_array/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqArray", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00534_exp10/ast.json b/parser/testdata/00534_exp10/ast.json deleted file mode 100644 index 7d051b4e3c..0000000000 --- a/parser/testdata/00534_exp10/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "exp10", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 500 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/00535_parse_float_scientific/ast.json b/parser/testdata/00535_parse_float_scientific/ast.json deleted file mode 100644 index 0695ea2f67..0000000000 --- a/parser/testdata/00535_parse_float_scientific/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "float", - "tables": [ - { - "table": "float" - } - ] -} diff --git a/parser/testdata/00536_int_exp/ast.json b/parser/testdata/00536_int_exp/ast.json deleted file mode 100644 index 3d82ff3b43..0000000000 --- a/parser/testdata/00536_int_exp/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "exp2", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "e2d" - }, - { - "name": "intExp2", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "e2i" - }, - { - "expr": { - "left": { - "name": "toUInt64", - "arguments": [ - { - "parts": [ - "e2d" - ] - } - ] - }, - "op": "=", - "right": { - "parts": [ - "e2i" - ] - } - }, - "alias": "e2eq" - }, - { - "name": "exp10", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "e10d" - }, - { - "name": "intExp10", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "e10i" - }, - { - "expr": { - "left": { - "name": "toString", - "arguments": [ - { - "parts": [ - "e10d" - ] - } - ] - }, - "op": "=", - "right": { - "name": "toString", - "arguments": [ - { - "parts": [ - "e10i" - ] - } - ] - } - }, - "alias": "e10eq" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 64 - } - } - ] -} diff --git a/parser/testdata/00536_int_exp_overflow/ast.json b/parser/testdata/00536_int_exp_overflow/ast.json deleted file mode 100644 index 81e9b37fc1..0000000000 --- a/parser/testdata/00536_int_exp_overflow/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "intExp2:" - } - ] - } - ] -} diff --git a/parser/testdata/00537_quarters/ast.json b/parser/testdata/00537_quarters/ast.json deleted file mode 100644 index 8b5401f707..0000000000 --- a/parser/testdata/00537_quarters/ast.json +++ /dev/null @@ -1,159 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2017-01-01" - } - ], - "alias": "base" - }, - "op": "+", - "right": { - "value": { - "parts": [ - "number" - ] - }, - "unit": "MONTH" - } - }, - "alias": "d" - }, - { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "d" - ] - }, - { - "type": "String", - "value": "UTC" - } - ], - "alias": "t" - }, - { - "name": "toQuarter", - "arguments": [ - { - "parts": [ - "d" - ] - } - ], - "alias": "qd" - }, - { - "name": "toQuarter", - "arguments": [ - { - "parts": [ - "t" - ] - } - ], - "alias": "qt" - }, - { - "name": "toStartOfQuarter", - "arguments": [ - { - "parts": [ - "d" - ] - } - ], - "alias": "sqd" - }, - { - "name": "toStartOfQuarter", - "arguments": [ - { - "parts": [ - "t" - ] - } - ], - "alias": "sqt" - }, - { - "expr": { - "left": { - "name": "toRelativeQuarterNum", - "arguments": [ - { - "parts": [ - "d" - ] - } - ] - }, - "op": "-", - "right": { - "name": "toRelativeQuarterNum", - "arguments": [ - { - "parts": [ - "base" - ] - } - ] - } - }, - "alias": "qdiff_d" - }, - { - "expr": { - "left": { - "name": "toRelativeQuarterNum", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - }, - "op": "-", - "right": { - "name": "toRelativeQuarterNum", - "arguments": [ - { - "parts": [ - "base" - ] - } - ] - } - }, - "alias": "qdiff_t" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 24 - } - } - ] -} diff --git a/parser/testdata/00538_datediff/ast.json b/parser/testdata/00538_datediff/ast.json deleted file mode 100644 index bd8c8d97aa..0000000000 --- a/parser/testdata/00538_datediff/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Various intervals" - } - ] - } - ] -} diff --git a/parser/testdata/00538_datediff_plural_units/ast.json b/parser/testdata/00538_datediff_plural_units/ast.json deleted file mode 100644 index 933c89c056..0000000000 --- a/parser/testdata/00538_datediff_plural_units/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "years" - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2017-12-31" - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2016-01-01" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00539_functions_for_working_with_json/ast.json b/parser/testdata/00539_functions_for_working_with_json/ast.json deleted file mode 100644 index e0fca3f65b..0000000000 --- a/parser/testdata/00539_functions_for_working_with_json/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visitParamExtractInt", - "arguments": [ - { - "type": "String", - "value": "{\"myparam\":-1}" - }, - { - "type": "String", - "value": "myparam" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00541_kahan_sum/ast.json b/parser/testdata/00541_kahan_sum/ast.json deleted file mode 100644 index 1cc0111749..0000000000 --- a/parser/testdata/00541_kahan_sum/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/ast.json b/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/ast.json deleted file mode 100644 index 553ae23bf2..0000000000 --- a/parser/testdata/00542_access_to_temporary_table_in_readonly_mode/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "readonly", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/00542_materialized_view_and_time_zone_tag/ast.json b/parser/testdata/00542_materialized_view_and_time_zone_tag/ast.json deleted file mode 100644 index da704cb3b3..0000000000 --- a/parser/testdata/00542_materialized_view_and_time_zone_tag/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m3", - "tables": [ - { - "table": "m3" - } - ] -} diff --git a/parser/testdata/00543_null_and_prewhere/ast.json b/parser/testdata/00543_null_and_prewhere/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/00543_null_and_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00544_insert_with_select/ast.json b/parser/testdata/00544_insert_with_select/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00544_insert_with_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00546_shard_tuple_element_formatting/ast.json b/parser/testdata/00546_shard_tuple_element_formatting/ast.json deleted file mode 100644 index 2c0e4fac3d..0000000000 --- a/parser/testdata/00546_shard_tuple_element_formatting/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleElement", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toUInt8", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00549_join_use_nulls/ast.json b/parser/testdata/00549_join_use_nulls/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/00549_join_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00553_buff_exists_materlized_column/ast.json b/parser/testdata/00553_buff_exists_materlized_column/ast.json deleted file mode 100644 index d0f54c39e3..0000000000 --- a/parser/testdata/00553_buff_exists_materlized_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nums", - "tables": [ - { - "table": "nums" - } - ] -} diff --git a/parser/testdata/00553_invalid_nested_name/ast.json b/parser/testdata/00553_invalid_nested_name/ast.json deleted file mode 100644 index c1d48f8f61..0000000000 --- a/parser/testdata/00553_invalid_nested_name/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 1.1 - }, - { - "type": "Float", - "value": 1.2 - } - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00554_nested_and_table_engines/ast.json b/parser/testdata/00554_nested_and_table_engines/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/00554_nested_and_table_engines/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/00555_hasAll_hasAny/ast.json b/parser/testdata/00555_hasAll_hasAny/ast.json deleted file mode 100644 index 2f42324e7a..0000000000 --- a/parser/testdata/00555_hasAll_hasAny/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hasAll", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00555_hasSubstr/ast.json b/parser/testdata/00555_hasSubstr/ast.json deleted file mode 100644 index 439ba1191a..0000000000 --- a/parser/testdata/00555_hasSubstr/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hasSubstr", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00555_right_join_excessive_rows/ast.json b/parser/testdata/00555_right_join_excessive_rows/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00555_right_join_excessive_rows/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00556_array_intersect/ast.json b/parser/testdata/00556_array_intersect/ast.json deleted file mode 100644 index b97ae4cede..0000000000 --- a/parser/testdata/00556_array_intersect/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayIntersect", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00556_remove_columns_from_subquery/ast.json b/parser/testdata/00556_remove_columns_from_subquery/ast.json deleted file mode 100644 index bace2fbc74..0000000000 --- a/parser/testdata/00556_remove_columns_from_subquery/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00557_alter_null_storage_tables/ast.json b/parser/testdata/00557_alter_null_storage_tables/ast.json deleted file mode 100644 index 18777c0512..0000000000 --- a/parser/testdata/00557_alter_null_storage_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_00557", - "tables": [ - { - "table": "null_00557" - } - ] -} diff --git a/parser/testdata/00557_array_resize/ast.json b/parser/testdata/00557_array_resize/ast.json deleted file mode 100644 index 539c664144..0000000000 --- a/parser/testdata/00557_array_resize/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayResize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00558_aggregate_merge_totals_with_arenas/ast.json b/parser/testdata/00558_aggregate_merge_totals_with_arenas/ast.json deleted file mode 100644 index 97ad9d2c32..0000000000 --- a/parser/testdata/00558_aggregate_merge_totals_with_arenas/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00558_parse_floats/ast.json b/parser/testdata/00558_parse_floats/ast.json deleted file mode 100644 index 358a55f836..0000000000 --- a/parser/testdata/00558_parse_floats/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toFloat64", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "0.00000" - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/00560_float_leading_plus_in_exponent/ast.json b/parser/testdata/00560_float_leading_plus_in_exponent/ast.json deleted file mode 100644 index 581d3146e8..0000000000 --- a/parser/testdata/00560_float_leading_plus_in_exponent/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "test_float", - "columns": [ - { - "name": "x", - "type": { - "name": "Float64" - } - } - ] -} diff --git a/parser/testdata/00561_storage_join/ast.json b/parser/testdata/00561_storage_join/ast.json deleted file mode 100644 index e4e5fe39d6..0000000000 --- a/parser/testdata/00561_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "joinbug", - "tables": [ - { - "table": "joinbug" - } - ] -} diff --git a/parser/testdata/00562_in_subquery_merge_tree/ast.json b/parser/testdata/00562_in_subquery_merge_tree/ast.json deleted file mode 100644 index 23eabb889c..0000000000 --- a/parser/testdata/00562_in_subquery_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree_in_subqueries", - "tables": [ - { - "table": "merge_tree_in_subqueries" - } - ] -} diff --git a/parser/testdata/00562_rewrite_select_expression_with_union/ast.json b/parser/testdata/00562_rewrite_select_expression_with_union/ast.json deleted file mode 100644 index 581ec71222..0000000000 --- a/parser/testdata/00562_rewrite_select_expression_with_union/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00562", - "tables": [ - { - "table": "test_00562" - } - ] -} diff --git a/parser/testdata/00563_complex_in_expression/ast.json b/parser/testdata/00563_complex_in_expression/ast.json deleted file mode 100644 index 19b95b7dfd..0000000000 --- a/parser/testdata/00563_complex_in_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00563", - "tables": [ - { - "table": "test_00563" - } - ] -} diff --git a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/ast.json b/parser/testdata/00563_insert_into_remote_and_zookeeper_long/ast.json deleted file mode 100644 index ee7e3f6603..0000000000 --- a/parser/testdata/00563_insert_into_remote_and_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple", - "tables": [ - { - "table": "simple" - } - ] -} diff --git a/parser/testdata/00563_shard_insert_into_remote/ast.json b/parser/testdata/00563_shard_insert_into_remote/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/00563_shard_insert_into_remote/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/00564_initial_column_values_with_default_expression/ast.json b/parser/testdata/00564_initial_column_values_with_default_expression/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00564_initial_column_values_with_default_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00564_temporary_table_management/ast.json b/parser/testdata/00564_temporary_table_management/ast.json deleted file mode 100644 index 701f821ded..0000000000 --- a/parser/testdata/00564_temporary_table_management/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "temp_tab", - "tables": [ - { - "table": "temp_tab" - } - ], - "temporary": true -} diff --git a/parser/testdata/00564_versioned_collapsing_merge_tree/ast.json b/parser/testdata/00564_versioned_collapsing_merge_tree/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/00564_versioned_collapsing_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00567_parse_datetime_as_unix_timestamp/ast.json b/parser/testdata/00567_parse_datetime_as_unix_timestamp/ast.json deleted file mode 100644 index 7621f2f63f..0000000000 --- a/parser/testdata/00567_parse_datetime_as_unix_timestamp/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_values_interpret_expressions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00568_empty_function_with_fixed_string/ast.json b/parser/testdata/00568_empty_function_with_fixed_string/ast.json deleted file mode 100644 index 7481fa510e..0000000000 --- a/parser/testdata/00568_empty_function_with_fixed_string/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 4 - } - ], - "alias": "str" - }, - { - "name": "empty", - "arguments": [ - { - "parts": [ - "str" - ] - } - ], - "alias": "is_empty" - } - ] - } - ] -} diff --git a/parser/testdata/00569_parse_date_time_best_effort/ast.json b/parser/testdata/00569_parse_date_time_best_effort/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/00569_parse_date_time_best_effort/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00570_empty_array_is_const/ast.json b/parser/testdata/00570_empty_array_is_const/ast.json deleted file mode 100644 index 7703dde058..0000000000 --- a/parser/testdata/00570_empty_array_is_const/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dumpColumnStructure", - "arguments": [ - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00571_alter_nullable/ast.json b/parser/testdata/00571_alter_nullable/ast.json deleted file mode 100644 index 4ad886dc07..0000000000 --- a/parser/testdata/00571_alter_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_00571", - "tables": [ - { - "table": "nullable_00571" - } - ] -} diff --git a/parser/testdata/00572_aggregation_by_empty_set/ast.json b/parser/testdata/00572_aggregation_by_empty_set/ast.json deleted file mode 100644 index d6c15d1a8f..0000000000 --- a/parser/testdata/00572_aggregation_by_empty_set/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/00573_shard_aggregation_by_empty_set/ast.json b/parser/testdata/00573_shard_aggregation_by_empty_set/ast.json deleted file mode 100644 index c8ef15e1eb..0000000000 --- a/parser/testdata/00573_shard_aggregation_by_empty_set/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t_00573", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/00575_merge_and_index_with_function_in_in/ast.json b/parser/testdata/00575_merge_and_index_with_function_in_in/ast.json deleted file mode 100644 index 6e092da14b..0000000000 --- a/parser/testdata/00575_merge_and_index_with_function_in_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00575", - "tables": [ - { - "table": "t_00575" - } - ] -} diff --git a/parser/testdata/00576_nested_and_prewhere/ast.json b/parser/testdata/00576_nested_and_prewhere/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/00576_nested_and_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/00577_full_join_segfault/ast.json b/parser/testdata/00577_full_join_segfault/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00577_full_join_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00577_replacing_merge_tree_vertical_merge/ast.json b/parser/testdata/00577_replacing_merge_tree_vertical_merge/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00577_replacing_merge_tree_vertical_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00578_merge_table_and_table_virtual_column/ast.json b/parser/testdata/00578_merge_table_and_table_virtual_column/ast.json deleted file mode 100644 index 3011fb2f8b..0000000000 --- a/parser/testdata/00578_merge_table_and_table_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers1", - "tables": [ - { - "table": "numbers1" - } - ] -} diff --git a/parser/testdata/00578_merge_table_sampling/ast.json b/parser/testdata/00578_merge_table_sampling/ast.json deleted file mode 100644 index 3011fb2f8b..0000000000 --- a/parser/testdata/00578_merge_table_sampling/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers1", - "tables": [ - { - "table": "numbers1" - } - ] -} diff --git a/parser/testdata/00578_merge_table_shadow_virtual_column/ast.json b/parser/testdata/00578_merge_table_shadow_virtual_column/ast.json deleted file mode 100644 index 3011fb2f8b..0000000000 --- a/parser/testdata/00578_merge_table_shadow_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers1", - "tables": [ - { - "table": "numbers1" - } - ] -} diff --git a/parser/testdata/00578_merge_trees_without_primary_key/ast.json b/parser/testdata/00578_merge_trees_without_primary_key/ast.json deleted file mode 100644 index aadbcf9e1b..0000000000 --- a/parser/testdata/00578_merge_trees_without_primary_key/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "*** MergeTree ***" - } - ] - } - ] -} diff --git a/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/ast.json b/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/ast.json deleted file mode 100644 index 892119e45e..0000000000 --- a/parser/testdata/00579_merge_tree_partition_and_primary_keys_using_same_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partition_and_primary_keys_using_same_expression", - "tables": [ - { - "table": "partition_and_primary_keys_using_same_expression" - } - ] -} diff --git a/parser/testdata/00579_virtual_column_and_lazy/ast.json b/parser/testdata/00579_virtual_column_and_lazy/ast.json deleted file mode 100644 index e5487b8fab..0000000000 --- a/parser/testdata/00579_virtual_column_and_lazy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sample_00579_1", - "tables": [ - { - "table": "sample_00579_1" - } - ] -} diff --git a/parser/testdata/00580_cast_nullable_to_non_nullable/ast.json b/parser/testdata/00580_cast_nullable_to_non_nullable/ast.json deleted file mode 100644 index e42c69cb48..0000000000 --- a/parser/testdata/00580_cast_nullable_to_non_nullable/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 999999 - } - }, - "then": { - "type": "Null", - "value": null - }, - "else": { - "parts": [ - "number" - ] - } - }, - "type": { - "name": "UInt64" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00580_consistent_hashing_functions/ast.json b/parser/testdata/00580_consistent_hashing_functions/ast.json deleted file mode 100644 index 3c8fa01a1a..0000000000 --- a/parser/testdata/00580_consistent_hashing_functions/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 42 - }, - { - "type": "Integer", - "value": 57 - } - ] - }, - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 256 - }, - { - "type": "Integer", - "value": 1024 - } - ] - }, - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 3735883980 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 3735883980 - }, - { - "type": "Integer", - "value": 666 - } - ] - }, - { - "name": "jumpConsistentHash", - "arguments": [ - { - "type": "Integer", - "value": 16045690984833335023 - }, - { - "type": "Integer", - "value": 255 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00581_limit_on_result_and_subquery_and_insert/ast.json b/parser/testdata/00581_limit_on_result_and_subquery_and_insert/ast.json deleted file mode 100644 index 607f38a110..0000000000 --- a/parser/testdata/00581_limit_on_result_and_subquery_and_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_result_rows", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00582_not_aliasing_functions/ast.json b/parser/testdata/00582_not_aliasing_functions/ast.json deleted file mode 100644 index 0f6ab4ec45..0000000000 --- a/parser/testdata/00582_not_aliasing_functions/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00584_view_union_all/ast.json b/parser/testdata/00584_view_union_all/ast.json deleted file mode 100644 index 7f07708ac2..0000000000 --- a/parser/testdata/00584_view_union_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Test_00584", - "tables": [ - { - "table": "Test_00584" - } - ] -} diff --git a/parser/testdata/00585_union_all_subquery_aggregation_column_removal/ast.json b/parser/testdata/00585_union_all_subquery_aggregation_column_removal/ast.json deleted file mode 100644 index 68714a063e..0000000000 --- a/parser/testdata/00585_union_all_subquery_aggregation_column_removal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "clicks", - "tables": [ - { - "table": "clicks" - } - ] -} diff --git a/parser/testdata/00586_removing_unused_columns_from_subquery/ast.json b/parser/testdata/00586_removing_unused_columns_from_subquery/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00586_removing_unused_columns_from_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00587_union_all_type_conversions/ast.json b/parser/testdata/00587_union_all_type_conversions/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/00587_union_all_type_conversions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00588_shard_distributed_prewhere/ast.json b/parser/testdata/00588_shard_distributed_prewhere/ast.json deleted file mode 100644 index da6e2c2b74..0000000000 --- a/parser/testdata/00588_shard_distributed_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mergetree_00588", - "tables": [ - { - "table": "mergetree_00588" - } - ] -} diff --git a/parser/testdata/00589_removal_unused_columns_aggregation/ast.json b/parser/testdata/00589_removal_unused_columns_aggregation/ast.json deleted file mode 100644 index 51a04a8912..0000000000 --- a/parser/testdata/00589_removal_unused_columns_aggregation/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "a" - }, - { - "name": "avg", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "b" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00593_union_all_assert_columns_removed/ast.json b/parser/testdata/00593_union_all_assert_columns_removed/ast.json deleted file mode 100644 index d2cad93867..0000000000 --- a/parser/testdata/00593_union_all_assert_columns_removed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "columns", - "tables": [ - { - "table": "columns" - } - ] -} diff --git a/parser/testdata/00594_alias_in_distributed/ast.json b/parser/testdata/00594_alias_in_distributed/ast.json deleted file mode 100644 index be135899ff..0000000000 --- a/parser/testdata/00594_alias_in_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alias_local10", - "tables": [ - { - "table": "alias_local10" - } - ] -} diff --git a/parser/testdata/00597_push_down_predicate_long/ast.json b/parser/testdata/00597_push_down_predicate_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00597_push_down_predicate_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00597_with_totals_on_empty_set/ast.json b/parser/testdata/00597_with_totals_on_empty_set/ast.json deleted file mode 100644 index b3f407467e..0000000000 --- a/parser/testdata/00597_with_totals_on_empty_set/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - "with_totals": true, - "format": { - "parts": [ - "Vertical" - ] - } - } - ] -} diff --git a/parser/testdata/00599_create_view_with_subquery/ast.json b/parser/testdata/00599_create_view_with_subquery/ast.json deleted file mode 100644 index 142addbe9b..0000000000 --- a/parser/testdata/00599_create_view_with_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00599", - "tables": [ - { - "table": "test_00599" - } - ] -} diff --git a/parser/testdata/00600_create_temporary_table_if_not_exists/ast.json b/parser/testdata/00600_create_temporary_table_if_not_exists/ast.json deleted file mode 100644 index 383bffb447..0000000000 --- a/parser/testdata/00600_create_temporary_table_if_not_exists/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "if_not_exists": true, - "temporary": true, - "table": "temporary_table", - "columns": [ - { - "name": "column", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/00603_system_parts_nonexistent_database/ast.json b/parser/testdata/00603_system_parts_nonexistent_database/ast.json deleted file mode 100644 index 8062ab5a55..0000000000 --- a/parser/testdata/00603_system_parts_nonexistent_database/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "parts" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "T5yajf3DLcMjJJvpCeX5ajUy1P0VTk51zMEp1kDKXZAGr5EpleuIKbuY8cKaThkaBqllUm2EFxDX" - } - } - } - ] -} diff --git a/parser/testdata/00604_shard_remote_and_columns_with_defaults/ast.json b/parser/testdata/00604_shard_remote_and_columns_with_defaults/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/00604_shard_remote_and_columns_with_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/00605_intersections_aggregate_functions/ast.json b/parser/testdata/00605_intersections_aggregate_functions/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00605_intersections_aggregate_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00607_index_in_in/ast.json b/parser/testdata/00607_index_in_in/ast.json deleted file mode 100644 index 1d5f9ced5f..0000000000 --- a/parser/testdata/00607_index_in_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree", - "tables": [ - { - "table": "merge_tree" - } - ] -} diff --git a/parser/testdata/00608_uniq_array/ast.json b/parser/testdata/00608_uniq_array/ast.json deleted file mode 100644 index ec3caea431..0000000000 --- a/parser/testdata/00608_uniq_array/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": null - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00609_distributed_with_case_when_then/ast.json b/parser/testdata/00609_distributed_with_case_when_then/ast.json deleted file mode 100644 index fb3d824f94..0000000000 --- a/parser/testdata/00609_distributed_with_case_when_then/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mergetree_00609", - "tables": [ - { - "table": "mergetree_00609" - } - ] -} diff --git a/parser/testdata/00609_mv_index_in_in/ast.json b/parser/testdata/00609_mv_index_in_in/ast.json deleted file mode 100644 index acc63f345c..0000000000 --- a/parser/testdata/00609_mv_index_in_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00609", - "tables": [ - { - "table": "test_00609" - } - ] -} diff --git a/parser/testdata/00609_prewhere_and_default/ast.json b/parser/testdata/00609_prewhere_and_default/ast.json deleted file mode 100644 index 30cd2df12c..0000000000 --- a/parser/testdata/00609_prewhere_and_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_00609", - "tables": [ - { - "table": "table_00609" - } - ] -} diff --git a/parser/testdata/00610_materialized_view_forward_alter_partition_statements/ast.json b/parser/testdata/00610_materialized_view_forward_alter_partition_statements/ast.json deleted file mode 100644 index 57fbc4f3e2..0000000000 --- a/parser/testdata/00610_materialized_view_forward_alter_partition_statements/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00610", - "tables": [ - { - "table": "tab_00610" - } - ] -} diff --git a/parser/testdata/00612_count/ast.json b/parser/testdata/00612_count/ast.json deleted file mode 100644 index dc219bebb4..0000000000 --- a/parser/testdata/00612_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "count", - "tables": [ - { - "table": "count" - } - ] -} diff --git a/parser/testdata/00612_http_max_query_size_for_distributed/ast.json b/parser/testdata/00612_http_max_query_size_for_distributed/ast.json deleted file mode 100644 index f253843732..0000000000 --- a/parser/testdata/00612_http_max_query_size_for_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_00612", - "tables": [ - { - "table": "data_00612" - } - ] -} diff --git a/parser/testdata/00612_pk_in_tuple/ast.json b/parser/testdata/00612_pk_in_tuple/ast.json deleted file mode 100644 index 6f80093ca2..0000000000 --- a/parser/testdata/00612_pk_in_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00612", - "tables": [ - { - "table": "tab_00612" - } - ] -} diff --git a/parser/testdata/00612_shard_count/ast.json b/parser/testdata/00612_shard_count/ast.json deleted file mode 100644 index dc219bebb4..0000000000 --- a/parser/testdata/00612_shard_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "count", - "tables": [ - { - "table": "count" - } - ] -} diff --git a/parser/testdata/00612_union_query_with_subquery/ast.json b/parser/testdata/00612_union_query_with_subquery/ast.json deleted file mode 100644 index 91ee1e2b7e..0000000000 --- a/parser/testdata/00612_union_query_with_subquery/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - }, - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 2 - } - }, - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 3 - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00613_shard_distributed_max_execution_time/ast.json b/parser/testdata/00613_shard_distributed_max_execution_time/ast.json deleted file mode 100644 index 711e19bbef..0000000000 --- a/parser/testdata/00613_shard_distributed_max_execution_time/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "timeout_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - } - ] -} diff --git a/parser/testdata/00614_array_nullable/ast.json b/parser/testdata/00614_array_nullable/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00614_array_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/ast.json b/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/00614_shard_same_header_for_local_and_remote_node_in_distributed_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/00615_nullable_alter_optimize/ast.json b/parser/testdata/00615_nullable_alter_optimize/ast.json deleted file mode 100644 index 90926e43c1..0000000000 --- a/parser/testdata/00615_nullable_alter_optimize/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00615", - "tables": [ - { - "table": "test_00615" - } - ] -} diff --git a/parser/testdata/00616_final_single_part/ast.json b/parser/testdata/00616_final_single_part/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00616_final_single_part/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00617_array_in/ast.json b/parser/testdata/00617_array_in/ast.json deleted file mode 100644 index 19c1111650..0000000000 --- a/parser/testdata/00617_array_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_array_ops", - "tables": [ - { - "table": "test_array_ops" - } - ] -} diff --git a/parser/testdata/00618_nullable_in/ast.json b/parser/testdata/00618_nullable_in/ast.json deleted file mode 100644 index d10122fdf5..0000000000 --- a/parser/testdata/00618_nullable_in/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "expr": { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "a" - } - ] - }, - "list": [ - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00619_union_highlite/ast.json b/parser/testdata/00619_union_highlite/ast.json deleted file mode 100644 index e0edfe79cf..0000000000 --- a/parser/testdata/00619_union_highlite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "union", - "tables": [ - { - "table": "union" - } - ] -} diff --git a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/ast.json b/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/ast.json deleted file mode 100644 index 9cd227a28b..0000000000 --- a/parser/testdata/00620_optimize_on_nonleader_replica_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rename1", - "tables": [ - { - "table": "rename1" - } - ] -} diff --git a/parser/testdata/00621_regression_for_in_operator/ast.json b/parser/testdata/00621_regression_for_in_operator/ast.json deleted file mode 100644 index 5ddf51e638..0000000000 --- a/parser/testdata/00621_regression_for_in_operator/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "regression_for_in_operator_view", - "tables": [ - { - "table": "regression_for_in_operator_view" - } - ] -} diff --git a/parser/testdata/00622_select_in_parens/ast.json b/parser/testdata/00622_select_in_parens/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/00622_select_in_parens/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/00623_in_partition_key/ast.json b/parser/testdata/00623_in_partition_key/ast.json deleted file mode 100644 index fe63ed7182..0000000000 --- a/parser/testdata/00623_in_partition_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test54378", - "tables": [ - { - "table": "test54378" - } - ] -} diff --git a/parser/testdata/00623_replicated_truncate_table_zookeeper_long/ast.json b/parser/testdata/00623_replicated_truncate_table_zookeeper_long/ast.json deleted file mode 100644 index 5f5aa19c33..0000000000 --- a/parser/testdata/00623_replicated_truncate_table_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_truncate1", - "tables": [ - { - "table": "replicated_truncate1" - } - ] -} diff --git a/parser/testdata/00623_truncate_all_tables/ast.json b/parser/testdata/00623_truncate_all_tables/ast.json deleted file mode 100644 index 7a1170a741..0000000000 --- a/parser/testdata/00623_truncate_all_tables/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_not_exists": true, - "table": "truncate_test_set", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Set" - } -} diff --git a/parser/testdata/00623_truncate_table/ast.json b/parser/testdata/00623_truncate_table/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/00623_truncate_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00624_length_utf8/ast.json b/parser/testdata/00624_length_utf8/ast.json deleted file mode 100644 index cb4ab5a106..0000000000 --- a/parser/testdata/00624_length_utf8/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "привет пр" - }, - "alias": "x" - }, - { - "name": "lengthUTF8", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "y" - } - ] - } - ] -} diff --git a/parser/testdata/00625_arrays_in_nested/ast.json b/parser/testdata/00625_arrays_in_nested/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/00625_arrays_in_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/00625_summing_merge_tree_merge/ast.json b/parser/testdata/00625_summing_merge_tree_merge/ast.json deleted file mode 100644 index 5bb0943d02..0000000000 --- a/parser/testdata/00625_summing_merge_tree_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00625", - "tables": [ - { - "table": "tab_00625" - } - ] -} diff --git a/parser/testdata/00626_in_syntax/ast.json b/parser/testdata/00626_in_syntax/ast.json deleted file mode 100644 index 924aaf2009..0000000000 --- a/parser/testdata/00626_in_syntax/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "list": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00626_replace_partition_from_table/ast.json b/parser/testdata/00626_replace_partition_from_table/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/00626_replace_partition_from_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/00627_recursive_alias/ast.json b/parser/testdata/00627_recursive_alias/ast.json deleted file mode 100644 index 3bbeea0097..0000000000 --- a/parser/testdata/00627_recursive_alias/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "dummy" - ], - "alias": "x" - }, - { - "expr": { - "left": { - "parts": [ - "dummy" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "alias": "dummy" - } - ], - "order_by": [ - { - "expression": { - "name": "identity", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - } - ] - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/00628_in_lambda_on_merge_table_bug/ast.json b/parser/testdata/00628_in_lambda_on_merge_table_bug/ast.json deleted file mode 100644 index 46e1261550..0000000000 --- a/parser/testdata/00628_in_lambda_on_merge_table_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_in_tuple_1", - "tables": [ - { - "table": "test_in_tuple_1" - } - ] -} diff --git a/parser/testdata/00632_aggregation_window_funnel/ast.json b/parser/testdata/00632_aggregation_window_funnel/ast.json deleted file mode 100644 index 8eba431ef1..0000000000 --- a/parser/testdata/00632_aggregation_window_funnel/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "funnel_test", - "tables": [ - { - "table": "funnel_test" - } - ] -} diff --git a/parser/testdata/00632_get_sample_block_cache/ast.json b/parser/testdata/00632_get_sample_block_cache/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00632_get_sample_block_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00633_func_or_in/ast.json b/parser/testdata/00633_func_or_in/ast.json deleted file mode 100644 index dab1d83767..0000000000 --- a/parser/testdata/00633_func_or_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "orin_test", - "tables": [ - { - "table": "orin_test" - } - ] -} diff --git a/parser/testdata/00634_rename_view/ast.json b/parser/testdata/00634_rename_view/ast.json deleted file mode 100644 index 464618f4b4..0000000000 --- a/parser/testdata/00634_rename_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1_00634", - "tables": [ - { - "table": "test1_00634" - } - ] -} diff --git a/parser/testdata/00635_shard_distinct_order_by/ast.json b/parser/testdata/00635_shard_distinct_order_by/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/00635_shard_distinct_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/00639_startsWith/ast.json b/parser/testdata/00639_startsWith/ast.json deleted file mode 100644 index 603b125f72..0000000000 --- a/parser/testdata/00639_startsWith/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "startsWith", - "arguments": [ - { - "parts": [ - "s" - ] - }, - { - "type": "String", - "value": "He" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "H" - }, - { - "type": "String", - "value": "He" - }, - { - "type": "String", - "value": "Hellow" - }, - { - "type": "String", - "value": "3434" - }, - { - "type": "String", - "value": "fffffffffdHe" - } - ] - } - ], - "alias": "s" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00640_endsWith/ast.json b/parser/testdata/00640_endsWith/ast.json deleted file mode 100644 index 825dd772aa..0000000000 --- a/parser/testdata/00640_endsWith/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "endsWith", - "arguments": [ - { - "parts": [ - "s" - ] - }, - { - "type": "String", - "value": "ow" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "o" - }, - { - "type": "String", - "value": "ow" - }, - { - "type": "String", - "value": "Hellow" - }, - { - "type": "String", - "value": "3434" - }, - { - "type": "String", - "value": "owfffffffdHe" - } - ] - } - ], - "alias": "s" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00643_cast_zookeeper_long/ast.json b/parser/testdata/00643_cast_zookeeper_long/ast.json deleted file mode 100644 index 162d3742f3..0000000000 --- a/parser/testdata/00643_cast_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "database_atomic_wait_for_drop_and_detach_synchronously", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00645_date_time_input_format/ast.json b/parser/testdata/00645_date_time_input_format/ast.json deleted file mode 100644 index 60f11c4021..0000000000 --- a/parser/testdata/00645_date_time_input_format/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "temporary": true, - "table": "test_00645", - "columns": [ - { - "name": "d", - "type": { - "name": "DateTime" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/00646_weird_mmx/ast.json b/parser/testdata/00646_weird_mmx/ast.json deleted file mode 100644 index e105e02839..0000000000 --- a/parser/testdata/00646_weird_mmx/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "weird_mmx", - "tables": [ - { - "table": "weird_mmx" - } - ] -} diff --git a/parser/testdata/00647_histogram/ast.json b/parser/testdata/00647_histogram/ast.json deleted file mode 100644 index d0b0eddb70..0000000000 --- a/parser/testdata/00647_histogram/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "histogram", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00647_histogram_negative/ast.json b/parser/testdata/00647_histogram_negative/ast.json deleted file mode 100644 index 580c760673..0000000000 --- a/parser/testdata/00647_histogram_negative/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "histogram", - "tables": [ - { - "table": "histogram" - } - ] -} diff --git a/parser/testdata/00647_multiply_aggregation_state/ast.json b/parser/testdata/00647_multiply_aggregation_state/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00647_multiply_aggregation_state/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00647_select_numbers_with_offset/ast.json b/parser/testdata/00647_select_numbers_with_offset/ast.json deleted file mode 100644 index 514a1b98e4..0000000000 --- a/parser/testdata/00647_select_numbers_with_offset/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00648_replacing_empty_set_from_prewhere/ast.json b/parser/testdata/00648_replacing_empty_set_from_prewhere/ast.json deleted file mode 100644 index 1538a0ddbb..0000000000 --- a/parser/testdata/00648_replacing_empty_set_from_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "final_test", - "tables": [ - { - "table": "final_test" - } - ] -} diff --git a/parser/testdata/00649_quantile_tdigest_negative/ast.json b/parser/testdata/00649_quantile_tdigest_negative/ast.json deleted file mode 100644 index 3ce20c9708..0000000000 --- a/parser/testdata/00649_quantile_tdigest_negative/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileTDigest", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 3 - } - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00650_array_enumerate_uniq_with_tuples/ast.json b/parser/testdata/00650_array_enumerate_uniq_with_tuples/ast.json deleted file mode 100644 index 73947e531b..0000000000 --- a/parser/testdata/00650_array_enumerate_uniq_with_tuples/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00650", - "tables": [ - { - "table": "tab_00650" - } - ] -} diff --git a/parser/testdata/00653_monotonic_integer_cast/ast.json b/parser/testdata/00653_monotonic_integer_cast/ast.json deleted file mode 100644 index ef680bac6b..0000000000 --- a/parser/testdata/00653_monotonic_integer_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_00653", - "tables": [ - { - "table": "table_00653" - } - ] -} diff --git a/parser/testdata/00653_running_difference/ast.json b/parser/testdata/00653_running_difference/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/00653_running_difference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00660_optimize_final_without_partition/ast.json b/parser/testdata/00660_optimize_final_without_partition/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00660_optimize_final_without_partition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00661_array_has_silviucpp/ast.json b/parser/testdata/00661_array_has_silviucpp/ast.json deleted file mode 100644 index 8aea184ea0..0000000000 --- a/parser/testdata/00661_array_has_silviucpp/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "has_function", - "tables": [ - { - "table": "has_function" - } - ] -} diff --git a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/ast.json b/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/ast.json deleted file mode 100644 index 540be6d2e3..0000000000 --- a/parser/testdata/00661_optimize_final_replicated_without_partition_zookeeper/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_warmed_unmerged_parts_seconds", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00662_array_has_nullable/ast.json b/parser/testdata/00662_array_has_nullable/ast.json deleted file mode 100644 index e9d4b82aef..0000000000 --- a/parser/testdata/00662_array_has_nullable/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "has", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - }, - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00662_has_nullable/ast.json b/parser/testdata/00662_has_nullable/ast.json deleted file mode 100644 index c494c5e6e8..0000000000 --- a/parser/testdata/00662_has_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "00662_has_nullable", - "tables": [ - { - "table": "00662_has_nullable" - } - ] -} diff --git a/parser/testdata/00663_tiny_log_empty_insert/ast.json b/parser/testdata/00663_tiny_log_empty_insert/ast.json deleted file mode 100644 index da2348874a..0000000000 --- a/parser/testdata/00663_tiny_log_empty_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "empty", - "tables": [ - { - "table": "empty" - } - ] -} diff --git a/parser/testdata/00664_cast_from_string_to_nullable/ast.json b/parser/testdata/00664_cast_from_string_to_nullable/ast.json deleted file mode 100644 index 4446ac8c78..0000000000 --- a/parser/testdata/00664_cast_from_string_to_nullable/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "abc" - }, - { - "type": "String", - "value": "123" - }, - { - "type": "String", - "value": "123a" - }, - { - "type": "String", - "value": "-123" - } - ] - } - ] - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/ast.json b/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/ast.json deleted file mode 100644 index 2627f0de31..0000000000 --- a/parser/testdata/00665_alter_nullable_string_to_nullable_uint8/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_00665", - "tables": [ - { - "table": "alter_00665" - } - ] -} diff --git a/parser/testdata/00666_uniq_complex_types/ast.json b/parser/testdata/00666_uniq_complex_types/ast.json deleted file mode 100644 index a4c42b783d..0000000000 --- a/parser/testdata/00666_uniq_complex_types/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - }, - { - "type": "Array", - "value": null - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00668_compare_arrays_silviucpp/ast.json b/parser/testdata/00668_compare_arrays_silviucpp/ast.json deleted file mode 100644 index 57087968a9..0000000000 --- a/parser/testdata/00668_compare_arrays_silviucpp/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array", - "tables": [ - { - "table": "array" - } - ] -} diff --git a/parser/testdata/00670_truncate_temporary_table/ast.json b/parser/testdata/00670_truncate_temporary_table/ast.json deleted file mode 100644 index 63f60b8220..0000000000 --- a/parser/testdata/00670_truncate_temporary_table/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_00670", - "tables": [ - { - "table": "test_00670" - } - ], - "temporary": true -} diff --git a/parser/testdata/00671_max_intersections/ast.json b/parser/testdata/00671_max_intersections/ast.json deleted file mode 100644 index f11583da95..0000000000 --- a/parser/testdata/00671_max_intersections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1_00671", - "tables": [ - { - "table": "test1_00671" - } - ] -} diff --git a/parser/testdata/00672_arrayDistinct/ast.json b/parser/testdata/00672_arrayDistinct/ast.json deleted file mode 100644 index f9f23f0079..0000000000 --- a/parser/testdata/00672_arrayDistinct/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDistinct", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00673_subquery_prepared_set_performance/ast.json b/parser/testdata/00673_subquery_prepared_set_performance/ast.json deleted file mode 100644 index 36d56fcdf8..0000000000 --- a/parser/testdata/00673_subquery_prepared_set_performance/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mergetree_00673", - "tables": [ - { - "table": "mergetree_00673" - } - ] -} diff --git a/parser/testdata/00674_join_on_syntax/ast.json b/parser/testdata/00674_join_on_syntax/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00674_join_on_syntax/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00675_shard_remote_with_table_function/ast.json b/parser/testdata/00675_shard_remote_with_table_function/ast.json deleted file mode 100644 index 3fedd761ac..0000000000 --- a/parser/testdata/00675_shard_remote_with_table_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "remote_test", - "tables": [ - { - "table": "remote_test" - } - ] -} diff --git a/parser/testdata/00677_shard_any_heavy_merge/ast.json b/parser/testdata/00677_shard_any_heavy_merge/ast.json deleted file mode 100644 index 22fd639df5..0000000000 --- a/parser/testdata/00677_shard_any_heavy_merge/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "s", - "query": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - } - } - ], - "columns": [ - { - "name": "count" - }, - { - "name": "arraySort", - "arguments": [ - { - "name": "groupUniqArray", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ] - }, - { - "name": "anyHeavy", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00678_murmurhash/ast.json b/parser/testdata/00678_murmurhash/ast.json deleted file mode 100644 index 0313547d0e..0000000000 --- a/parser/testdata/00678_murmurhash/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "murmurHash2_32", - "arguments": [ - { - "type": "Integer", - "value": 123456 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00678_shard_funnel_window/ast.json b/parser/testdata/00678_shard_funnel_window/ast.json deleted file mode 100644 index 3fedd761ac..0000000000 --- a/parser/testdata/00678_shard_funnel_window/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "remote_test", - "tables": [ - { - "table": "remote_test" - } - ] -} diff --git a/parser/testdata/00679_replace_asterisk/ast.json b/parser/testdata/00679_replace_asterisk/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00679_replace_asterisk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00679_uuid_in_key/ast.json b/parser/testdata/00679_uuid_in_key/ast.json deleted file mode 100644 index 6b5057f35a..0000000000 --- a/parser/testdata/00679_uuid_in_key/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "if_not_exists": true, - "table": "uuid", - "columns": [ - { - "name": "created_at", - "type": { - "name": "DateTime" - } - }, - { - "name": "id", - "type": { - "name": "UUID" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "created_at" - ] - }, - { - "parts": [ - "id" - ] - } - ] - } - ], - "partition_by": { - "name": "toDate", - "arguments": [ - { - "parts": [ - "created_at" - ] - } - ] - } -} diff --git a/parser/testdata/00680_duplicate_columns_inside_union_all/ast.json b/parser/testdata/00680_duplicate_columns_inside_union_all/ast.json deleted file mode 100644 index 811335380d..0000000000 --- a/parser/testdata/00680_duplicate_columns_inside_union_all/ast.json +++ /dev/null @@ -1,144 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "y" - } - ] - } - ] - } - } - } - } - ] - } - }, - { - "columns": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 4 - }, - "alias": "y" - } - ] - } - ] - } - } - } - } - ] - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - }, - { - "expression": { - "parts": [ - "y" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/ast.json b/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/ast.json deleted file mode 100644 index 5e2c25e5dc..0000000000 --- a/parser/testdata/00681_duplicate_columns_inside_union_all_stas_sviridov/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00681", - "tables": [ - { - "table": "test_00681" - } - ] -} diff --git a/parser/testdata/00685_output_format_json_escape_forward_slashes/ast.json b/parser/testdata/00685_output_format_json_escape_forward_slashes/ast.json deleted file mode 100644 index e254d31776..0000000000 --- a/parser/testdata/00685_output_format_json_escape_forward_slashes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_escape_forward_slashes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00687_insert_into_mv/ast.json b/parser/testdata/00687_insert_into_mv/ast.json deleted file mode 100644 index b9551c0839..0000000000 --- a/parser/testdata/00687_insert_into_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00687", - "tables": [ - { - "table": "test_00687" - } - ] -} diff --git a/parser/testdata/00688_aggregation_retention/ast.json b/parser/testdata/00688_aggregation_retention/ast.json deleted file mode 100644 index 3003a733fb..0000000000 --- a/parser/testdata/00688_aggregation_retention/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "retention_test", - "tables": [ - { - "table": "retention_test" - } - ] -} diff --git a/parser/testdata/00688_case_without_else/ast.json b/parser/testdata/00688_case_without_else/ast.json deleted file mode 100644 index 01b8212573..0000000000 --- a/parser/testdata/00688_case_without_else/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00688", - "tables": [ - { - "table": "test_00688" - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_alter_add_column/ast.json b/parser/testdata/00688_low_cardinality_alter_add_column/ast.json deleted file mode 100644 index 983b61e0ef..0000000000 --- a/parser/testdata/00688_low_cardinality_alter_add_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cardinality", - "tables": [ - { - "table": "cardinality" - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_defaults/ast.json b/parser/testdata/00688_low_cardinality_defaults/ast.json deleted file mode 100644 index 7c9e329fb0..0000000000 --- a/parser/testdata/00688_low_cardinality_defaults/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toLowCardinality", - "arguments": [ - { - "parts": [ - "val" - ] - } - ] - }, - "type": { - "name": "UInt64" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "1" - } - ] - } - ], - "alias": "val" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_dictionary_deserialization/ast.json b/parser/testdata/00688_low_cardinality_dictionary_deserialization/ast.json deleted file mode 100644 index f3a3f19808..0000000000 --- a/parser/testdata/00688_low_cardinality_dictionary_deserialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_dict_reading", - "tables": [ - { - "table": "lc_dict_reading" - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_in/ast.json b/parser/testdata/00688_low_cardinality_in/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00688_low_cardinality_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_nullable_cast/ast.json b/parser/testdata/00688_low_cardinality_nullable_cast/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00688_low_cardinality_nullable_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_prewhere/ast.json b/parser/testdata/00688_low_cardinality_prewhere/ast.json deleted file mode 100644 index 4bf6536486..0000000000 --- a/parser/testdata/00688_low_cardinality_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_prewhere", - "tables": [ - { - "table": "lc_prewhere" - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_serialization/ast.json b/parser/testdata/00688_low_cardinality_serialization/ast.json deleted file mode 100644 index e41cd3ba15..0000000000 --- a/parser/testdata/00688_low_cardinality_serialization/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "NativeReader" - } - ] - } - ] -} diff --git a/parser/testdata/00688_low_cardinality_syntax/ast.json b/parser/testdata/00688_low_cardinality_syntax/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00688_low_cardinality_syntax/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00689_join_table_function/ast.json b/parser/testdata/00689_join_table_function/ast.json deleted file mode 100644 index 96fd7dfe8d..0000000000 --- a/parser/testdata/00689_join_table_function/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "a" - } - }, - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "b" - }, - "join": { - "type": "LEFT", - "strictness": "ANY", - "on": { - "left": { - "parts": [ - "a", - "number" - ] - }, - "op": "=", - "right": { - "parts": [ - "b", - "number" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "a", - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00691_array_distinct/ast.json b/parser/testdata/00691_array_distinct/ast.json deleted file mode 100644 index 5fdd503927..0000000000 --- a/parser/testdata/00691_array_distinct/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDistinct", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00692_if_exception_code/ast.json b/parser/testdata/00692_if_exception_code/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00692_if_exception_code/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00693_max_block_size_system_tables_columns/ast.json b/parser/testdata/00693_max_block_size_system_tables_columns/ast.json deleted file mode 100644 index e072e3bfaa..0000000000 --- a/parser/testdata/00693_max_block_size_system_tables_columns/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "avg", - "arguments": [ - { - "name": "blockSize" - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 10 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - } - ] - } - ] -} diff --git a/parser/testdata/00695_pretty_max_column_pad_width/ast.json b/parser/testdata/00695_pretty_max_column_pad_width/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/00695_pretty_max_column_pad_width/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00696_system_columns_limit/ast.json b/parser/testdata/00696_system_columns_limit/ast.json deleted file mode 100644 index de67909407..0000000000 --- a/parser/testdata/00696_system_columns_limit/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "columns" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00697_in_subquery_shard/ast.json b/parser/testdata/00697_in_subquery_shard/ast.json deleted file mode 100644 index a6160acde3..0000000000 --- a/parser/testdata/00697_in_subquery_shard/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "list": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00698_validate_array_sizes_for_nested/ast.json b/parser/testdata/00698_validate_array_sizes_for_nested/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00698_validate_array_sizes_for_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/ast.json b/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00698_validate_array_sizes_for_nested_kshvakov/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00700_decimal_aggregates/ast.json b/parser/testdata/00700_decimal_aggregates/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_aggregates/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_arithm/ast.json b/parser/testdata/00700_decimal_arithm/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_arithm/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_array_functions/ast.json b/parser/testdata/00700_decimal_array_functions/ast.json deleted file mode 100644 index 88990d15ce..0000000000 --- a/parser/testdata/00700_decimal_array_functions/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDifference", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_bounds/ast.json b/parser/testdata/00700_decimal_bounds/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_bounds/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_casts/ast.json b/parser/testdata/00700_decimal_casts/ast.json deleted file mode 100644 index 20257c6ea8..0000000000 --- a/parser/testdata/00700_decimal_casts/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toDecimal32", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toDecimal32", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_casts_2/ast.json b/parser/testdata/00700_decimal_casts_2/ast.json deleted file mode 100644 index eeafb6d4ef..0000000000 --- a/parser/testdata/00700_decimal_casts_2/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "String", - "value": "1234567890" - }, - { - "type": "Integer", - "value": 28 - } - ], - "alias": "x" - }, - { - "name": "toDecimal128", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 29 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "String", - "value": "1234567890" - }, - { - "type": "Integer", - "value": 28 - } - ] - }, - { - "type": "Integer", - "value": 29 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_compare/ast.json b/parser/testdata/00700_decimal_compare/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_compare/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_complex_types/ast.json b/parser/testdata/00700_decimal_complex_types/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_complex_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_defaults/ast.json b/parser/testdata/00700_decimal_defaults/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_empty_aggregates/ast.json b/parser/testdata/00700_decimal_empty_aggregates/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_empty_aggregates/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_formats/ast.json b/parser/testdata/00700_decimal_formats/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_formats/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_gathers/ast.json b/parser/testdata/00700_decimal_gathers/ast.json deleted file mode 100644 index 6d5c8bdc90..0000000000 --- a/parser/testdata/00700_decimal_gathers/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "Float", - "value": 2 - } - ] - }, - "type": { - "name": "Decimal(9,3)" - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "Float", - "value": 1 - } - ] - }, - "type": { - "name": "Decimal(9,3)" - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_in_keys/ast.json b/parser/testdata/00700_decimal_in_keys/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_in_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_math/ast.json b/parser/testdata/00700_decimal_math/ast.json deleted file mode 100644 index edb47a0184..0000000000 --- a/parser/testdata/00700_decimal_math/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "String", - "value": "42.42" - }, - { - "type": "Integer", - "value": 4 - } - ], - "alias": "x" - }, - { - "name": "toDecimal32", - "arguments": [ - { - "name": "log", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "type": "Integer", - "value": 4 - } - ], - "alias": "y" - }, - { - "name": "round", - "arguments": [ - { - "name": "exp", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_null/ast.json b/parser/testdata/00700_decimal_null/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_decimal_round/ast.json b/parser/testdata/00700_decimal_round/ast.json deleted file mode 100644 index 5433c23339..0000000000 --- a/parser/testdata/00700_decimal_round/ast.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 12345.6789 - }, - { - "type": "Integer", - "value": 4 - } - ], - "alias": "x" - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00700_decimal_with_default_precision_and_scale/ast.json b/parser/testdata/00700_decimal_with_default_precision_and_scale/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/00700_decimal_with_default_precision_and_scale/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/00700_to_decimal_or_something/ast.json b/parser/testdata/00700_to_decimal_or_something/ast.json deleted file mode 100644 index 414792d165..0000000000 --- a/parser/testdata/00700_to_decimal_or_something/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32OrZero", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toDecimal32OrZero", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toDecimal32OrZero", - "arguments": [ - { - "type": "String", - "value": "1.1" - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00701_context_use_after_free/ast.json b/parser/testdata/00701_context_use_after_free/ast.json deleted file mode 100644 index 0ed1bfdc95..0000000000 --- a/parser/testdata/00701_context_use_after_free/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Tuple", - "value": [ - { - "name": "toDecimal128", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "1" - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "type": "String", - "value": "2" - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Tuple", - "value": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "String", - "value": "1" - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "type": "String", - "value": "2" - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00701_join_default_strictness/ast.json b/parser/testdata/00701_join_default_strictness/ast.json deleted file mode 100644 index 12b642f900..0000000000 --- a/parser/testdata/00701_join_default_strictness/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a1", - "tables": [ - { - "table": "a1" - } - ] -} diff --git a/parser/testdata/00701_rollup/ast.json b/parser/testdata/00701_rollup/ast.json deleted file mode 100644 index 9ff7d6f7a8..0000000000 --- a/parser/testdata/00701_rollup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rollup", - "tables": [ - { - "table": "rollup" - } - ] -} diff --git a/parser/testdata/00702_join_on_dups/ast.json b/parser/testdata/00702_join_on_dups/ast.json deleted file mode 100644 index 26e34cc2e5..0000000000 --- a/parser/testdata/00702_join_on_dups/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "X", - "tables": [ - { - "table": "X" - } - ] -} diff --git a/parser/testdata/00702_join_with_using/ast.json b/parser/testdata/00702_join_with_using/ast.json deleted file mode 100644 index b00c7a9f5d..0000000000 --- a/parser/testdata/00702_join_with_using/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "using1", - "tables": [ - { - "table": "using1" - } - ] -} diff --git a/parser/testdata/00702_join_with_using_dups/ast.json b/parser/testdata/00702_join_with_using_dups/ast.json deleted file mode 100644 index 26e34cc2e5..0000000000 --- a/parser/testdata/00702_join_with_using_dups/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "X", - "tables": [ - { - "table": "X" - } - ] -} diff --git a/parser/testdata/00702_where_with_quailified_names/ast.json b/parser/testdata/00702_where_with_quailified_names/ast.json deleted file mode 100644 index d74289b5d8..0000000000 --- a/parser/testdata/00702_where_with_quailified_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "where_qualified", - "tables": [ - { - "table": "where_qualified" - } - ] -} diff --git a/parser/testdata/00703_join_crash/ast.json b/parser/testdata/00703_join_crash/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/00703_join_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/00704_arrayCumSumLimited_arrayDifference/ast.json b/parser/testdata/00704_arrayCumSumLimited_arrayDifference/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00704_arrayCumSumLimited_arrayDifference/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00705_aggregate_states_addition/ast.json b/parser/testdata/00705_aggregate_states_addition/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00705_aggregate_states_addition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00706_iso_week_and_day_of_year/ast.json b/parser/testdata/00706_iso_week_and_day_of_year/ast.json deleted file mode 100644 index 9eb6633261..0000000000 --- a/parser/testdata/00706_iso_week_and_day_of_year/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDayOfYear", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2018-09-13" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00707_float_csv_delimiter/ast.json b/parser/testdata/00707_float_csv_delimiter/ast.json deleted file mode 100644 index 8d0f7c8c25..0000000000 --- a/parser/testdata/00707_float_csv_delimiter/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_00707", - "tables": [ - { - "table": "test_00707" - } - ], - "temporary": true -} diff --git a/parser/testdata/00709_virtual_column_partition_id/ast.json b/parser/testdata/00709_virtual_column_partition_id/ast.json deleted file mode 100644 index 6a8043aa63..0000000000 --- a/parser/testdata/00709_virtual_column_partition_id/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partition_id", - "tables": [ - { - "table": "partition_id" - } - ] -} diff --git a/parser/testdata/00710_array_enumerate_dense/ast.json b/parser/testdata/00710_array_enumerate_dense/ast.json deleted file mode 100644 index a15b9bb22c..0000000000 --- a/parser/testdata/00710_array_enumerate_dense/ast.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 54321 - } - ] - } - ], - "alias": "a" - }, - { - "name": "arrayUniq", - "arguments": [ - { - "parts": [ - "a" - ] - } - ], - "alias": "u" - }, - { - "name": "arrayEnumerateDense", - "arguments": [ - { - "parts": [ - "a" - ] - } - ], - "alias": "arr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000000 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "left": { - "name": "intHash32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100000 - } - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "u" - ] - }, - "op": "\u003c\u003e", - "right": { - "array": { - "name": "arrayReverseSort", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - } - } - } - ] -} diff --git a/parser/testdata/00711_array_enumerate_variants/ast.json b/parser/testdata/00711_array_enumerate_variants/ast.json deleted file mode 100644 index 5d725b31c4..0000000000 --- a/parser/testdata/00711_array_enumerate_variants/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "name": "arrayEnumerateDense", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_alias/ast.json b/parser/testdata/00712_prewhere_with_alias/ast.json deleted file mode 100644 index 1a97fe8170..0000000000 --- a/parser/testdata/00712_prewhere_with_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere_alias", - "tables": [ - { - "table": "prewhere_alias" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_alias_and_virtual_column/ast.json b/parser/testdata/00712_prewhere_with_alias_and_virtual_column/ast.json deleted file mode 100644 index c7e2836046..0000000000 --- a/parser/testdata/00712_prewhere_with_alias_and_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00712_1", - "tables": [ - { - "table": "tab_00712_1" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_alias_bug/ast.json b/parser/testdata/00712_prewhere_with_alias_bug/ast.json deleted file mode 100644 index 1a97fe8170..0000000000 --- a/parser/testdata/00712_prewhere_with_alias_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere_alias", - "tables": [ - { - "table": "prewhere_alias" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_alias_bug_2/ast.json b/parser/testdata/00712_prewhere_with_alias_bug_2/ast.json deleted file mode 100644 index e6e111e024..0000000000 --- a/parser/testdata/00712_prewhere_with_alias_bug_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table", - "tables": [ - { - "table": "table" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_final/ast.json b/parser/testdata/00712_prewhere_with_final/ast.json deleted file mode 100644 index b0d8267f0c..0000000000 --- a/parser/testdata/00712_prewhere_with_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "trepl", - "tables": [ - { - "table": "trepl" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_missing_columns/ast.json b/parser/testdata/00712_prewhere_with_missing_columns/ast.json deleted file mode 100644 index 7fb83010ba..0000000000 --- a/parser/testdata/00712_prewhere_with_missing_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mergetree_00712", - "tables": [ - { - "table": "mergetree_00712" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_missing_columns_2/ast.json b/parser/testdata/00712_prewhere_with_missing_columns_2/ast.json deleted file mode 100644 index 6da8bc949b..0000000000 --- a/parser/testdata/00712_prewhere_with_missing_columns_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00712_1", - "tables": [ - { - "table": "t_00712_1" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_sampling/ast.json b/parser/testdata/00712_prewhere_with_sampling/ast.json deleted file mode 100644 index 1a87f54071..0000000000 --- a/parser/testdata/00712_prewhere_with_sampling/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00712_2", - "tables": [ - { - "table": "tab_00712_2" - } - ] -} diff --git a/parser/testdata/00712_prewhere_with_sampling_and_alias/ast.json b/parser/testdata/00712_prewhere_with_sampling_and_alias/ast.json deleted file mode 100644 index 3710f9c19f..0000000000 --- a/parser/testdata/00712_prewhere_with_sampling_and_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00712_2", - "tables": [ - { - "table": "t_00712_2" - } - ] -} diff --git a/parser/testdata/00713_collapsing_merge_tree/ast.json b/parser/testdata/00713_collapsing_merge_tree/ast.json deleted file mode 100644 index 8ea9e90907..0000000000 --- a/parser/testdata/00713_collapsing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "collapsing", - "tables": [ - { - "table": "collapsing" - } - ] -} diff --git a/parser/testdata/00714_alter_uuid/ast.json b/parser/testdata/00714_alter_uuid/ast.json deleted file mode 100644 index 711e8a2df5..0000000000 --- a/parser/testdata/00714_alter_uuid/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "00000000-0000-01f8-9cb8-cb1b82fb3900" - }, - "alias": "str" - }, - { - "name": "toUUID", - "arguments": [ - { - "parts": [ - "str" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00714_create_temporary_table_with_in_clause/ast.json b/parser/testdata/00714_create_temporary_table_with_in_clause/ast.json deleted file mode 100644 index fa6ac46390..0000000000 --- a/parser/testdata/00714_create_temporary_table_with_in_clause/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "temporary_table", - "tables": [ - { - "table": "temporary_table" - } - ], - "temporary": true -} diff --git a/parser/testdata/00715_bounding_ratio/ast.json b/parser/testdata/00715_bounding_ratio/ast.json deleted file mode 100644 index eeeeec1f35..0000000000 --- a/parser/testdata/00715_bounding_ratio/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rate_test", - "tables": [ - { - "table": "rate_test" - } - ] -} diff --git a/parser/testdata/00715_bounding_ratio_merge_empty/ast.json b/parser/testdata/00715_bounding_ratio_merge_empty/ast.json deleted file mode 100644 index eeeeec1f35..0000000000 --- a/parser/testdata/00715_bounding_ratio_merge_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rate_test", - "tables": [ - { - "table": "rate_test" - } - ] -} diff --git a/parser/testdata/00716_allow_ddl/ast.json b/parser/testdata/00716_allow_ddl/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00716_allow_ddl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00717_default_join_type/ast.json b/parser/testdata/00717_default_join_type/ast.json deleted file mode 100644 index 943aaa0488..0000000000 --- a/parser/testdata/00717_default_join_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "default_join1", - "tables": [ - { - "table": "default_join1" - } - ] -} diff --git a/parser/testdata/00717_low_cardinaliry_distributed_group_by/ast.json b/parser/testdata/00717_low_cardinaliry_distributed_group_by/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/00717_low_cardinaliry_distributed_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00717_low_cardinaliry_group_by/ast.json b/parser/testdata/00717_low_cardinaliry_group_by/ast.json deleted file mode 100644 index 80cf2979c2..0000000000 --- a/parser/testdata/00717_low_cardinaliry_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_00717", - "tables": [ - { - "table": "tab_00717" - } - ] -} diff --git a/parser/testdata/00717_merge_and_distributed/ast.json b/parser/testdata/00717_merge_and_distributed/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00717_merge_and_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00718_format_datetime/ast.json b/parser/testdata/00718_format_datetime/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00718_format_datetime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00718_format_datetime_1/ast.json b/parser/testdata/00718_format_datetime_1/ast.json deleted file mode 100644 index 11f33f1837..0000000000 --- a/parser/testdata/00718_format_datetime_1/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1900-01-01 00:00:00.000" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "type": "String", - "value": "%F %T.%f" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00718_low_cardinaliry_alter/ast.json b/parser/testdata/00718_low_cardinaliry_alter/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00718_low_cardinaliry_alter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00719_format_datetime_f_varsize_bug/ast.json b/parser/testdata/00719_format_datetime_f_varsize_bug/ast.json deleted file mode 100644 index 797bc8097d..0000000000 --- a/parser/testdata/00719_format_datetime_f_varsize_bug/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "Date", - "arguments": [ - { - "type": "String", - "value": "2026-01-02" - } - ] - }, - { - "type": "String", - "value": "%h:%M:%s.%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f%f" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00719_format_datetime_rand/ast.json b/parser/testdata/00719_format_datetime_rand/ast.json deleted file mode 100644 index 8e0a4cf2e4..0000000000 --- a/parser/testdata/00719_format_datetime_rand/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "t", - "query": { - "name": "toDateTime", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "left": { - "name": "rand" - }, - "op": "%", - "right": { - "type": "Integer", - "value": 4294967295 - } - } - } - ] - } - } - ], - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "name": "formatDateTime", - "arguments": [ - { - "parts": [ - "t" - ] - }, - { - "type": "String", - "value": "%F %T" - } - ] - }, - "op": "!=", - "right": { - "name": "toString", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00720_with_cube/ast.json b/parser/testdata/00720_with_cube/ast.json deleted file mode 100644 index ece561a349..0000000000 --- a/parser/testdata/00720_with_cube/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cube", - "tables": [ - { - "table": "cube" - } - ] -} diff --git a/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/ast.json b/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/ast.json deleted file mode 100644 index 540be6d2e3..0000000000 --- a/parser/testdata/00721_force_by_identical_result_after_merge_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_warmed_unmerged_parts_seconds", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00722_inner_join/ast.json b/parser/testdata/00722_inner_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00722_inner_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00723_remerge_sort/ast.json b/parser/testdata/00723_remerge_sort/ast.json deleted file mode 100644 index 5bcb269421..0000000000 --- a/parser/testdata/00723_remerge_sort/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 2000000 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10000 - } - } - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00724_insert_values_datetime_conversion/ast.json b/parser/testdata/00724_insert_values_datetime_conversion/ast.json deleted file mode 100644 index bd9b7a7e1a..0000000000 --- a/parser/testdata/00724_insert_values_datetime_conversion/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_00724", - "tables": [ - { - "table": "test_00724" - } - ], - "temporary": true -} diff --git a/parser/testdata/00725_comment_columns_long/ast.json b/parser/testdata/00725_comment_columns_long/ast.json deleted file mode 100644 index 09c747e116..0000000000 --- a/parser/testdata/00725_comment_columns_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00725_ipv4_ipv6_domains/ast.json b/parser/testdata/00725_ipv4_ipv6_domains/ast.json deleted file mode 100644 index 991cc9f855..0000000000 --- a/parser/testdata/00725_ipv4_ipv6_domains/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ipv4_test", - "tables": [ - { - "table": "ipv4_test" - } - ] -} diff --git a/parser/testdata/00725_join_on_bug_1/ast.json b/parser/testdata/00725_join_on_bug_1/ast.json deleted file mode 100644 index 12b642f900..0000000000 --- a/parser/testdata/00725_join_on_bug_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a1", - "tables": [ - { - "table": "a1" - } - ] -} diff --git a/parser/testdata/00725_join_on_bug_2/ast.json b/parser/testdata/00725_join_on_bug_2/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00725_join_on_bug_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00725_join_on_bug_3/ast.json b/parser/testdata/00725_join_on_bug_3/ast.json deleted file mode 100644 index 96961942c1..0000000000 --- a/parser/testdata/00725_join_on_bug_3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00725_3", - "tables": [ - { - "table": "t_00725_3" - } - ] -} diff --git a/parser/testdata/00725_join_on_bug_4/ast.json b/parser/testdata/00725_join_on_bug_4/ast.json deleted file mode 100644 index ab3cebcd46..0000000000 --- a/parser/testdata/00725_join_on_bug_4/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00725_4", - "tables": [ - { - "table": "t_00725_4" - } - ] -} diff --git a/parser/testdata/00725_memory_tracking/ast.json b/parser/testdata/00725_memory_tracking/ast.json deleted file mode 100644 index 907d408abe..0000000000 --- a/parser/testdata/00725_memory_tracking/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "least", - "arguments": [ - { - "parts": [ - "value" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "metrics" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "metric" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "MemoryTracking" - } - } - } - ] -} diff --git a/parser/testdata/00725_quantiles_shard/ast.json b/parser/testdata/00725_quantiles_shard/ast.json deleted file mode 100644 index a588843211..0000000000 --- a/parser/testdata/00725_quantiles_shard/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantiles", - "parameters": [ - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 0.9 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00726_materialized_view_concurrent/ast.json b/parser/testdata/00726_materialized_view_concurrent/ast.json deleted file mode 100644 index b4f8cdeaa3..0000000000 --- a/parser/testdata/00726_materialized_view_concurrent/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_00726", - "tables": [ - { - "table": "src_00726" - } - ] -} diff --git a/parser/testdata/00726_modulo_for_date/ast.json b/parser/testdata/00726_modulo_for_date/ast.json deleted file mode 100644 index 8decc7592c..0000000000 --- a/parser/testdata/00726_modulo_for_date/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2018-06-21" - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 234 - } - }, - "op": "=", - "right": { - "left": { - "name": "toUInt16", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2018-06-21" - } - ] - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 234 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/00727_concat/ast.json b/parser/testdata/00727_concat/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/00727_concat/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00729_prewhere_array_join/ast.json b/parser/testdata/00729_prewhere_array_join/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00729_prewhere_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00730_unicode_terminal_format/ast.json b/parser/testdata/00730_unicode_terminal_format/ast.json deleted file mode 100644 index 8afc62267a..0000000000 --- a/parser/testdata/00730_unicode_terminal_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_squash_consecutive_ms", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00732_base64_functions/ast.json b/parser/testdata/00732_base64_functions/ast.json deleted file mode 100644 index 3d246d50e2..0000000000 --- a/parser/testdata/00732_base64_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base64Encode" - } - ] - } - ] -} diff --git a/parser/testdata/00732_decimal_summing_merge_tree/ast.json b/parser/testdata/00732_decimal_summing_merge_tree/ast.json deleted file mode 100644 index ce45549d3b..0000000000 --- a/parser/testdata/00732_decimal_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal_sum", - "tables": [ - { - "table": "decimal_sum" - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_have_data_before_quorum_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_lost_part_and_alive_part_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_lost_part_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_select_with_old_data_and_without_quorum_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_simple_test_1_parts_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/ast.json b/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00732_quorum_insert_simple_test_2_parts_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00733_if_datetime/ast.json b/parser/testdata/00733_if_datetime/ast.json deleted file mode 100644 index 16d87a100b..0000000000 --- a/parser/testdata/00733_if_datetime/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2000-01-01 00:00:00" - } - ] - }, - "else": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2001-02-03 04:05:06" - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00734_timeslot/ast.json b/parser/testdata/00734_timeslot/ast.json deleted file mode 100644 index 577a060b36..0000000000 --- a/parser/testdata/00734_timeslot/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "timeSlot", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2000-01-02 03:04:05" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00735_long_conditional/ast.json b/parser/testdata/00735_long_conditional/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00735_long_conditional/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00735_or_expr_optimize_bug/ast.json b/parser/testdata/00735_or_expr_optimize_bug/ast.json deleted file mode 100644 index 2b118858df..0000000000 --- a/parser/testdata/00735_or_expr_optimize_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "or_expr_bug", - "tables": [ - { - "table": "or_expr_bug" - } - ] -} diff --git a/parser/testdata/00736_disjunction_optimisation/ast.json b/parser/testdata/00736_disjunction_optimisation/ast.json deleted file mode 100644 index 62aed85c1f..0000000000 --- a/parser/testdata/00736_disjunction_optimisation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bug", - "tables": [ - { - "table": "bug" - } - ] -} diff --git a/parser/testdata/00737_decimal_group_by/ast.json b/parser/testdata/00737_decimal_group_by/ast.json deleted file mode 100644 index 28d537f50b..0000000000 --- a/parser/testdata/00737_decimal_group_by/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 1.1 - }, - { - "type": "Integer", - "value": 2 - } - ], - "alias": "x" - } - ], - "group_by": [ - { - "parts": [ - "x" - ] - } - ] - } - ] -} diff --git a/parser/testdata/00738_nested_merge_multidimensional_array/ast.json b/parser/testdata/00738_nested_merge_multidimensional_array/ast.json deleted file mode 100644 index 0151b6a6a3..0000000000 --- a/parser/testdata/00738_nested_merge_multidimensional_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sites", - "tables": [ - { - "table": "sites" - } - ] -} diff --git a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/ast.json b/parser/testdata/00739_array_element_nullable_string_mattrobenolt/ast.json deleted file mode 100644 index ef5bfda66f..0000000000 --- a/parser/testdata/00739_array_element_nullable_string_mattrobenolt/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "wups", - "tables": [ - { - "table": "wups" - } - ], - "temporary": true -} diff --git a/parser/testdata/00740_optimize_predicate_expression/ast.json b/parser/testdata/00740_optimize_predicate_expression/ast.json deleted file mode 100644 index 3fb70ad0c8..0000000000 --- a/parser/testdata/00740_optimize_predicate_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "perf", - "tables": [ - { - "table": "perf" - } - ] -} diff --git a/parser/testdata/00741_client_comment_multiline/ast.json b/parser/testdata/00741_client_comment_multiline/ast.json deleted file mode 100644 index e83b1c707a..0000000000 --- a/parser/testdata/00741_client_comment_multiline/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_00741", - "create_database": true -} diff --git a/parser/testdata/00742_require_join_strictness/ast.json b/parser/testdata/00742_require_join_strictness/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00742_require_join_strictness/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00743_limit_by_not_found_column/ast.json b/parser/testdata/00743_limit_by_not_found_column/ast.json deleted file mode 100644 index 2fc2bf8792..0000000000 --- a/parser/testdata/00743_limit_by_not_found_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "installation_stats", - "tables": [ - { - "table": "installation_stats" - } - ] -} diff --git a/parser/testdata/00744_join_not_found_column/ast.json b/parser/testdata/00744_join_not_found_column/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00744_join_not_found_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00745_compile_scalar_subquery/ast.json b/parser/testdata/00745_compile_scalar_subquery/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/00745_compile_scalar_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00746_compile_non_deterministic_function/ast.json b/parser/testdata/00746_compile_non_deterministic_function/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/00746_compile_non_deterministic_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00746_hashing_tuples/ast.json b/parser/testdata/00746_hashing_tuples/ast.json deleted file mode 100644 index 05cfa44b67..0000000000 --- a/parser/testdata/00746_hashing_tuples/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sipHash64", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00747_contributors/ast.json b/parser/testdata/00747_contributors/ast.json deleted file mode 100644 index af3c61c9d6..0000000000 --- a/parser/testdata/00747_contributors/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "contributors" - } - } - } - ] - } - } - ] - } - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 200 - } - }, - { - "type": "String", - "value": "ok" - }, - { - "type": "String", - "value": "fail" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00748_insert_array_with_null/ast.json b/parser/testdata/00748_insert_array_with_null/ast.json deleted file mode 100644 index be72270ead..0000000000 --- a/parser/testdata/00748_insert_array_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "arraytest", - "tables": [ - { - "table": "arraytest" - } - ] -} diff --git a/parser/testdata/00749_inner_join_of_unnamed_subqueries/ast.json b/parser/testdata/00749_inner_join_of_unnamed_subqueries/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00749_inner_join_of_unnamed_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00750_merge_tree_merge_with_o_direct/ast.json b/parser/testdata/00750_merge_tree_merge_with_o_direct/ast.json deleted file mode 100644 index 95b232258c..0000000000 --- a/parser/testdata/00750_merge_tree_merge_with_o_direct/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sample_merge_tree", - "tables": [ - { - "table": "sample_merge_tree" - } - ] -} diff --git a/parser/testdata/00751_default_databasename_for_view/ast.json b/parser/testdata/00751_default_databasename_for_view/ast.json deleted file mode 100644 index ed7291bbca..0000000000 --- a/parser/testdata/00751_default_databasename_for_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00751", - "tables": [ - { - "table": "t_00751" - } - ] -} diff --git a/parser/testdata/00751_hashing_ints/ast.json b/parser/testdata/00751_hashing_ints/ast.json deleted file mode 100644 index b8a6965b81..0000000000 --- a/parser/testdata/00751_hashing_ints/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "halfMD5", - "arguments": [ - { - "type": "Integer", - "value": 123456 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00751_low_cardinality_nullable_group_by/ast.json b/parser/testdata/00751_low_cardinality_nullable_group_by/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00751_low_cardinality_nullable_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_array_result/ast.json b/parser/testdata/00752_low_cardinality_array_result/ast.json deleted file mode 100644 index dbeb53db5b..0000000000 --- a/parser/testdata/00752_low_cardinality_array_result/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "splitByChar", - "arguments": [ - { - "type": "String", - "value": "," - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "a,b,c" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_lambda_argument/ast.json b/parser/testdata/00752_low_cardinality_lambda_argument/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00752_low_cardinality_lambda_argument/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_left_array_join/ast.json b/parser/testdata/00752_low_cardinality_left_array_join/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00752_low_cardinality_left_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_mv_1/ast.json b/parser/testdata/00752_low_cardinality_mv_1/ast.json deleted file mode 100644 index 5dc8c1a416..0000000000 --- a/parser/testdata/00752_low_cardinality_mv_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_00752", - "tables": [ - { - "table": "lc_00752" - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_mv_2/ast.json b/parser/testdata/00752_low_cardinality_mv_2/ast.json deleted file mode 100644 index dfd3f07df1..0000000000 --- a/parser/testdata/00752_low_cardinality_mv_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "radacct", - "tables": [ - { - "table": "radacct" - } - ] -} diff --git a/parser/testdata/00752_low_cardinality_permute/ast.json b/parser/testdata/00752_low_cardinality_permute/ast.json deleted file mode 100644 index 0e6aa60931..0000000000 --- a/parser/testdata/00752_low_cardinality_permute/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_perm", - "tables": [ - { - "table": "lc_perm" - } - ] -} diff --git a/parser/testdata/00753_alter_attach/ast.json b/parser/testdata/00753_alter_attach/ast.json deleted file mode 100644 index 0b52efeaa3..0000000000 --- a/parser/testdata/00753_alter_attach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_attach", - "tables": [ - { - "table": "alter_attach" - } - ] -} diff --git a/parser/testdata/00753_alter_destination_for_storage_buffer/ast.json b/parser/testdata/00753_alter_destination_for_storage_buffer/ast.json deleted file mode 100644 index 41f20fe578..0000000000 --- a/parser/testdata/00753_alter_destination_for_storage_buffer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dst_00753", - "tables": [ - { - "table": "dst_00753" - } - ] -} diff --git a/parser/testdata/00753_comment_columns_zookeeper/ast.json b/parser/testdata/00753_comment_columns_zookeeper/ast.json deleted file mode 100644 index f5a507fc86..0000000000 --- a/parser/testdata/00753_comment_columns_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "check_comments", - "tables": [ - { - "table": "check_comments" - } - ] -} diff --git a/parser/testdata/00753_distributed_system_columns_and_system_tables/ast.json b/parser/testdata/00753_distributed_system_columns_and_system_tables/ast.json deleted file mode 100644 index 79d851998d..0000000000 --- a/parser/testdata/00753_distributed_system_columns_and_system_tables/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Check total_bytes/total_rows for Distributed" - } - ] - } - ] -} diff --git a/parser/testdata/00753_quantile_format/ast.json b/parser/testdata/00753_quantile_format/ast.json deleted file mode 100644 index fefe321e89..0000000000 --- a/parser/testdata/00753_quantile_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "datetime", - "tables": [ - { - "table": "datetime" - } - ] -} diff --git a/parser/testdata/00753_system_columns_and_system_tables_long/ast.json b/parser/testdata/00753_system_columns_and_system_tables_long/ast.json deleted file mode 100644 index 09c747e116..0000000000 --- a/parser/testdata/00753_system_columns_and_system_tables_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00753_with_with_single_alias/ast.json b/parser/testdata/00753_with_with_single_alias/ast.json deleted file mode 100644 index 618b4fd4b6..0000000000 --- a/parser/testdata/00753_with_with_single_alias/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "myName", - "query": { - "parts": [ - "dummy" - ] - } - } - ], - "columns": [ - { - "parts": [ - "myName" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00754_alter_modify_column_partitions/ast.json b/parser/testdata/00754_alter_modify_column_partitions/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00754_alter_modify_column_partitions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00754_alter_modify_order_by/ast.json b/parser/testdata/00754_alter_modify_order_by/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00754_alter_modify_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/ast.json b/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/00754_alter_modify_order_by_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00754_first_significant_subdomain_more/ast.json b/parser/testdata/00754_first_significant_subdomain_more/ast.json deleted file mode 100644 index 34011f68f7..0000000000 --- a/parser/testdata/00754_first_significant_subdomain_more/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "firstSignificantSubdomain", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "http://usa.gov.com/cgi-bin/yabb.pl?password=qwerty" - }, - { - "type": "String", - "value": "https://www2.pentagon.mil.net/index.phtml" - }, - { - "type": "String", - "value": "ftp://stanford.edu.org/~ivanov/phd-thesis.SHTM" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00755_avg_value_size_hint_passing/ast.json b/parser/testdata/00755_avg_value_size_hint_passing/ast.json deleted file mode 100644 index 598a763ebc..0000000000 --- a/parser/testdata/00755_avg_value_size_hint_passing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "size_hint", - "tables": [ - { - "table": "size_hint" - } - ] -} diff --git a/parser/testdata/00757_enum_defaults/ast.json b/parser/testdata/00757_enum_defaults/ast.json deleted file mode 100644 index baf5345b44..0000000000 --- a/parser/testdata/00757_enum_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "auto_assign_enum", - "tables": [ - { - "table": "auto_assign_enum" - } - ] -} diff --git a/parser/testdata/00757_enum_defaults_const_analyzer/ast.json b/parser/testdata/00757_enum_defaults_const_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00757_enum_defaults_const_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00758_array_reverse/ast.json b/parser/testdata/00758_array_reverse/ast.json deleted file mode 100644 index c8353aa2df..0000000000 --- a/parser/testdata/00758_array_reverse/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reverse", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - }, - { - "type": "String", - "value": "\u0000" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00760_insert_json_with_defaults/ast.json b/parser/testdata/00760_insert_json_with_defaults/ast.json deleted file mode 100644 index 00b12f5607..0000000000 --- a/parser/testdata/00760_insert_json_with_defaults/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_defaults_for_omitted_fields", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00760_url_functions_overflow/ast.json b/parser/testdata/00760_url_functions_overflow/ast.json deleted file mode 100644 index 36e2ee067b..0000000000 --- a/parser/testdata/00760_url_functions_overflow/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractURLParameter", - "arguments": [ - { - "type": "String", - "value": "?_" - }, - { - "type": "String", - "value": "\u0000_________________________________" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00762_date_comparsion/ast.json b/parser/testdata/00762_date_comparsion/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00762_date_comparsion/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00763_create_query_as_table_engine_bug/ast.json b/parser/testdata/00763_create_query_as_table_engine_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00763_create_query_as_table_engine_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00765_locate/ast.json b/parser/testdata/00765_locate/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00765_locate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00765_sql_compatibility_aliases/ast.json b/parser/testdata/00765_sql_compatibility_aliases/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00765_sql_compatibility_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00779_all_right_join_max_block_size/ast.json b/parser/testdata/00779_all_right_join_max_block_size/ast.json deleted file mode 100644 index 1191a4f56c..0000000000 --- a/parser/testdata/00779_all_right_join_max_block_size/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "min_joined_block_size_bytes", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00780_unaligned_array_join/ast.json b/parser/testdata/00780_unaligned_array_join/ast.json deleted file mode 100644 index 8f2625d2f7..0000000000 --- a/parser/testdata/00780_unaligned_array_join/ast.json +++ /dev/null @@ -1,133 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "arr1" - ] - }, - { - "parts": [ - "arr2" - ] - }, - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "arr1" - }, - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "arr2" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] - } - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "arr1" - ], - "alias": "x" - }, - { - "parts": [ - "arr2" - ], - "alias": "y" - } - ] - }, - "settings": [ - { - "name": "enable_unaligned_array_join", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/00794_materialized_view_with_column_defaults/ast.json b/parser/testdata/00794_materialized_view_with_column_defaults/ast.json deleted file mode 100644 index 575f9c6839..0000000000 --- a/parser/testdata/00794_materialized_view_with_column_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_view", - "tables": [ - { - "table": "table_view" - } - ] -} diff --git a/parser/testdata/00799_function_dry_run/ast.json b/parser/testdata/00799_function_dry_run/ast.json deleted file mode 100644 index 3fea70f0ea..0000000000 --- a/parser/testdata/00799_function_dry_run/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bm", - "tables": [ - { - "table": "bm" - } - ] -} diff --git a/parser/testdata/00800_function_java_hash/ast.json b/parser/testdata/00800_function_java_hash/ast.json deleted file mode 100644 index cbd0699b9f..0000000000 --- a/parser/testdata/00800_function_java_hash/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "javaHash", - "arguments": [ - { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00800_low_cardinality_array_group_by_arg/ast.json b/parser/testdata/00800_low_cardinality_array_group_by_arg/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00800_low_cardinality_array_group_by_arg/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00800_low_cardinality_distinct_numeric/ast.json b/parser/testdata/00800_low_cardinality_distinct_numeric/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00800_low_cardinality_distinct_numeric/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00800_low_cardinality_distributed_insert/ast.json b/parser/testdata/00800_low_cardinality_distributed_insert/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/00800_low_cardinality_distributed_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00800_low_cardinality_empty_array/ast.json b/parser/testdata/00800_low_cardinality_empty_array/ast.json deleted file mode 100644 index 9340f0672f..0000000000 --- a/parser/testdata/00800_low_cardinality_empty_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_00800_1", - "tables": [ - { - "table": "lc_00800_1" - } - ] -} diff --git a/parser/testdata/00800_low_cardinality_join/ast.json b/parser/testdata/00800_low_cardinality_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00800_low_cardinality_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00800_versatile_storage_join/ast.json b/parser/testdata/00800_versatile_storage_join/ast.json deleted file mode 100644 index 8d32beb3ff..0000000000 --- a/parser/testdata/00800_versatile_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_any_inner", - "tables": [ - { - "table": "join_any_inner" - } - ] -} diff --git a/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/ast.json b/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/ast.json deleted file mode 100644 index 036c24178b..0000000000 --- a/parser/testdata/00802_daylight_saving_time_shift_backwards_at_midnight/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "name": "toString", - "arguments": [ - { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "1981-09-29 00:00:00" - }, - { - "type": "String", - "value": "Europe/Moscow" - } - ] - }, - "op": "+", - "right": { - "value": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 300 - } - }, - "unit": "SECOND" - } - } - ] - } - ], - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "having": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1 - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00802_system_parts_with_datetime_partition/ast.json b/parser/testdata/00802_system_parts_with_datetime_partition/ast.json deleted file mode 100644 index 25f05b93ed..0000000000 --- a/parser/testdata/00802_system_parts_with_datetime_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "datetime_table", - "tables": [ - { - "table": "datetime_table" - } - ] -} diff --git a/parser/testdata/00803_odbc_driver_2_format/ast.json b/parser/testdata/00803_odbc_driver_2_format/ast.json deleted file mode 100644 index a584df45e9..0000000000 --- a/parser/testdata/00803_odbc_driver_2_format/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "y" - }, - { - "expr": { - "type": "String", - "value": "Hello" - }, - "alias": "z" - }, - { - "expr": { - "type": "Null", - "value": null - }, - "alias": "a" - } - ], - "format": { - "parts": [ - "ODBCDriver2" - ] - } - } - ] -} diff --git a/parser/testdata/00803_xxhash/ast.json b/parser/testdata/00803_xxhash/ast.json deleted file mode 100644 index 80875897ba..0000000000 --- a/parser/testdata/00803_xxhash/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "hex", - "arguments": [ - { - "name": "xxHash64", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - }, - "op": "=", - "right": { - "name": "upper", - "arguments": [ - { - "type": "String", - "value": "ef46db3751d8e999" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00804_rollup_with_having/ast.json b/parser/testdata/00804_rollup_with_having/ast.json deleted file mode 100644 index f3baf7e07e..0000000000 --- a/parser/testdata/00804_rollup_with_having/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rollup_having", - "tables": [ - { - "table": "rollup_having" - } - ] -} diff --git a/parser/testdata/00804_test_alter_compression_codecs/ast.json b/parser/testdata/00804_test_alter_compression_codecs/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00804_test_alter_compression_codecs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00804_test_custom_compression_codecs/ast.json b/parser/testdata/00804_test_custom_compression_codecs/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00804_test_custom_compression_codecs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00804_test_custom_compression_codes_log_storages/ast.json b/parser/testdata/00804_test_custom_compression_codes_log_storages/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00804_test_custom_compression_codes_log_storages/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00804_test_deflate_qpl_codec_compression/ast.json b/parser/testdata/00804_test_deflate_qpl_codec_compression/ast.json deleted file mode 100644 index 14aa8fd407..0000000000 --- a/parser/testdata/00804_test_deflate_qpl_codec_compression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_deflate_qpl_codec", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00804_test_delta_codec_compression/ast.json b/parser/testdata/00804_test_delta_codec_compression/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00804_test_delta_codec_compression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00804_test_delta_codec_no_type_alter/ast.json b/parser/testdata/00804_test_delta_codec_no_type_alter/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00804_test_delta_codec_no_type_alter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00804_test_zstd_qat_codec_compression/ast.json b/parser/testdata/00804_test_zstd_qat_codec_compression/ast.json deleted file mode 100644 index a4ef5edcf3..0000000000 --- a/parser/testdata/00804_test_zstd_qat_codec_compression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_zstd_qat_codec", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00805_round_down/ast.json b/parser/testdata/00805_round_down/ast.json deleted file mode 100644 index 3f6297216f..0000000000 --- a/parser/testdata/00805_round_down/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - }, - { - "name": "roundDown", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00806_alter_update/ast.json b/parser/testdata/00806_alter_update/ast.json deleted file mode 100644 index f4700bac35..0000000000 --- a/parser/testdata/00806_alter_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_update_00806", - "tables": [ - { - "table": "alter_update_00806" - } - ] -} diff --git a/parser/testdata/00807_regexp_quote_meta/ast.json b/parser/testdata/00807_regexp_quote_meta/ast.json deleted file mode 100644 index 8d8f92d996..0000000000 --- a/parser/testdata/00807_regexp_quote_meta/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "regexpQuoteMeta", - "arguments": [ - { - "type": "String", - "value": "hello" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00808_array_enumerate_segfault/ast.json b/parser/testdata/00808_array_enumerate_segfault/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00808_array_enumerate_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00808_not_optimize_predicate/ast.json b/parser/testdata/00808_not_optimize_predicate/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00808_not_optimize_predicate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00809_add_days_segfault/ast.json b/parser/testdata/00809_add_days_segfault/ast.json deleted file mode 100644 index 9ea7c17e34..0000000000 --- a/parser/testdata/00809_add_days_segfault/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "name": "addDays", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00810_in_operators_segfault/ast.json b/parser/testdata/00810_in_operators_segfault/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00810_in_operators_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00811_garbage/ast.json b/parser/testdata/00811_garbage/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00811_garbage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00812_prewhere_alias_array/ast.json b/parser/testdata/00812_prewhere_alias_array/ast.json deleted file mode 100644 index c47292d4dc..0000000000 --- a/parser/testdata/00812_prewhere_alias_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere", - "tables": [ - { - "table": "prewhere" - } - ] -} diff --git a/parser/testdata/00813_parse_date_time_best_effort_more/ast.json b/parser/testdata/00813_parse_date_time_best_effort_more/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/00813_parse_date_time_best_effort_more/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00814_parsing_ub/ast.json b/parser/testdata/00814_parsing_ub/ast.json deleted file mode 100644 index b24d79f442..0000000000 --- a/parser/testdata/00814_parsing_ub/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInt8", - "arguments": [ - { - "type": "String", - "value": "-128" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00815_left_join_on_stepanel/ast.json b/parser/testdata/00815_left_join_on_stepanel/ast.json deleted file mode 100644 index f39eaf56ae..0000000000 --- a/parser/testdata/00815_left_join_on_stepanel/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fact_cpc_clicks", - "tables": [ - { - "table": "fact_cpc_clicks" - } - ] -} diff --git a/parser/testdata/00816_join_column_names_sarg/ast.json b/parser/testdata/00816_join_column_names_sarg/ast.json deleted file mode 100644 index 4b6ab17a44..0000000000 --- a/parser/testdata/00816_join_column_names_sarg/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1_00816", - "tables": [ - { - "table": "t1_00816" - } - ] -} diff --git a/parser/testdata/00817_with_simple/ast.json b/parser/testdata/00817_with_simple/ast.json deleted file mode 100644 index dd0d306d90..0000000000 --- a/parser/testdata/00817_with_simple/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "k", - "query": { - "parts": [ - "number" - ] - } - } - ], - "columns": [ - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00818_alias_bug_4110/ast.json b/parser/testdata/00818_alias_bug_4110/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00818_alias_bug_4110/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00818_inner_join_bug_3567/ast.json b/parser/testdata/00818_inner_join_bug_3567/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/00818_inner_join_bug_3567/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00818_join_bug_4271/ast.json b/parser/testdata/00818_join_bug_4271/ast.json deleted file mode 100644 index 4c43800beb..0000000000 --- a/parser/testdata/00818_join_bug_4271/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_00818", - "tables": [ - { - "table": "t_00818" - } - ] -} diff --git a/parser/testdata/00819_ast_refactoring_bugs/ast.json b/parser/testdata/00819_ast_refactoring_bugs/ast.json deleted file mode 100644 index 7cedb27701..0000000000 --- a/parser/testdata/00819_ast_refactoring_bugs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "visits1", - "tables": [ - { - "table": "visits1" - } - ] -} diff --git a/parser/testdata/00819_full_join_wrong_columns_in_block/ast.json b/parser/testdata/00819_full_join_wrong_columns_in_block/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00819_full_join_wrong_columns_in_block/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00820_multiple_joins/ast.json b/parser/testdata/00820_multiple_joins/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00820_multiple_joins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00820_multiple_joins_subquery_requires_alias/ast.json b/parser/testdata/00820_multiple_joins_subquery_requires_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00820_multiple_joins_subquery_requires_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00821_distributed_storage_with_join_on/ast.json b/parser/testdata/00821_distributed_storage_with_join_on/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00821_distributed_storage_with_join_on/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00822_array_insert_default/ast.json b/parser/testdata/00822_array_insert_default/ast.json deleted file mode 100644 index e3a58f22bb..0000000000 --- a/parser/testdata/00822_array_insert_default/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "ignore", - "arguments": [ - {} - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayFirst", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "empty", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00823_sequence_match_dfa/ast.json b/parser/testdata/00823_sequence_match_dfa/ast.json deleted file mode 100644 index 0bdb944723..0000000000 --- a/parser/testdata/00823_sequence_match_dfa/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sequence", - "tables": [ - { - "table": "sequence" - } - ] -} diff --git a/parser/testdata/00826_cross_to_inner_join/ast.json b/parser/testdata/00826_cross_to_inner_join/ast.json deleted file mode 100644 index c9b7c49644..0000000000 --- a/parser/testdata/00826_cross_to_inner_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00829_bitmap64_function/ast.json b/parser/testdata/00829_bitmap64_function/ast.json deleted file mode 100644 index 0cc1f6c199..0000000000 --- a/parser/testdata/00829_bitmap64_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bitmap_test", - "tables": [ - { - "table": "bitmap_test" - } - ] -} diff --git a/parser/testdata/00829_bitmap_function/ast.json b/parser/testdata/00829_bitmap_function/ast.json deleted file mode 100644 index aaa960d4bc..0000000000 --- a/parser/testdata/00829_bitmap_function/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitmapToArray", - "arguments": [ - { - "name": "bitmapBuild", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00830_join_overwrite/ast.json b/parser/testdata/00830_join_overwrite/ast.json deleted file mode 100644 index 87de129d47..0000000000 --- a/parser/testdata/00830_join_overwrite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "kv", - "tables": [ - { - "table": "kv" - } - ] -} diff --git a/parser/testdata/00831_quantile_weighted_parameter_check/ast.json b/parser/testdata/00831_quantile_weighted_parameter_check/ast.json deleted file mode 100644 index 143fb8f232..0000000000 --- a/parser/testdata/00831_quantile_weighted_parameter_check/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileExactWeighted", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00832_storage_file_lock/ast.json b/parser/testdata/00832_storage_file_lock/ast.json deleted file mode 100644 index a9a8ffd706..0000000000 --- a/parser/testdata/00832_storage_file_lock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "file", - "tables": [ - { - "table": "file" - } - ] -} diff --git a/parser/testdata/00833_sleep_overflow/ast.json b/parser/testdata/00833_sleep_overflow/ast.json deleted file mode 100644 index af0ae862fe..0000000000 --- a/parser/testdata/00833_sleep_overflow/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sleep", - "arguments": [ - { - "type": "Float", - "value": 4295.967296 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00834_date_datetime_cmp/ast.json b/parser/testdata/00834_date_datetime_cmp/ast.json deleted file mode 100644 index adfcb85b22..0000000000 --- a/parser/testdata/00834_date_datetime_cmp/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2017-06-28 12:01:01" - } - ] - }, - "op": "\u003c", - "right": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2017-07-01" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00834_limit_with_constant_expressions/ast.json b/parser/testdata/00834_limit_with_constant_expressions/ast.json deleted file mode 100644 index 22ce938852..0000000000 --- a/parser/testdata/00834_limit_with_constant_expressions/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "limit": { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] -} diff --git a/parser/testdata/00834_not_between/ast.json b/parser/testdata/00834_not_between/ast.json deleted file mode 100644 index fb9698abbf..0000000000 --- a/parser/testdata/00834_not_between/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "not": true, - "low": { - "left": { - "type": "Integer", - "value": 2 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "high": { - "left": { - "type": "Integer", - "value": 4 - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/00835_if_generic_case/ast.json b/parser/testdata/00835_if_generic_case/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00835_if_generic_case/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00836_indices_alter/ast.json b/parser/testdata/00836_indices_alter/ast.json deleted file mode 100644 index 770e779bb6..0000000000 --- a/parser/testdata/00836_indices_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "minmax_idx", - "tables": [ - { - "table": "minmax_idx" - } - ] -} diff --git a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/ast.json b/parser/testdata/00836_indices_alter_replicated_zookeeper_long/ast.json deleted file mode 100644 index 770e779bb6..0000000000 --- a/parser/testdata/00836_indices_alter_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "minmax_idx", - "tables": [ - { - "table": "minmax_idx" - } - ] -} diff --git a/parser/testdata/00836_numbers_table_function_zero/ast.json b/parser/testdata/00836_numbers_table_function_zero/ast.json deleted file mode 100644 index 21cfd68ad4..0000000000 --- a/parser/testdata/00836_numbers_table_function_zero/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00837_insert_select_and_read_prefix/ast.json b/parser/testdata/00837_insert_select_and_read_prefix/ast.json deleted file mode 100644 index a9a8ffd706..0000000000 --- a/parser/testdata/00837_insert_select_and_read_prefix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "file", - "tables": [ - { - "table": "file" - } - ] -} diff --git a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/ast.json b/parser/testdata/00837_minmax_index_replicated_zookeeper_long/ast.json deleted file mode 100644 index ad0d047b8a..0000000000 --- a/parser/testdata/00837_minmax_index_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "minmax_idx1", - "tables": [ - { - "table": "minmax_idx1" - } - ] -} diff --git a/parser/testdata/00839_bitmask_negative/ast.json b/parser/testdata/00839_bitmask_negative/ast.json deleted file mode 100644 index 5ec801ab19..0000000000 --- a/parser/testdata/00839_bitmask_negative/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitmaskToList", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00841_temporary_table_database/ast.json b/parser/testdata/00841_temporary_table_database/ast.json deleted file mode 100644 index e0f4e6ea57..0000000000 --- a/parser/testdata/00841_temporary_table_database/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t1_00841", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/00842_array_with_constant_overflow/ast.json b/parser/testdata/00842_array_with_constant_overflow/ast.json deleted file mode 100644 index 8128776b28..0000000000 --- a/parser/testdata/00842_array_with_constant_overflow/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayWithConstant", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 231.37104 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 138 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00843_optimize_predicate_and_rename_table/ast.json b/parser/testdata/00843_optimize_predicate_and_rename_table/ast.json deleted file mode 100644 index eb99a02f24..0000000000 --- a/parser/testdata/00843_optimize_predicate_and_rename_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00844_join_lightee2/ast.json b/parser/testdata/00844_join_lightee2/ast.json deleted file mode 100644 index 46b21374c1..0000000000 --- a/parser/testdata/00844_join_lightee2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1_00844", - "tables": [ - { - "table": "t1_00844" - } - ] -} diff --git a/parser/testdata/00845_join_on_aliases/ast.json b/parser/testdata/00845_join_on_aliases/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00845_join_on_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00846_join_using_tuple_crash/ast.json b/parser/testdata/00846_join_using_tuple_crash/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00846_join_using_tuple_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00847_multiple_join_same_column/ast.json b/parser/testdata/00847_multiple_join_same_column/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00847_multiple_join_same_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00848_join_use_nulls_segfault/ast.json b/parser/testdata/00848_join_use_nulls_segfault/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00848_join_use_nulls_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00849_multiple_comma_join_2/ast.json b/parser/testdata/00849_multiple_comma_join_2/ast.json deleted file mode 100644 index c9b7c49644..0000000000 --- a/parser/testdata/00849_multiple_comma_join_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00850_global_join_dups/ast.json b/parser/testdata/00850_global_join_dups/ast.json deleted file mode 100644 index 24f6216d44..0000000000 --- a/parser/testdata/00850_global_join_dups/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_local", - "tables": [ - { - "table": "t_local" - } - ] -} diff --git a/parser/testdata/00852_any_join_nulls/ast.json b/parser/testdata/00852_any_join_nulls/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00852_any_join_nulls/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00853_join_with_nulls_crash/ast.json b/parser/testdata/00853_join_with_nulls_crash/ast.json deleted file mode 100644 index 5c675753a1..0000000000 --- a/parser/testdata/00853_join_with_nulls_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_a", - "tables": [ - { - "table": "table_a" - } - ] -} diff --git a/parser/testdata/00854_multiple_join_asterisks/ast.json b/parser/testdata/00854_multiple_join_asterisks/ast.json deleted file mode 100644 index 182c446971..0000000000 --- a/parser/testdata/00854_multiple_join_asterisks/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "t1", - "dummy" - ] - }, - { - "parts": [ - "t2", - "dummy" - ] - }, - { - "parts": [ - "t3", - "dummy" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "database": "system", - "table": "one" - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "parts": [ - "t1", - "dummy" - ] - }, - "op": "=", - "right": { - "parts": [ - "t2", - "dummy" - ] - } - } - } - }, - { - "table": { - "table": { - "database": "system", - "table": "one" - }, - "alias": "t3" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "parts": [ - "t1", - "dummy" - ] - }, - "op": "=", - "right": { - "parts": [ - "t3", - "dummy" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00855_join_with_array_join/ast.json b/parser/testdata/00855_join_with_array_join/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00855_join_with_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00856_no_column_issue_4242/ast.json b/parser/testdata/00856_no_column_issue_4242/ast.json deleted file mode 100644 index ca52fccbed..0000000000 --- a/parser/testdata/00856_no_column_issue_4242/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1_00856", - "tables": [ - { - "table": "t1_00856" - } - ] -} diff --git a/parser/testdata/00857_global_joinsavel_table_alias/ast.json b/parser/testdata/00857_global_joinsavel_table_alias/ast.json deleted file mode 100644 index 3cf7f91498..0000000000 --- a/parser/testdata/00857_global_joinsavel_table_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_table", - "tables": [ - { - "table": "local_table" - } - ] -} diff --git a/parser/testdata/00858_issue_4756/ast.json b/parser/testdata/00858_issue_4756/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/00858_issue_4756/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00859_distinct_with_join/ast.json b/parser/testdata/00859_distinct_with_join/ast.json deleted file mode 100644 index d6949ef3a2..0000000000 --- a/parser/testdata/00859_distinct_with_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fooL", - "tables": [ - { - "table": "fooL" - } - ] -} diff --git a/parser/testdata/00860_unknown_identifier_bug/ast.json b/parser/testdata/00860_unknown_identifier_bug/ast.json deleted file mode 100644 index 6495beaa97..0000000000 --- a/parser/testdata/00860_unknown_identifier_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "appointment_events", - "tables": [ - { - "table": "appointment_events" - } - ] -} diff --git a/parser/testdata/00861_decimal_quoted_csv/ast.json b/parser/testdata/00861_decimal_quoted_csv/ast.json deleted file mode 100644 index 5f85001fcf..0000000000 --- a/parser/testdata/00861_decimal_quoted_csv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00861", - "tables": [ - { - "table": "test_00861" - } - ] -} diff --git a/parser/testdata/00862_decimal_in/ast.json b/parser/testdata/00862_decimal_in/ast.json deleted file mode 100644 index 10f82a420f..0000000000 --- a/parser/testdata/00862_decimal_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "temp", - "tables": [ - { - "table": "temp" - } - ] -} diff --git a/parser/testdata/00863_comma_join_in/ast.json b/parser/testdata/00863_comma_join_in/ast.json deleted file mode 100644 index dff591f1c7..0000000000 --- a/parser/testdata/00863_comma_join_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1_00863", - "tables": [ - { - "table": "test1_00863" - } - ] -} diff --git a/parser/testdata/00864_union_all_supertype/ast.json b/parser/testdata/00864_union_all_supertype/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00864_union_all_supertype/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00870_t64_codec/ast.json b/parser/testdata/00870_t64_codec/ast.json deleted file mode 100644 index 7e249dd5a8..0000000000 --- a/parser/testdata/00870_t64_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t64", - "tables": [ - { - "table": "t64" - } - ] -} diff --git a/parser/testdata/00871_t64_codec_signed/ast.json b/parser/testdata/00871_t64_codec_signed/ast.json deleted file mode 100644 index 7e249dd5a8..0000000000 --- a/parser/testdata/00871_t64_codec_signed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t64", - "tables": [ - { - "table": "t64" - } - ] -} diff --git a/parser/testdata/00872_t64_bit_codec/ast.json b/parser/testdata/00872_t64_bit_codec/ast.json deleted file mode 100644 index 7e249dd5a8..0000000000 --- a/parser/testdata/00872_t64_bit_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t64", - "tables": [ - { - "table": "t64" - } - ] -} diff --git a/parser/testdata/00873_t64_codec_date/ast.json b/parser/testdata/00873_t64_codec_date/ast.json deleted file mode 100644 index 7e249dd5a8..0000000000 --- a/parser/testdata/00873_t64_codec_date/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t64", - "tables": [ - { - "table": "t64" - } - ] -} diff --git a/parser/testdata/00874_issue_3495/ast.json b/parser/testdata/00874_issue_3495/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00874_issue_3495/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00875_join_right_nulls/ast.json b/parser/testdata/00875_join_right_nulls/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00875_join_right_nulls/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00875_join_right_nulls_ors/ast.json b/parser/testdata/00875_join_right_nulls_ors/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00875_join_right_nulls_ors/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00876_wrong_arraj_join_column/ast.json b/parser/testdata/00876_wrong_arraj_join_column/ast.json deleted file mode 100644 index ccf930d3a1..0000000000 --- a/parser/testdata/00876_wrong_arraj_join_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "visits", - "tables": [ - { - "table": "visits" - } - ] -} diff --git a/parser/testdata/00877_memory_limit_for_new_delete/ast.json b/parser/testdata/00877_memory_limit_for_new_delete/ast.json deleted file mode 100644 index e456d721f8..0000000000 --- a/parser/testdata/00877_memory_limit_for_new_delete/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 1000000000 - } - } - ] -} diff --git a/parser/testdata/00878_join_unexpected_results/ast.json b/parser/testdata/00878_join_unexpected_results/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00878_join_unexpected_results/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00879_cast_to_decimal_crash/ast.json b/parser/testdata/00879_cast_to_decimal_crash/ast.json deleted file mode 100644 index 83afbd8044..0000000000 --- a/parser/testdata/00879_cast_to_decimal_crash/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toIntervalDay", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/00880_decimal_in_key/ast.json b/parser/testdata/00880_decimal_in_key/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/00880_decimal_in_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/00881_unknown_identifier_in_in/ast.json b/parser/testdata/00881_unknown_identifier_in_in/ast.json deleted file mode 100644 index f3488d954a..0000000000 --- a/parser/testdata/00881_unknown_identifier_in_in/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "type": "Integer", - "value": 1 - } - ], - "having": { - "expr": { - "parts": [ - "x" - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "name": "countIf", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "left": { - "parts": [ - "z" - ] - }, - "op": "==", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "y" - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "z" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - ] -} diff --git a/parser/testdata/00882_multiple_join_no_alias/ast.json b/parser/testdata/00882_multiple_join_no_alias/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00882_multiple_join_no_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00898_quantile_timing_parameter_check/ast.json b/parser/testdata/00898_quantile_timing_parameter_check/ast.json deleted file mode 100644 index 6abc9dd2ae..0000000000 --- a/parser/testdata/00898_quantile_timing_parameter_check/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileTiming", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00899_long_attach_memory_limit/ast.json b/parser/testdata/00899_long_attach_memory_limit/ast.json deleted file mode 100644 index ab10980e5b..0000000000 --- a/parser/testdata/00899_long_attach_memory_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index_memory", - "tables": [ - { - "table": "index_memory" - } - ] -} diff --git a/parser/testdata/00900_entropy_shard/ast.json b/parser/testdata/00900_entropy_shard/ast.json deleted file mode 100644 index f9502994f5..0000000000 --- a/parser/testdata/00900_entropy_shard/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "entropy", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 256 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00901_joint_entropy/ast.json b/parser/testdata/00901_joint_entropy/ast.json deleted file mode 100644 index bfc150ad9a..0000000000 --- a/parser/testdata/00901_joint_entropy/ast.json +++ /dev/null @@ -1,384 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "max", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "op": "-", - "right": { - "name": "min", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 0.000001 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "with": [ - { - "name": "e1", - "query": { - "name": "entropy", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - } - }, - { - "name": "e2", - "query": { - "name": "log2", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - }, - { - "name": "e3", - "query": { - "name": "log2", - "arguments": [ - { - "name": "uniq", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - } - ] - } - }, - { - "name": "e4", - "query": { - "name": "entropy", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - }, - { - "name": "e5", - "query": { - "name": "entropy", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - }, - { - "name": "e6", - "query": { - "name": "entropy", - "arguments": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "String", - "value": "hello" - }, - "else": { - "type": "String", - "value": "world" - } - }, - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - } - ] - } - }, - { - "name": "e7", - "query": { - "name": "entropy", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - }, - { - "name": "e8", - "query": { - "name": "entropy", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ] - } - } - ], - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "e1" - ] - }, - { - "parts": [ - "e2" - ] - }, - { - "parts": [ - "e3" - ] - }, - { - "parts": [ - "e4" - ] - }, - { - "parts": [ - "e5" - ] - }, - { - "parts": [ - "e6" - ] - }, - { - "parts": [ - "e7" - ] - }, - { - "parts": [ - "e8" - ] - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00902_entropy/ast.json b/parser/testdata/00902_entropy/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00902_entropy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00903_array_with_constant_function/ast.json b/parser/testdata/00903_array_with_constant_function/ast.json deleted file mode 100644 index 5a7a642af7..0000000000 --- a/parser/testdata/00903_array_with_constant_function/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayWithConstant", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "String", - "value": "qwerty" - } - ] - }, - { - "name": "arrayWithConstant", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "name": "arrayWithConstant", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00904_array_with_constant_2/ast.json b/parser/testdata/00904_array_with_constant_2/ast.json deleted file mode 100644 index 0d5fb08ba7..0000000000 --- a/parser/testdata/00904_array_with_constant_2/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayWithConstant", - "arguments": [ - { - "type": "Integer", - "value": 3 - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00905_compile_expressions_compare_big_dates/ast.json b/parser/testdata/00905_compile_expressions_compare_big_dates/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/00905_compile_expressions_compare_big_dates/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00905_field_with_aggregate_function_state/ast.json b/parser/testdata/00905_field_with_aggregate_function_state/ast.json deleted file mode 100644 index c10fefb193..0000000000 --- a/parser/testdata/00905_field_with_aggregate_function_state/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "s", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sumState", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - } - } - ], - "columns": [ - { - "name": "sumMerge", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00906_low_cardinality_cache/ast.json b/parser/testdata/00906_low_cardinality_cache/ast.json deleted file mode 100644 index 1c2938c849..0000000000 --- a/parser/testdata/00906_low_cardinality_cache/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "100M" - } - }, - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 600 - } - } - ] -} diff --git a/parser/testdata/00906_low_cardinality_const_argument/ast.json b/parser/testdata/00906_low_cardinality_const_argument/ast.json deleted file mode 100644 index 8893b66dd8..0000000000 --- a/parser/testdata/00906_low_cardinality_const_argument/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00906_low_cardinality_rollup/ast.json b/parser/testdata/00906_low_cardinality_rollup/ast.json deleted file mode 100644 index 7158c62ec3..0000000000 --- a/parser/testdata/00906_low_cardinality_rollup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc", - "tables": [ - { - "table": "lc" - } - ] -} diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/ast.json b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/ast.json deleted file mode 100644 index 4b762f96ca..0000000000 --- a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_set_index", - "tables": [ - { - "table": "nullable_set_index" - } - ] -} diff --git a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/ast.json b/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/ast.json deleted file mode 100644 index 94fb30e87d..0000000000 --- a/parser/testdata/00907_set_index_with_nullable_and_low_cardinality_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_lc_set_index", - "tables": [ - { - "table": "null_lc_set_index" - } - ] -} diff --git a/parser/testdata/00908_analyze_query/ast.json b/parser/testdata/00908_analyze_query/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/00908_analyze_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/00909_arrayEnumerateUniq/ast.json b/parser/testdata/00909_arrayEnumerateUniq/ast.json deleted file mode 100644 index a31cba9637..0000000000 --- a/parser/testdata/00909_arrayEnumerateUniq/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00909_ngram_distance/ast.json b/parser/testdata/00909_ngram_distance/ast.json deleted file mode 100644 index 56071a8b59..0000000000 --- a/parser/testdata/00909_ngram_distance/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1000 - }, - "op": "*", - "right": { - "name": "ngramDistanceUTF8", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - }, - { - "type": "String", - "value": "" - } - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - } - } - ] -} diff --git a/parser/testdata/00910_buffer_prewhere/ast.json b/parser/testdata/00910_buffer_prewhere/ast.json deleted file mode 100644 index 6f0624e7a4..0000000000 --- a/parser/testdata/00910_buffer_prewhere/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "table": "mt", - "columns": [ - { - "name": "uid", - "type": { - "name": "UInt64" - } - }, - { - "name": "ts", - "type": { - "name": "DateTime" - } - }, - { - "name": "val", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "uid" - ] - }, - { - "parts": [ - "ts" - ] - } - ] - } - ], - "partition_by": { - "name": "toDate", - "arguments": [ - { - "parts": [ - "ts" - ] - } - ] - } -} diff --git a/parser/testdata/00910_buffer_prewhere_different_types/ast.json b/parser/testdata/00910_buffer_prewhere_different_types/ast.json deleted file mode 100644 index 95597d230e..0000000000 --- a/parser/testdata/00910_buffer_prewhere_different_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "buffer_table1__fuzz_28", - "tables": [ - { - "table": "buffer_table1__fuzz_28" - } - ] -} diff --git a/parser/testdata/00910_crash_when_distributed_modify_order_by/ast.json b/parser/testdata/00910_crash_when_distributed_modify_order_by/ast.json deleted file mode 100644 index 2e0a5c5119..0000000000 --- a/parser/testdata/00910_crash_when_distributed_modify_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "union1", - "tables": [ - { - "table": "union1" - } - ] -} diff --git a/parser/testdata/00910_decimal_group_array_crash_3783/ast.json b/parser/testdata/00910_decimal_group_array_crash_3783/ast.json deleted file mode 100644 index 3385881b80..0000000000 --- a/parser/testdata/00910_decimal_group_array_crash_3783/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "n" - ] - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ], - "alias": "n" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/ast.json b/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00910_zookeeper_custom_compression_codecs_replicated_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/ast.json b/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00910_zookeeper_test_alter_compression_codecs_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00912_string_comparison/ast.json b/parser/testdata/00912_string_comparison/ast.json deleted file mode 100644 index e18f0f15eb..0000000000 --- a/parser/testdata/00912_string_comparison/ast.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "prefix", - "query": { - "name": "substring", - "arguments": [ - { - "type": "String", - "value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" - }, - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "number" - ] - } - ] - } - }, - { - "name": "a", - "query": { - "left": { - "parts": [ - "prefix" - ] - }, - "op": "||", - "right": { - "type": "String", - "value": "x" - } - } - }, - { - "name": "b", - "query": { - "left": { - "parts": [ - "prefix" - ] - }, - "op": "||", - "right": { - "type": "String", - "value": "y" - } - } - } - ], - "columns": [ - { - "left": { - "parts": [ - "a" - ] - }, - "op": "=", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "\u003c", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "\u003e", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "\u003c=", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "\u003e=", - "right": { - "parts": [ - "b" - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 40 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00913_many_threads/ast.json b/parser/testdata/00913_many_threads/ast.json deleted file mode 100644 index 5063139306..0000000000 --- a/parser/testdata/00913_many_threads/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "min_insert_block_size_rows", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_insert_block_size_bytes", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00914_join_bgranvea/ast.json b/parser/testdata/00914_join_bgranvea/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00914_join_bgranvea/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00914_replicate/ast.json b/parser/testdata/00914_replicate/ast.json deleted file mode 100644 index 93f1371791..0000000000 --- a/parser/testdata/00914_replicate/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "replicate", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - "type": { - "name": "String" - } - } - ] - } - ] -} diff --git a/parser/testdata/00915_simple_aggregate_function/ast.json b/parser/testdata/00915_simple_aggregate_function/ast.json deleted file mode 100644 index 432763ffbd..0000000000 --- a/parser/testdata/00915_simple_aggregate_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_throw_if_noop", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/ast.json b/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/ast.json deleted file mode 100644 index 432763ffbd..0000000000 --- a/parser/testdata/00915_simple_aggregate_function_summing_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_throw_if_noop", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00915_tuple_orantius/ast.json b/parser/testdata/00915_tuple_orantius/ast.json deleted file mode 100644 index f30a546ebc..0000000000 --- a/parser/testdata/00915_tuple_orantius/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "y" - }, - { - "expr": { - "parts": [ - "x" - ] - }, - "list": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00916_add_materialized_column_after/ast.json b/parser/testdata/00916_add_materialized_column_after/ast.json deleted file mode 100644 index e09dcc6bf7..0000000000 --- a/parser/testdata/00916_add_materialized_column_after/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "add_materialized_column_after", - "tables": [ - { - "table": "add_materialized_column_after" - } - ] -} diff --git a/parser/testdata/00916_create_or_replace_view/ast.json b/parser/testdata/00916_create_or_replace_view/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00916_create_or_replace_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00916_join_using_duplicate_columns/ast.json b/parser/testdata/00916_join_using_duplicate_columns/ast.json deleted file mode 100644 index a160891761..0000000000 --- a/parser/testdata/00916_join_using_duplicate_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00917_least_sqr/ast.json b/parser/testdata/00917_least_sqr/ast.json deleted file mode 100644 index 59b06e6a44..0000000000 --- a/parser/testdata/00917_least_sqr/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "simpleLinearRegression" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 110 - }, - { - "type": "Integer", - "value": 120 - }, - { - "type": "Integer", - "value": 130 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00917_multiple_joins_denny_crane/ast.json b/parser/testdata/00917_multiple_joins_denny_crane/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/00917_multiple_joins_denny_crane/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00918_json_functions/ast.json b/parser/testdata/00918_json_functions/ast.json deleted file mode 100644 index b6f386e959..0000000000 --- a/parser/testdata/00918_json_functions/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--allow_simdjson=1--" - } - ] - } - ] -} diff --git a/parser/testdata/00919_histogram_merge/ast.json b/parser/testdata/00919_histogram_merge/ast.json deleted file mode 100644 index 1e7e716a6d..0000000000 --- a/parser/testdata/00919_histogram_merge/ast.json +++ /dev/null @@ -1,171 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "hist", - "query": { - "name": "arrayJoin", - "arguments": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "left": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "histogramState", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 190 - } - ] - } - } - } - ] - } - } - ] - } - }, - "op": "+", - "right": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "histogramState", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } - } - } - ] - } - ] - } - } - ], - "columns": [ - { - "name": "round", - "arguments": [ - { - "tuple": { - "parts": [ - "hist" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "l" - }, - { - "name": "round", - "arguments": [ - { - "tuple": { - "parts": [ - "hist" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "r" - }, - { - "name": "round", - "arguments": [ - { - "tuple": { - "parts": [ - "hist" - ] - }, - "index": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "cnt" - } - ] - } - ] -} diff --git a/parser/testdata/00919_sum_aggregate_states_constants/ast.json b/parser/testdata/00919_sum_aggregate_states_constants/ast.json deleted file mode 100644 index ee9b658be6..0000000000 --- a/parser/testdata/00919_sum_aggregate_states_constants/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "left": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sumState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - }, - "op": "+", - "right": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sumState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00920_multiply_aggregate_states_constants/ast.json b/parser/testdata/00920_multiply_aggregate_states_constants/ast.json deleted file mode 100644 index 350a7ed391..0000000000 --- a/parser/testdata/00920_multiply_aggregate_states_constants/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "left": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sumState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00921_datetime64_basic/ast.json b/parser/testdata/00921_datetime64_basic/ast.json deleted file mode 100644 index 6fb164c3c5..0000000000 --- a/parser/testdata/00921_datetime64_basic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "A", - "tables": [ - { - "table": "A" - } - ] -} diff --git a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/ast.json b/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/ast.json deleted file mode 100644 index af6f6444df..0000000000 --- a/parser/testdata/00926_adaptive_index_granularity_collapsing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "zero_rows_per_granule", - "tables": [ - { - "table": "zero_rows_per_granule" - } - ] -} diff --git a/parser/testdata/00926_adaptive_index_granularity_merge_tree/ast.json b/parser/testdata/00926_adaptive_index_granularity_merge_tree/ast.json deleted file mode 100644 index 680d7c2b67..0000000000 --- a/parser/testdata/00926_adaptive_index_granularity_merge_tree/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----HORIZONTAL MERGE TESTS----" - } - ] - } - ] -} diff --git a/parser/testdata/00926_adaptive_index_granularity_pk/ast.json b/parser/testdata/00926_adaptive_index_granularity_pk/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00926_adaptive_index_granularity_pk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/ast.json b/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/ast.json deleted file mode 100644 index af6f6444df..0000000000 --- a/parser/testdata/00926_adaptive_index_granularity_replacing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "zero_rows_per_granule", - "tables": [ - { - "table": "zero_rows_per_granule" - } - ] -} diff --git a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/ast.json b/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/ast.json deleted file mode 100644 index af6f6444df..0000000000 --- a/parser/testdata/00926_adaptive_index_granularity_versioned_collapsing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "zero_rows_per_granule", - "tables": [ - { - "table": "zero_rows_per_granule" - } - ] -} diff --git a/parser/testdata/00926_geo_to_h3/ast.json b/parser/testdata/00926_geo_to_h3/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00926_geo_to_h3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00926_multimatch/ast.json b/parser/testdata/00926_multimatch/ast.json deleted file mode 100644 index e0258a6cfd..0000000000 --- a/parser/testdata/00926_multimatch/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- With const pattern" - } - ] - } - ] -} diff --git a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/ast.json b/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/ast.json deleted file mode 100644 index 680d7c2b67..0000000000 --- a/parser/testdata/00926_zookeeper_adaptive_index_granularity_replicated_merge_tree_long/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----HORIZONTAL MERGE TESTS----" - } - ] - } - ] -} diff --git a/parser/testdata/00927_asof_join_correct_bt/ast.json b/parser/testdata/00927_asof_join_correct_bt/ast.json deleted file mode 100644 index 6fb164c3c5..0000000000 --- a/parser/testdata/00927_asof_join_correct_bt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "A", - "tables": [ - { - "table": "A" - } - ] -} diff --git a/parser/testdata/00927_asof_join_long/ast.json b/parser/testdata/00927_asof_join_long/ast.json deleted file mode 100644 index a2bb48018d..0000000000 --- a/parser/testdata/00927_asof_join_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tvs", - "tables": [ - { - "table": "tvs" - } - ] -} diff --git a/parser/testdata/00927_asof_join_noninclusive/ast.json b/parser/testdata/00927_asof_join_noninclusive/ast.json deleted file mode 100644 index 6fb164c3c5..0000000000 --- a/parser/testdata/00927_asof_join_noninclusive/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "A", - "tables": [ - { - "table": "A" - } - ] -} diff --git a/parser/testdata/00927_asof_joins/ast.json b/parser/testdata/00927_asof_joins/ast.json deleted file mode 100644 index c16ed01ec0..0000000000 --- a/parser/testdata/00927_asof_joins/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "md", - "tables": [ - { - "table": "md" - } - ] -} diff --git a/parser/testdata/00927_disable_hyperscan/ast.json b/parser/testdata/00927_disable_hyperscan/ast.json deleted file mode 100644 index 547589b3a3..0000000000 --- a/parser/testdata/00927_disable_hyperscan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_hyperscan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00928_multi_match_constant_constant/ast.json b/parser/testdata/00928_multi_match_constant_constant/ast.json deleted file mode 100644 index c241f0d657..0000000000 --- a/parser/testdata/00928_multi_match_constant_constant/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "multiMatchAny", - "arguments": [ - { - "type": "String", - "value": "goodbye" - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "^hello[, ]+world$" - }, - { - "type": "String", - "value": "go+d *bye" - }, - { - "type": "String", - "value": "w(or)+ld" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00929_multi_match_edit_distance/ast.json b/parser/testdata/00929_multi_match_edit_distance/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00929_multi_match_edit_distance/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00930_arrayIntersect/ast.json b/parser/testdata/00930_arrayIntersect/ast.json deleted file mode 100644 index e0ff4d900e..0000000000 --- a/parser/testdata/00930_arrayIntersect/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array_intersect", - "tables": [ - { - "table": "array_intersect" - } - ] -} diff --git a/parser/testdata/00930_max_partitions_per_insert_block/ast.json b/parser/testdata/00930_max_partitions_per_insert_block/ast.json deleted file mode 100644 index 0f931c8731..0000000000 --- a/parser/testdata/00930_max_partitions_per_insert_block/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partitions", - "tables": [ - { - "table": "partitions" - } - ] -} diff --git a/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/ast.json b/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/ast.json deleted file mode 100644 index 7158c62ec3..0000000000 --- a/parser/testdata/00931_low_cardinality_nullable_aggregate_function_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc", - "tables": [ - { - "table": "lc" - } - ] -} diff --git a/parser/testdata/00931_low_cardinality_read_with_empty_array/ast.json b/parser/testdata/00931_low_cardinality_read_with_empty_array/ast.json deleted file mode 100644 index f27beee99f..0000000000 --- a/parser/testdata/00931_low_cardinality_read_with_empty_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_00931", - "tables": [ - { - "table": "lc_00931" - } - ] -} diff --git a/parser/testdata/00931_low_cardinality_set_index_in_key_condition/ast.json b/parser/testdata/00931_low_cardinality_set_index_in_key_condition/ast.json deleted file mode 100644 index f79f8b230d..0000000000 --- a/parser/testdata/00931_low_cardinality_set_index_in_key_condition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_in", - "tables": [ - { - "table": "test_in" - } - ] -} diff --git a/parser/testdata/00932_array_intersect_bug/ast.json b/parser/testdata/00932_array_intersect_bug/ast.json deleted file mode 100644 index f3176d0f9e..0000000000 --- a/parser/testdata/00932_array_intersect_bug/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySort", - "arguments": [ - { - "name": "arrayIntersect", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - }, - { - "type": "String", - "value": "c" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00932_geohash_support/ast.json b/parser/testdata/00932_geohash_support/ast.json deleted file mode 100644 index 14d330c4ce..0000000000 --- a/parser/testdata/00932_geohash_support/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "geohash_test_data", - "tables": [ - { - "table": "geohash_test_data" - } - ] -} diff --git a/parser/testdata/00933_alter_ttl/ast.json b/parser/testdata/00933_alter_ttl/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00933_alter_ttl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00933_reserved_word/ast.json b/parser/testdata/00933_reserved_word/ast.json deleted file mode 100644 index 8ce0c382df..0000000000 --- a/parser/testdata/00933_reserved_word/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "reserved_word_table", - "tables": [ - { - "table": "reserved_word_table" - } - ] -} diff --git a/parser/testdata/00933_ttl_simple/ast.json b/parser/testdata/00933_ttl_simple/ast.json deleted file mode 100644 index caa7bbacc2..0000000000 --- a/parser/testdata/00933_ttl_simple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "" - } - } - ] -} diff --git a/parser/testdata/00933_ttl_with_default/ast.json b/parser/testdata/00933_ttl_with_default/ast.json deleted file mode 100644 index 24ffac95c9..0000000000 --- a/parser/testdata/00933_ttl_with_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_00933_2", - "tables": [ - { - "table": "ttl_00933_2" - } - ] -} diff --git a/parser/testdata/00934_is_valid_utf8/ast.json b/parser/testdata/00934_is_valid_utf8/ast.json deleted file mode 100644 index e36982ae40..0000000000 --- a/parser/testdata/00934_is_valid_utf8/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "=", - "right": { - "name": "isValidUTF8", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00935_to_iso_week_first_year/ast.json b/parser/testdata/00935_to_iso_week_first_year/ast.json deleted file mode 100644 index 6199e7eb9c..0000000000 --- a/parser/testdata/00935_to_iso_week_first_year/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1970-01-01" - } - ] - }, - "op": "+", - "right": { - "parts": [ - "number" - ] - } - }, - "alias": "d" - }, - { - "name": "toISOWeek", - "arguments": [ - { - "parts": [ - "d" - ] - } - ] - }, - { - "name": "toISOYear", - "arguments": [ - { - "parts": [ - "d" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 15 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00936_crc_functions/ast.json b/parser/testdata/00936_crc_functions/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/00936_crc_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/00936_function_result_with_operator_in/ast.json b/parser/testdata/00936_function_result_with_operator_in/ast.json deleted file mode 100644 index 0118545cd0..0000000000 --- a/parser/testdata/00936_function_result_with_operator_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "force_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00936_substring_utf8_non_const/ast.json b/parser/testdata/00936_substring_utf8_non_const/ast.json deleted file mode 100644 index 82b3cc41bf..0000000000 --- a/parser/testdata/00936_substring_utf8_non_const/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "substringUTF8", - "arguments": [ - { - "type": "String", - "value": "hello, привет" - }, - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 16 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00937_ipv4_cidr_range/ast.json b/parser/testdata/00937_ipv4_cidr_range/ast.json deleted file mode 100644 index abf2c624f9..0000000000 --- a/parser/testdata/00937_ipv4_cidr_range/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "tests" - } - ] - } - ] -} diff --git a/parser/testdata/00938_basename/ast.json b/parser/testdata/00938_basename/ast.json deleted file mode 100644 index 3dee75b52f..0000000000 --- a/parser/testdata/00938_basename/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "basename", - "arguments": [ - { - "type": "String", - "value": "/usr/bin/bash" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00938_dataset_test/ast.json b/parser/testdata/00938_dataset_test/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00938_dataset_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00938_ipv6_cidr_range/ast.json b/parser/testdata/00938_ipv6_cidr_range/ast.json deleted file mode 100644 index e718a7f3ea..0000000000 --- a/parser/testdata/00938_ipv6_cidr_range/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "check invalid params" - } - ] - } - ] -} diff --git a/parser/testdata/00938_test_retention_function/ast.json b/parser/testdata/00938_test_retention_function/ast.json deleted file mode 100644 index 3003a733fb..0000000000 --- a/parser/testdata/00938_test_retention_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "retention_test", - "tables": [ - { - "table": "retention_test" - } - ] -} diff --git a/parser/testdata/00939_limit_by_offset/ast.json b/parser/testdata/00939_limit_by_offset/ast.json deleted file mode 100644 index 7968affd71..0000000000 --- a/parser/testdata/00939_limit_by_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "limit_by", - "tables": [ - { - "table": "limit_by" - } - ] -} diff --git a/parser/testdata/00939_test_null_in/ast.json b/parser/testdata/00939_test_null_in/ast.json deleted file mode 100644 index 948047be90..0000000000 --- a/parser/testdata/00939_test_null_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullt", - "tables": [ - { - "table": "nullt" - } - ] -} diff --git a/parser/testdata/00940_max_parts_in_total/ast.json b/parser/testdata/00940_max_parts_in_total/ast.json deleted file mode 100644 index 1acb0b8e27..0000000000 --- a/parser/testdata/00940_max_parts_in_total/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "max_parts_in_total", - "tables": [ - { - "table": "max_parts_in_total" - } - ] -} diff --git a/parser/testdata/00940_order_by_read_in_order/ast.json b/parser/testdata/00940_order_by_read_in_order/ast.json deleted file mode 100644 index 6ea92d0e3f..0000000000 --- a/parser/testdata/00940_order_by_read_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_order", - "tables": [ - { - "table": "pk_order" - } - ] -} diff --git a/parser/testdata/00941_to_custom_week/ast.json b/parser/testdata/00941_to_custom_week/ast.json deleted file mode 100644 index c0aa04fb76..0000000000 --- a/parser/testdata/00941_to_custom_week/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toWeek", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1998-01-01" - } - ] - } - ] - }, - { - "name": "toWeek", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1997-01-01" - } - ] - } - ] - }, - { - "name": "toWeek", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1998-01-01" - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toWeek", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1997-01-01" - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00942_mv_rename_table/ast.json b/parser/testdata/00942_mv_rename_table/ast.json deleted file mode 100644 index cb48512230..0000000000 --- a/parser/testdata/00942_mv_rename_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_00942", - "tables": [ - { - "table": "src_00942" - } - ] -} diff --git a/parser/testdata/00943_mv_rename_without_inner_table/ast.json b/parser/testdata/00943_mv_rename_without_inner_table/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/00943_mv_rename_without_inner_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/00944_minmax_nan/ast.json b/parser/testdata/00944_minmax_nan/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/00944_minmax_nan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00944_minmax_null/ast.json b/parser/testdata/00944_minmax_null/ast.json deleted file mode 100644 index ebc76de471..0000000000 --- a/parser/testdata/00944_minmax_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "min_max_with_nullable_string", - "tables": [ - { - "table": "min_max_with_nullable_string" - } - ] -} diff --git a/parser/testdata/00944_ml_test/ast.json b/parser/testdata/00944_ml_test/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00944_ml_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00945_bloom_filter_index/ast.json b/parser/testdata/00945_bloom_filter_index/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/00945_bloom_filter_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00945_ml_test/ast.json b/parser/testdata/00945_ml_test/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00945_ml_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00946_ml_test/ast.json b/parser/testdata/00946_ml_test/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00946_ml_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00947_ml_test/ast.json b/parser/testdata/00947_ml_test/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/00947_ml_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/00948_to_valid_utf8/ast.json b/parser/testdata/00948_to_valid_utf8/ast.json deleted file mode 100644 index 015c0586ad..0000000000 --- a/parser/testdata/00948_to_valid_utf8/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toValidUTF8", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00948_values_interpreter_template/ast.json b/parser/testdata/00948_values_interpreter_template/ast.json deleted file mode 100644 index 77bc97ae89..0000000000 --- a/parser/testdata/00948_values_interpreter_template/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "type_names", - "tables": [ - { - "table": "type_names" - } - ] -} diff --git a/parser/testdata/00949_format/ast.json b/parser/testdata/00949_format/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00949_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00950_bad_alloc_when_truncate_join_storage/ast.json b/parser/testdata/00950_bad_alloc_when_truncate_join_storage/ast.json deleted file mode 100644 index e501e5cb9f..0000000000 --- a/parser/testdata/00950_bad_alloc_when_truncate_join_storage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_test", - "tables": [ - { - "table": "join_test" - } - ] -} diff --git a/parser/testdata/00950_default_prewhere/ast.json b/parser/testdata/00950_default_prewhere/ast.json deleted file mode 100644 index b8d9b0d0e2..0000000000 --- a/parser/testdata/00950_default_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_generic_events_all", - "tables": [ - { - "table": "test_generic_events_all" - } - ] -} diff --git a/parser/testdata/00950_test_double_delta_codec/ast.json b/parser/testdata/00950_test_double_delta_codec/ast.json deleted file mode 100644 index 7ac5fba392..0000000000 --- a/parser/testdata/00950_test_double_delta_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "codecTest", - "tables": [ - { - "table": "codecTest" - } - ] -} diff --git a/parser/testdata/00950_test_double_delta_codec_types/ast.json b/parser/testdata/00950_test_double_delta_codec_types/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/00950_test_double_delta_codec_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/00950_test_gorilla_codec/ast.json b/parser/testdata/00950_test_gorilla_codec/ast.json deleted file mode 100644 index 7ac5fba392..0000000000 --- a/parser/testdata/00950_test_gorilla_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "codecTest", - "tables": [ - { - "table": "codecTest" - } - ] -} diff --git a/parser/testdata/00951_ngram_search/ast.json b/parser/testdata/00951_ngram_search/ast.json deleted file mode 100644 index 294141b131..0000000000 --- a/parser/testdata/00951_ngram_search/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1000 - }, - "op": "*", - "right": { - "name": "ngramSearchUTF8", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - }, - { - "type": "String", - "value": "" - } - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - } - } - ] -} diff --git a/parser/testdata/00952_insert_into_distributed_with_materialized_column/ast.json b/parser/testdata/00952_insert_into_distributed_with_materialized_column/ast.json deleted file mode 100644 index 26eb5ea3e1..0000000000 --- a/parser/testdata/00952_insert_into_distributed_with_materialized_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_00952", - "tables": [ - { - "table": "local_00952" - } - ] -} diff --git a/parser/testdata/00952_part_frozen_info/ast.json b/parser/testdata/00952_part_frozen_info/ast.json deleted file mode 100644 index ae517540af..0000000000 --- a/parser/testdata/00952_part_frozen_info/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "part_info", - "tables": [ - { - "table": "part_info" - } - ] -} diff --git a/parser/testdata/00953_moving_functions/ast.json b/parser/testdata/00953_moving_functions/ast.json deleted file mode 100644 index 968f1479c0..0000000000 --- a/parser/testdata/00953_moving_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "moving_sum_num", - "tables": [ - { - "table": "moving_sum_num" - } - ] -} diff --git a/parser/testdata/00954_resample_combinator/ast.json b/parser/testdata/00954_resample_combinator/ast.json deleted file mode 100644 index c5c5d48210..0000000000 --- a/parser/testdata/00954_resample_combinator/ast.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "sumResample(1, 7, 1)" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 11 - }, - { - "type": "Integer", - "value": 12 - }, - { - "type": "Integer", - "value": 13 - }, - { - "type": "Integer", - "value": 14 - }, - { - "type": "Integer", - "value": 15 - }, - { - "type": "Integer", - "value": 16 - }, - { - "type": "Integer", - "value": 17 - }, - { - "type": "Integer", - "value": 18 - }, - { - "type": "Integer", - "value": 19 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 9 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00955_test_final_mark/ast.json b/parser/testdata/00955_test_final_mark/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/00955_test_final_mark/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/00956_join_use_nulls_with_array_column/ast.json b/parser/testdata/00956_join_use_nulls_with_array_column/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/00956_join_use_nulls_with_array_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00957_coalesce_const_nullable_crash/ast.json b/parser/testdata/00957_coalesce_const_nullable_crash/ast.json deleted file mode 100644 index 36bc1facaa..0000000000 --- a/parser/testdata/00957_coalesce_const_nullable_crash/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "coalesce", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00957_delta_diff_bug/ast.json b/parser/testdata/00957_delta_diff_bug/ast.json deleted file mode 100644 index 80fe6886be..0000000000 --- a/parser/testdata/00957_delta_diff_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_codecs", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00957_neighbor/ast.json b/parser/testdata/00957_neighbor/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/00957_neighbor/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00960_eval_ml_method_const/ast.json b/parser/testdata/00960_eval_ml_method_const/ast.json deleted file mode 100644 index a4cb46d60e..0000000000 --- a/parser/testdata/00960_eval_ml_method_const/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "model", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "stochasticLinearRegressionState", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - } - } - ], - "columns": [ - { - "name": "evalMLMethod", - "arguments": [ - { - "parts": [ - "model" - ] - }, - { - "name": "toFloat64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toFloat64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00961_check_table/ast.json b/parser/testdata/00961_check_table/ast.json deleted file mode 100644 index adf1f0a3fa..0000000000 --- a/parser/testdata/00961_check_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "check_query_single_value_result", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00961_checksums_in_system_parts_columns_table/ast.json b/parser/testdata/00961_checksums_in_system_parts_columns_table/ast.json deleted file mode 100644 index 7b2dd049fc..0000000000 --- a/parser/testdata/00961_checksums_in_system_parts_columns_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00961", - "tables": [ - { - "table": "test_00961" - } - ] -} diff --git a/parser/testdata/00961_visit_param_buffer_underflow/ast.json b/parser/testdata/00961_visit_param_buffer_underflow/ast.json deleted file mode 100644 index bc4d3f64c2..0000000000 --- a/parser/testdata/00961_visit_param_buffer_underflow/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visitParamExtractRaw", - "arguments": [ - { - "type": "String", - "value": "\"a\":" - }, - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00962_enumNotExect/ast.json b/parser/testdata/00962_enumNotExect/ast.json deleted file mode 100644 index 53ed4bce69..0000000000 --- a/parser/testdata/00962_enumNotExect/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_enum8", - "tables": [ - { - "table": "t_enum8" - } - ] -} diff --git a/parser/testdata/00962_visit_param_various/ast.json b/parser/testdata/00962_visit_param_various/ast.json deleted file mode 100644 index f50673901c..0000000000 --- a/parser/testdata/00962_visit_param_various/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visitParamExtractUInt", - "arguments": [ - { - "type": "String", - "value": "\"a\":123" - }, - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00963_achimbab/ast.json b/parser/testdata/00963_achimbab/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/00963_achimbab/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00963_startsWith_force_primary_key/ast.json b/parser/testdata/00963_startsWith_force_primary_key/ast.json deleted file mode 100644 index 1dd288a6bc..0000000000 --- a/parser/testdata/00963_startsWith_force_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_startsWith", - "tables": [ - { - "table": "test_startsWith" - } - ] -} diff --git a/parser/testdata/00964_os_thread_priority/ast.json b/parser/testdata/00964_os_thread_priority/ast.json deleted file mode 100644 index 11dd65ee6c..0000000000 --- a/parser/testdata/00964_os_thread_priority/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "os_threads_nice_value_query", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/00965_shard_unresolvable_addresses/ast.json b/parser/testdata/00965_shard_unresolvable_addresses/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/00965_shard_unresolvable_addresses/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00966_invalid_json_must_not_parse/ast.json b/parser/testdata/00966_invalid_json_must_not_parse/ast.json deleted file mode 100644 index 6f2b718bb0..0000000000 --- a/parser/testdata/00966_invalid_json_must_not_parse/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_simdjson", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00967_insert_into_distributed_different_types/ast.json b/parser/testdata/00967_insert_into_distributed_different_types/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/00967_insert_into_distributed_different_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00968_file_engine_in_subquery/ast.json b/parser/testdata/00968_file_engine_in_subquery/ast.json deleted file mode 100644 index fe5a3ef034..0000000000 --- a/parser/testdata/00968_file_engine_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tableFile_00968", - "tables": [ - { - "table": "tableFile_00968" - } - ] -} diff --git a/parser/testdata/00968_roundAge/ast.json b/parser/testdata/00968_roundAge/ast.json deleted file mode 100644 index 54d3db8b99..0000000000 --- a/parser/testdata/00968_roundAge/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "roundAge", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00969_columns_clause/ast.json b/parser/testdata/00969_columns_clause/ast.json deleted file mode 100644 index 697f44b79a..0000000000 --- a/parser/testdata/00969_columns_clause/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ColumnsClauseTest", - "tables": [ - { - "table": "ColumnsClauseTest" - } - ] -} diff --git a/parser/testdata/00969_roundDuration/ast.json b/parser/testdata/00969_roundDuration/ast.json deleted file mode 100644 index c37720c6e6..0000000000 --- a/parser/testdata/00969_roundDuration/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "roundDuration", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/ast.json b/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/ast.json deleted file mode 100644 index 1d5f9ced5f..0000000000 --- a/parser/testdata/00971_merge_tree_uniform_read_distribution_and_max_rows_to_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree", - "tables": [ - { - "table": "merge_tree" - } - ] -} diff --git a/parser/testdata/00972_desc_table_virtual_columns/ast.json b/parser/testdata/00972_desc_table_virtual_columns/ast.json deleted file mode 100644 index d293f4e353..0000000000 --- a/parser/testdata/00972_desc_table_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "upyachka", - "tables": [ - { - "table": "upyachka" - } - ] -} diff --git a/parser/testdata/00972_geohashesInBox/ast.json b/parser/testdata/00972_geohashesInBox/ast.json deleted file mode 100644 index 238df53f2b..0000000000 --- a/parser/testdata/00972_geohashesInBox/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "center" - } - ] - } - ] -} diff --git a/parser/testdata/00973_create_table_as_table_function/ast.json b/parser/testdata/00973_create_table_as_table_function/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/00973_create_table_as_table_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/00974_adaptive_granularity_secondary_index/ast.json b/parser/testdata/00974_adaptive_granularity_secondary_index/ast.json deleted file mode 100644 index 4cba06adea..0000000000 --- a/parser/testdata/00974_adaptive_granularity_secondary_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "indexed_table", - "tables": [ - { - "table": "indexed_table" - } - ] -} diff --git a/parser/testdata/00974_bitmapContains_with_primary_key/ast.json b/parser/testdata/00974_bitmapContains_with_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/00974_bitmapContains_with_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/00974_distributed_join_on/ast.json b/parser/testdata/00974_distributed_join_on/ast.json deleted file mode 100644 index 3fbb17fc00..0000000000 --- a/parser/testdata/00974_distributed_join_on/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "source_table1", - "tables": [ - { - "table": "source_table1" - } - ] -} diff --git a/parser/testdata/00974_final_predicate_push_down/ast.json b/parser/testdata/00974_final_predicate_push_down/ast.json deleted file mode 100644 index b07cffcb02..0000000000 --- a/parser/testdata/00974_final_predicate_push_down/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00974", - "tables": [ - { - "table": "test_00974" - } - ] -} diff --git a/parser/testdata/00974_fix_join_on/ast.json b/parser/testdata/00974_fix_join_on/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/00974_fix_join_on/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/00974_low_cardinality_cast/ast.json b/parser/testdata/00974_low_cardinality_cast/ast.json deleted file mode 100644 index 5d9909b85e..0000000000 --- a/parser/testdata/00974_low_cardinality_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00974_query_profiler/ast.json b/parser/testdata/00974_query_profiler/ast.json deleted file mode 100644 index d9d340af2b..0000000000 --- a/parser/testdata/00974_query_profiler/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00975_json_hang/ast.json b/parser/testdata/00975_json_hang/ast.json deleted file mode 100644 index 3211080cf7..0000000000 --- a/parser/testdata/00975_json_hang/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "JSONExtractRaw", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "{\"x\":" - }, - { - "condition": { - "left": { - "name": "rand" - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "type": "String", - "value": "true" - }, - "else": { - "type": "String", - "value": "false" - } - }, - { - "type": "String", - "value": "}" - } - ] - }, - { - "type": "String", - "value": "x" - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "res" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/00975_recursive_materialized_view/ast.json b/parser/testdata/00975_recursive_materialized_view/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/00975_recursive_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/00975_values_list/ast.json b/parser/testdata/00975_values_list/ast.json deleted file mode 100644 index 2e90a1dd2e..0000000000 --- a/parser/testdata/00975_values_list/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "values_list", - "tables": [ - { - "table": "values_list" - } - ] -} diff --git a/parser/testdata/00976_max_execution_speed/ast.json b/parser/testdata/00976_max_execution_speed/ast.json deleted file mode 100644 index 6d6ab24d42..0000000000 --- a/parser/testdata/00976_max_execution_speed/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_execution_speed", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 3 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00976_shard_low_cardinality_achimbab/ast.json b/parser/testdata/00976_shard_low_cardinality_achimbab/ast.json deleted file mode 100644 index 88aacb57d7..0000000000 --- a/parser/testdata/00976_shard_low_cardinality_achimbab/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "han_1", - "tables": [ - { - "table": "han_1" - } - ] -} diff --git a/parser/testdata/00976_system_stop_ttl_merges/ast.json b/parser/testdata/00976_system_stop_ttl_merges/ast.json deleted file mode 100644 index 463cbbb397..0000000000 --- a/parser/testdata/00976_system_stop_ttl_merges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl", - "tables": [ - { - "table": "ttl" - } - ] -} diff --git a/parser/testdata/00976_ttl_with_old_parts/ast.json b/parser/testdata/00976_ttl_with_old_parts/ast.json deleted file mode 100644 index 463cbbb397..0000000000 --- a/parser/testdata/00976_ttl_with_old_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl", - "tables": [ - { - "table": "ttl" - } - ] -} diff --git a/parser/testdata/00977_join_use_nulls_denny_crane/ast.json b/parser/testdata/00977_join_use_nulls_denny_crane/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/00977_join_use_nulls_denny_crane/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/00978_sum_map_bugfix/ast.json b/parser/testdata/00978_sum_map_bugfix/ast.json deleted file mode 100644 index ddd2fe5237..0000000000 --- a/parser/testdata/00978_sum_map_bugfix/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "sumMap" - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "a" - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "b" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 200 - } - ] - }, - "alias": "a" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 20 - }, - { - "type": "Integer", - "value": 30 - } - ] - }, - "alias": "b" - }, - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/ast.json b/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/ast.json deleted file mode 100644 index a060d0c6a1..0000000000 --- a/parser/testdata/00979_quantileExcatExclusive_and_Inclusive/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "num", - "tables": [ - { - "table": "num" - } - ] -} diff --git a/parser/testdata/00979_set_index_not/ast.json b/parser/testdata/00979_set_index_not/ast.json deleted file mode 100644 index c3fe89bdfe..0000000000 --- a/parser/testdata/00979_set_index_not/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set_index_not", - "tables": [ - { - "table": "set_index_not" - } - ] -} diff --git a/parser/testdata/00979_toFloat_monotonicity/ast.json b/parser/testdata/00979_toFloat_monotonicity/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/00979_toFloat_monotonicity/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00979_yandex_consistent_hash_fpe/ast.json b/parser/testdata/00979_yandex_consistent_hash_fpe/ast.json deleted file mode 100644 index fa138cc796..0000000000 --- a/parser/testdata/00979_yandex_consistent_hash_fpe/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "kostikConsistentHash", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 40000 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00980_crash_nullable_decimal/ast.json b/parser/testdata/00980_crash_nullable_decimal/ast.json deleted file mode 100644 index 3ed592b720..0000000000 --- a/parser/testdata/00980_crash_nullable_decimal/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "median" - }, - { - "type": "Array", - "value": [ - { - "name": "toDecimal32OrNull", - "arguments": [ - { - "type": "String", - "value": "1" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00980_full_join_crash_fancyqlx/ast.json b/parser/testdata/00980_full_join_crash_fancyqlx/ast.json deleted file mode 100644 index e90ab05013..0000000000 --- a/parser/testdata/00980_full_join_crash_fancyqlx/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_join", - "tables": [ - { - "table": "test_join" - } - ] -} diff --git a/parser/testdata/00980_merge_alter_settings/ast.json b/parser/testdata/00980_merge_alter_settings/ast.json deleted file mode 100644 index bbf225ba11..0000000000 --- a/parser/testdata/00980_merge_alter_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "log_for_alter", - "tables": [ - { - "table": "log_for_alter" - } - ] -} diff --git a/parser/testdata/00980_shard_aggregation_state_deserialization/ast.json b/parser/testdata/00980_shard_aggregation_state_deserialization/ast.json deleted file mode 100644 index 8f1156e6e1..0000000000 --- a/parser/testdata/00980_shard_aggregation_state_deserialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers500k", - "tables": [ - { - "table": "numbers500k" - } - ] -} diff --git a/parser/testdata/00980_skip_unused_shards_without_sharding_key/ast.json b/parser/testdata/00980_skip_unused_shards_without_sharding_key/ast.json deleted file mode 100644 index 24f6216d44..0000000000 --- a/parser/testdata/00980_skip_unused_shards_without_sharding_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_local", - "tables": [ - { - "table": "t_local" - } - ] -} diff --git a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/ast.json b/parser/testdata/00980_zookeeper_merge_tree_alter_settings/ast.json deleted file mode 100644 index 7a1593465c..0000000000 --- a/parser/testdata/00980_zookeeper_merge_tree_alter_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_table_for_alter1", - "tables": [ - { - "table": "replicated_table_for_alter1" - } - ] -} diff --git a/parser/testdata/00981_no_virtual_columns/ast.json b/parser/testdata/00981_no_virtual_columns/ast.json deleted file mode 100644 index bcb33dfe74..0000000000 --- a/parser/testdata/00981_no_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_a", - "tables": [ - { - "table": "merge_a" - } - ] -} diff --git a/parser/testdata/00981_topK_topKWeighted_long/ast.json b/parser/testdata/00981_topK_topKWeighted_long/ast.json deleted file mode 100644 index 5215a70878..0000000000 --- a/parser/testdata/00981_topK_topKWeighted_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "topk", - "tables": [ - { - "table": "topk" - } - ] -} diff --git a/parser/testdata/00982_low_cardinality_setting_in_mv/ast.json b/parser/testdata/00982_low_cardinality_setting_in_mv/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/00982_low_cardinality_setting_in_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/00983_summing_merge_tree_not_an_identifier/ast.json b/parser/testdata/00983_summing_merge_tree_not_an_identifier/ast.json deleted file mode 100644 index 30918abd33..0000000000 --- a/parser/testdata/00983_summing_merge_tree_not_an_identifier/ast.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "table": "xx", - "columns": [ - { - "name": "date", - "type": { - "name": "Date" - } - }, - { - "name": "id", - "type": { - "name": "Int64" - } - }, - { - "name": "clicks", - "type": { - "name": "Int64" - } - }, - { - "name": "price", - "type": { - "name": "Float64" - } - }, - { - "name": "spend", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "SummingMergeTree", - "parameters": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "price" - ] - }, - { - "parts": [ - "spend" - ] - } - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "date" - ] - } - ] - }, - "sample_by": { - "parts": [ - "id" - ] - }, - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/00984_materialized_view_to_columns/ast.json b/parser/testdata/00984_materialized_view_to_columns/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/00984_materialized_view_to_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/00985_merge_stack_overflow/ast.json b/parser/testdata/00985_merge_stack_overflow/ast.json deleted file mode 100644 index 27eca8909b..0000000000 --- a/parser/testdata/00985_merge_stack_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge1", - "tables": [ - { - "table": "merge1" - } - ] -} diff --git a/parser/testdata/00986_materialized_view_stack_overflow/ast.json b/parser/testdata/00986_materialized_view_stack_overflow/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/00986_materialized_view_stack_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/00987_distributed_stack_overflow/ast.json b/parser/testdata/00987_distributed_stack_overflow/ast.json deleted file mode 100644 index 46a01f2ae2..0000000000 --- a/parser/testdata/00987_distributed_stack_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "distr0", - "tables": [ - { - "table": "distr0" - } - ] -} diff --git a/parser/testdata/00988_constraints_replication_zookeeper_long/ast.json b/parser/testdata/00988_constraints_replication_zookeeper_long/ast.json deleted file mode 100644 index ba1481f7d3..0000000000 --- a/parser/testdata/00988_constraints_replication_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_constraints1", - "tables": [ - { - "table": "replicated_constraints1" - } - ] -} diff --git a/parser/testdata/00988_expansion_aliases_limit/ast.json b/parser/testdata/00988_expansion_aliases_limit/ast.json deleted file mode 100644 index e5866cd81a..0000000000 --- a/parser/testdata/00988_expansion_aliases_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_expanded_ast_elements", - "value": { - "type": "Integer", - "value": 10000 - } - } - ] -} diff --git a/parser/testdata/00988_parallel_parts_removal/ast.json b/parser/testdata/00988_parallel_parts_removal/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/00988_parallel_parts_removal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/00989_parallel_parts_loading/ast.json b/parser/testdata/00989_parallel_parts_loading/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/00989_parallel_parts_loading/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/00990_function_current_user/ast.json b/parser/testdata/00990_function_current_user/ast.json deleted file mode 100644 index 6b8f8f3806..0000000000 --- a/parser/testdata/00990_function_current_user/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "currentUser" - }, - "not": true - } - ] - } - ] -} diff --git a/parser/testdata/00990_hasToken_and_tokenbf/ast.json b/parser/testdata/00990_hasToken_and_tokenbf/ast.json deleted file mode 100644 index fdc3fcfcc5..0000000000 --- a/parser/testdata/00990_hasToken_and_tokenbf/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter", - "tables": [ - { - "table": "bloom_filter" - } - ] -} diff --git a/parser/testdata/00990_metric_log_table_not_empty/ast.json b/parser/testdata/00990_metric_log_table_not_empty/ast.json deleted file mode 100644 index 0c9708d5cd..0000000000 --- a/parser/testdata/00990_metric_log_table_not_empty/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sleep", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/00990_request_splitting/ast.json b/parser/testdata/00990_request_splitting/ast.json deleted file mode 100644 index c10cba1d9d..0000000000 --- a/parser/testdata/00990_request_splitting/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://127.0.0.1:1337/? HTTP/1.1\r\nTest: test" - }, - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "column1 String" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00994_table_function_numbers_mt/ast.json b/parser/testdata/00994_table_function_numbers_mt/ast.json deleted file mode 100644 index 645d81e5ed..0000000000 --- a/parser/testdata/00994_table_function_numbers_mt/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "min", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10000000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00995_optimize_read_in_order_with_aggregation/ast.json b/parser/testdata/00995_optimize_read_in_order_with_aggregation/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/00995_optimize_read_in_order_with_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00995_order_by_with_fill/ast.json b/parser/testdata/00995_order_by_with_fill/ast.json deleted file mode 100644 index c57dd929b0..0000000000 --- a/parser/testdata/00995_order_by_with_fill/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fill", - "tables": [ - { - "table": "fill" - } - ] -} diff --git a/parser/testdata/00996_limit_with_ties/ast.json b/parser/testdata/00996_limit_with_ties/ast.json deleted file mode 100644 index 520ecf6976..0000000000 --- a/parser/testdata/00996_limit_with_ties/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ties", - "tables": [ - { - "table": "ties" - } - ] -} diff --git a/parser/testdata/00996_neighbor/ast.json b/parser/testdata/00996_neighbor/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/00996_neighbor/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00997_extract_all_crash_6627/ast.json b/parser/testdata/00997_extract_all_crash_6627/ast.json deleted file mode 100644 index 403e4a4bcd..0000000000 --- a/parser/testdata/00997_extract_all_crash_6627/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractAll", - "arguments": [ - { - "type": "String", - "value": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 YaBrowser/19.7.2.455 Yowser/2.5 Safari/537.36" - }, - { - "type": "String", - "value": "[Y][a-zA-Z]{8}/[1-9]([1-9]+)?(((.?)([0-9]+)?){0,4})?" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/00997_set_index_array/ast.json b/parser/testdata/00997_set_index_array/ast.json deleted file mode 100644 index 6508ea1025..0000000000 --- a/parser/testdata/00997_set_index_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_index_analysis_only_on_coordinator", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00998_constraints_all_tables/ast.json b/parser/testdata/00998_constraints_all_tables/ast.json deleted file mode 100644 index 8353d8094f..0000000000 --- a/parser/testdata/00998_constraints_all_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "constrained", - "tables": [ - { - "table": "constrained" - } - ] -} diff --git a/parser/testdata/00999_full_join_dup_keys_crash/ast.json b/parser/testdata/00999_full_join_dup_keys_crash/ast.json deleted file mode 100644 index 9921233014..0000000000 --- a/parser/testdata/00999_full_join_dup_keys_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/00999_join_not_nullable_types/ast.json b/parser/testdata/00999_join_not_nullable_types/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/00999_join_not_nullable_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/00999_join_on_expression/ast.json b/parser/testdata/00999_join_on_expression/ast.json deleted file mode 100644 index 26e34cc2e5..0000000000 --- a/parser/testdata/00999_join_on_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "X", - "tables": [ - { - "table": "X" - } - ] -} diff --git a/parser/testdata/00999_nullable_nested_types_4877/ast.json b/parser/testdata/00999_nullable_nested_types_4877/ast.json deleted file mode 100644 index 6eb407eccc..0000000000 --- a/parser/testdata/00999_nullable_nested_types_4877/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "l", - "tables": [ - { - "table": "l" - } - ] -} diff --git a/parser/testdata/00999_settings_no_extra_quotes/ast.json b/parser/testdata/00999_settings_no_extra_quotes/ast.json deleted file mode 100644 index db52b67098..0000000000 --- a/parser/testdata/00999_settings_no_extra_quotes/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "expr": { - "parts": [ - "description" - ] - }, - "pattern": { - "type": "String", - "value": "\"%\"" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/00999_test_skip_indices_with_alter_and_merge/ast.json b/parser/testdata/00999_test_skip_indices_with_alter_and_merge/ast.json deleted file mode 100644 index 8d517c0485..0000000000 --- a/parser/testdata/00999_test_skip_indices_with_alter_and_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_vertical_merge", - "tables": [ - { - "table": "test_vertical_merge" - } - ] -} diff --git a/parser/testdata/01000_bad_size_of_marks_skip_idx/ast.json b/parser/testdata/01000_bad_size_of_marks_skip_idx/ast.json deleted file mode 100644 index b33c660b06..0000000000 --- a/parser/testdata/01000_bad_size_of_marks_skip_idx/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bad_skip_idx", - "tables": [ - { - "table": "bad_skip_idx" - } - ] -} diff --git a/parser/testdata/01000_subquery_requires_alias/ast.json b/parser/testdata/01000_subquery_requires_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01000_subquery_requires_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01001_enums_in_in_section/ast.json b/parser/testdata/01001_enums_in_in_section/ast.json deleted file mode 100644 index 0995d25898..0000000000 --- a/parser/testdata/01001_enums_in_in_section/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enums", - "tables": [ - { - "table": "enums" - } - ] -} diff --git a/parser/testdata/01006_ttl_with_default_2/ast.json b/parser/testdata/01006_ttl_with_default_2/ast.json deleted file mode 100644 index ffb3917dd0..0000000000 --- a/parser/testdata/01006_ttl_with_default_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_with_default", - "tables": [ - { - "table": "ttl_with_default" - } - ] -} diff --git a/parser/testdata/01008_materialized_view_henyihanwobushi/ast.json b/parser/testdata/01008_materialized_view_henyihanwobushi/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/01008_materialized_view_henyihanwobushi/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/01009_global_array_join_names/ast.json b/parser/testdata/01009_global_array_join_names/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01009_global_array_join_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01009_insert_select_data_loss/ast.json b/parser/testdata/01009_insert_select_data_loss/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01009_insert_select_data_loss/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01009_insert_select_nicelulu/ast.json b/parser/testdata/01009_insert_select_nicelulu/ast.json deleted file mode 100644 index 20f561537c..0000000000 --- a/parser/testdata/01009_insert_select_nicelulu/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_insert_t1", - "tables": [ - { - "table": "test_insert_t1" - } - ] -} diff --git a/parser/testdata/01010_partial_merge_join/ast.json b/parser/testdata/01010_partial_merge_join/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01010_partial_merge_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01010_partial_merge_join_const_and_lc/ast.json b/parser/testdata/01010_partial_merge_join_const_and_lc/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/01010_partial_merge_join_const_and_lc/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/01010_partial_merge_join_negative/ast.json b/parser/testdata/01010_partial_merge_join_negative/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01010_partial_merge_join_negative/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01010_pm_join_all_join_bug/ast.json b/parser/testdata/01010_pm_join_all_join_bug/ast.json deleted file mode 100644 index e121b08a11..0000000000 --- a/parser/testdata/01010_pm_join_all_join_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ints", - "tables": [ - { - "table": "ints" - } - ] -} diff --git a/parser/testdata/01010_pmj_on_disk/ast.json b/parser/testdata/01010_pmj_on_disk/ast.json deleted file mode 100644 index 2d1570031a..0000000000 --- a/parser/testdata/01010_pmj_on_disk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "hash" - } - } - ] -} diff --git a/parser/testdata/01010_pmj_one_row_blocks/ast.json b/parser/testdata/01010_pmj_one_row_blocks/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01010_pmj_one_row_blocks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01010_pmj_right_table_memory_limits/ast.json b/parser/testdata/01010_pmj_right_table_memory_limits/ast.json deleted file mode 100644 index a2dc4ad498..0000000000 --- a/parser/testdata/01010_pmj_right_table_memory_limits/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_in_join", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01010_pmj_skip_blocks/ast.json b/parser/testdata/01010_pmj_skip_blocks/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01010_pmj_skip_blocks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01011_group_uniq_array_memsan/ast.json b/parser/testdata/01011_group_uniq_array_memsan/ast.json deleted file mode 100644 index 5d74997d2f..0000000000 --- a/parser/testdata/01011_group_uniq_array_memsan/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupUniqArray", - "arguments": [ - { - "parts": [ - "v" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "id int, v Array(int)" - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "id" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01011_test_create_as_skip_indices/ast.json b/parser/testdata/01011_test_create_as_skip_indices/ast.json deleted file mode 100644 index 3f23a9c7e3..0000000000 --- a/parser/testdata/01011_test_create_as_skip_indices/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "foo", - "columns": [ - { - "name": "key", - "type": { - "name": "int" - } - } - ], - "indexes": [ - { - "name": "i1", - "expression": { - "parts": [ - "key" - ] - }, - "type": { - "name": "minmax" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/01012_reset_running_accumulate/ast.json b/parser/testdata/01012_reset_running_accumulate/ast.json deleted file mode 100644 index 5dd0e1cc44..0000000000 --- a/parser/testdata/01012_reset_running_accumulate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01012_select_limit_x_0/ast.json b/parser/testdata/01012_select_limit_x_0/ast.json deleted file mode 100644 index 210c6932dd..0000000000 --- a/parser/testdata/01012_select_limit_x_0/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 0 - }, - "offset": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01012_serialize_array_memory_usage/ast.json b/parser/testdata/01012_serialize_array_memory_usage/ast.json deleted file mode 100644 index 12efc84e80..0000000000 --- a/parser/testdata/01012_serialize_array_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 300000000 - } - } - ] -} diff --git a/parser/testdata/01013_hex_decimal/ast.json b/parser/testdata/01013_hex_decimal/ast.json deleted file mode 100644 index 14b188bdf8..0000000000 --- a/parser/testdata/01013_hex_decimal/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01013_hex_float/ast.json b/parser/testdata/01013_hex_float/ast.json deleted file mode 100644 index a9e980c2d4..0000000000 --- a/parser/testdata/01013_hex_float/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01013_repeat_function/ast.json b/parser/testdata/01013_repeat_function/ast.json deleted file mode 100644 index f19d1e4a19..0000000000 --- a/parser/testdata/01013_repeat_function/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "abc" - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01013_totals_without_aggregation/ast.json b/parser/testdata/01013_totals_without_aggregation/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01013_totals_without_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01014_count_of_merges_metrics/ast.json b/parser/testdata/01014_count_of_merges_metrics/ast.json deleted file mode 100644 index 9099bf5e84..0000000000 --- a/parser/testdata/01014_count_of_merges_metrics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "new_table_test", - "tables": [ - { - "table": "new_table_test" - } - ] -} diff --git a/parser/testdata/01014_function_repeat_corner_cases/ast.json b/parser/testdata/01014_function_repeat_corner_cases/ast.json deleted file mode 100644 index e527336522..0000000000 --- a/parser/testdata/01014_function_repeat_corner_cases/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "x" - }, - { - "type": "Integer", - "value": 1000000 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01015_array_split/ast.json b/parser/testdata/01015_array_split/ast.json deleted file mode 100644 index 3ac0ab5606..0000000000 --- a/parser/testdata/01015_array_split/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySplit", - "arguments": [ - { - "parameters": [ - "x", - "y" - ], - "body": { - "parts": [ - "y" - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01015_attach_part/ast.json b/parser/testdata/01015_attach_part/ast.json deleted file mode 100644 index d51e15ef4b..0000000000 --- a/parser/testdata/01015_attach_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_01", - "tables": [ - { - "table": "table_01" - } - ] -} diff --git a/parser/testdata/01015_random_constant/ast.json b/parser/testdata/01015_random_constant/ast.json deleted file mode 100644 index 28271ad220..0000000000 --- a/parser/testdata/01015_random_constant/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "randConstant" - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/01016_index_tuple_field_type/ast.json b/parser/testdata/01016_index_tuple_field_type/ast.json deleted file mode 100644 index 029726dc5b..0000000000 --- a/parser/testdata/01016_index_tuple_field_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tuple_01016", - "tables": [ - { - "table": "tuple_01016" - } - ] -} diff --git a/parser/testdata/01016_macros/ast.json b/parser/testdata/01016_macros/ast.json deleted file mode 100644 index 0584ff896c..0000000000 --- a/parser/testdata/01016_macros/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "macros" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "macro" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "test" - } - } - } - ] -} diff --git a/parser/testdata/01016_null_part_minmax/ast.json b/parser/testdata/01016_null_part_minmax/ast.json deleted file mode 100644 index 681909d961..0000000000 --- a/parser/testdata/01016_null_part_minmax/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_01016", - "tables": [ - { - "table": "null_01016" - } - ] -} diff --git a/parser/testdata/01016_simhash_minhash/ast.json b/parser/testdata/01016_simhash_minhash/ast.json deleted file mode 100644 index 028a254dbe..0000000000 --- a/parser/testdata/01016_simhash_minhash/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ngramSimHash", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01016_simhash_minhash_ppc/ast.json b/parser/testdata/01016_simhash_minhash_ppc/ast.json deleted file mode 100644 index 028a254dbe..0000000000 --- a/parser/testdata/01016_simhash_minhash_ppc/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ngramSimHash", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01016_uniqCombined64/ast.json b/parser/testdata/01016_uniqCombined64/ast.json deleted file mode 100644 index ac4f6810fe..0000000000 --- a/parser/testdata/01016_uniqCombined64/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqCombined", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 10000000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01017_bithamming_distance/ast.json b/parser/testdata/01017_bithamming_distance/ast.json deleted file mode 100644 index a49c7dc2d6..0000000000 --- a/parser/testdata/01017_bithamming_distance/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitHammingDistance", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01017_in_unconvertible_complex_type/ast.json b/parser/testdata/01017_in_unconvertible_complex_type/ast.json deleted file mode 100644 index 0f67b856b4..0000000000 --- a/parser/testdata/01017_in_unconvertible_complex_type/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "list": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01017_tuplehamming_distance/ast.json b/parser/testdata/01017_tuplehamming_distance/ast.json deleted file mode 100644 index 52feea8f9d..0000000000 --- a/parser/testdata/01017_tuplehamming_distance/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleHammingDistance", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01017_uniqCombined_memory_usage/ast.json b/parser/testdata/01017_uniqCombined_memory_usage/ast.json deleted file mode 100644 index b0c9acd112..0000000000 --- a/parser/testdata/01017_uniqCombined_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_uncompressed_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01018_Distributed__shard_num/ast.json b/parser/testdata/01018_Distributed__shard_num/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/01018_Distributed__shard_num/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01018_ambiguous_column/ast.json b/parser/testdata/01018_ambiguous_column/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/01018_ambiguous_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01018_ddl_dictionaries_create/ast.json b/parser/testdata/01018_ddl_dictionaries_create/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01018_ddl_dictionaries_create/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01018_ddl_dictionaries_select/ast.json b/parser/testdata/01018_ddl_dictionaries_select/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01018_ddl_dictionaries_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01018_ddl_dictionaries_special/ast.json b/parser/testdata/01018_ddl_dictionaries_special/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01018_ddl_dictionaries_special/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01018_dictionaries_from_dictionaries/ast.json b/parser/testdata/01018_dictionaries_from_dictionaries/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01018_dictionaries_from_dictionaries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01018_empty_aggregation_filling/ast.json b/parser/testdata/01018_empty_aggregation_filling/ast.json deleted file mode 100644 index 07dab77590..0000000000 --- a/parser/testdata/01018_empty_aggregation_filling/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Int Empty ---" - } - ] - } - ] -} diff --git a/parser/testdata/01018_ip_dictionary_long/ast.json b/parser/testdata/01018_ip_dictionary_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01018_ip_dictionary_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01018_optimize_read_in_order_with_in_subquery/ast.json b/parser/testdata/01018_optimize_read_in_order_with_in_subquery/ast.json deleted file mode 100644 index a731cda38e..0000000000 --- a/parser/testdata/01018_optimize_read_in_order_with_in_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01019_Buffer_and_max_memory_usage/ast.json b/parser/testdata/01019_Buffer_and_max_memory_usage/ast.json deleted file mode 100644 index 4c0b46c01b..0000000000 --- a/parser/testdata/01019_Buffer_and_max_memory_usage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_", - "tables": [ - { - "table": "null_" - } - ] -} diff --git a/parser/testdata/01019_alter_materialized_view_query/ast.json b/parser/testdata/01019_alter_materialized_view_query/ast.json deleted file mode 100644 index 09beaa1cbf..0000000000 --- a/parser/testdata/01019_alter_materialized_view_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_01019", - "tables": [ - { - "table": "src_01019" - } - ] -} diff --git a/parser/testdata/01019_array_fill/ast.json b/parser/testdata/01019_array_fill/ast.json deleted file mode 100644 index 39e3f600f7..0000000000 --- a/parser/testdata/01019_array_fill/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFill", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 11 - }, - { - "type": "Integer", - "value": 12 - }, - { - "type": "Integer", - "value": 13 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 14 - }, - { - "type": "Integer", - "value": 15 - }, - { - "type": "Integer", - "value": 16 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01019_materialized_view_select_extra_columns/ast.json b/parser/testdata/01019_materialized_view_select_extra_columns/ast.json deleted file mode 100644 index 80532b40b3..0000000000 --- a/parser/testdata/01019_materialized_view_select_extra_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_materialized_view_with_bad_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01020_function_array_compact/ast.json b/parser/testdata/01020_function_array_compact/ast.json deleted file mode 100644 index 58f53468c4..0000000000 --- a/parser/testdata/01020_function_array_compact/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayCompact", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01020_having_without_group_by/ast.json b/parser/testdata/01020_having_without_group_by/ast.json deleted file mode 100644 index 5ab96bb312..0000000000 --- a/parser/testdata/01020_having_without_group_by/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "having": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01021_create_as_select/ast.json b/parser/testdata/01021_create_as_select/ast.json deleted file mode 100644 index eb34151265..0000000000 --- a/parser/testdata/01021_create_as_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "create_as_select_01021", - "tables": [ - { - "table": "create_as_select_01021" - } - ] -} diff --git a/parser/testdata/01021_only_tuple_columns/ast.json b/parser/testdata/01021_only_tuple_columns/ast.json deleted file mode 100644 index 68a6006d01..0000000000 --- a/parser/testdata/01021_only_tuple_columns/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "x", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "UInt64" - }, - { - "name": "UInt64" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/01023_materialized_view_query_context/ast.json b/parser/testdata/01023_materialized_view_query_context/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/01023_materialized_view_query_context/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01024__getScalar/ast.json b/parser/testdata/01024__getScalar/ast.json deleted file mode 100644 index 5d21caef69..0000000000 --- a/parser/testdata/01024__getScalar/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "foo", - "columns": [ - { - "name": "key", - "type": { - "name": "String" - } - }, - { - "name": "macro", - "type": { - "name": "String" - }, - "default": { - "name": "__getScalar", - "arguments": [ - { - "parts": [ - "key" - ] - } - ] - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "Null", - "has_parentheses": true - } -} diff --git a/parser/testdata/01025_array_compact_generic/ast.json b/parser/testdata/01025_array_compact_generic/ast.json deleted file mode 100644 index 38669ebf75..0000000000 --- a/parser/testdata/01025_array_compact_generic/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayCompact", - "arguments": [ - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01026_char_utf8/ast.json b/parser/testdata/01026_char_utf8/ast.json deleted file mode 100644 index 1e7ad0a66b..0000000000 --- a/parser/testdata/01026_char_utf8/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "char", - "arguments": [ - { - "type": "Integer", - "value": 208 - }, - { - "type": "Integer", - "value": 191 - }, - { - "type": "Integer", - "value": 209 - }, - { - "type": "Integer", - "value": 128 - }, - { - "type": "Integer", - "value": 208 - }, - { - "type": "Integer", - "value": 184 - }, - { - "type": "Integer", - "value": 208 - }, - { - "type": "Integer", - "value": 178 - }, - { - "type": "Integer", - "value": 208 - }, - { - "type": "Integer", - "value": 181 - }, - { - "type": "Integer", - "value": 209 - }, - { - "type": "Integer", - "value": 130 - } - ], - "alias": "hello" - } - ] - } - ] -} diff --git a/parser/testdata/01029_early_constant_folding/ast.json b/parser/testdata/01029_early_constant_folding/ast.json deleted file mode 100644 index 01db4048f0..0000000000 --- a/parser/testdata/01029_early_constant_folding/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "where": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] - } -} diff --git a/parser/testdata/01030_concatenate_equal_fixed_strings/ast.json b/parser/testdata/01030_concatenate_equal_fixed_strings/ast.json deleted file mode 100644 index 8c2c38b038..0000000000 --- a/parser/testdata/01030_concatenate_equal_fixed_strings/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "aa" - }, - { - "type": "Integer", - "value": 2 - } - ], - "alias": "a" - }, - { - "name": "concat", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "a" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01030_final_mark_empty_primary_key/ast.json b/parser/testdata/01030_final_mark_empty_primary_key/ast.json deleted file mode 100644 index 8aa3c40668..0000000000 --- a/parser/testdata/01030_final_mark_empty_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "empty_pk", - "tables": [ - { - "table": "empty_pk" - } - ] -} diff --git a/parser/testdata/01030_incorrect_count_summing_merge_tree/ast.json b/parser/testdata/01030_incorrect_count_summing_merge_tree/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/01030_incorrect_count_summing_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01030_storage_set_supports_read/ast.json b/parser/testdata/01030_storage_set_supports_read/ast.json deleted file mode 100644 index 63a302b1de..0000000000 --- a/parser/testdata/01030_storage_set_supports_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "userid_test", - "tables": [ - { - "table": "userid_test" - } - ] -} diff --git a/parser/testdata/01030_storage_url_syntax/ast.json b/parser/testdata/01030_storage_url_syntax/ast.json deleted file mode 100644 index 40086ea8a2..0000000000 --- a/parser/testdata/01030_storage_url_syntax/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_url_syntax", - "tables": [ - { - "table": "test_table_url_syntax" - } - ] -} diff --git a/parser/testdata/01031_pmj_new_any_semi_join/ast.json b/parser/testdata/01031_pmj_new_any_semi_join/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01031_pmj_new_any_semi_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01031_semi_anti_join/ast.json b/parser/testdata/01031_semi_anti_join/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01031_semi_anti_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01032_cityHash64_for_UUID/ast.json b/parser/testdata/01032_cityHash64_for_UUID/ast.json deleted file mode 100644 index 9f9c8af776..0000000000 --- a/parser/testdata/01032_cityHash64_for_UUID/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "61f0c404-5cb3-11e7-907b-a6006ad3dba0" - } - ] - } - ], - "alias": "uuid" - } - ] - } - ] -} diff --git a/parser/testdata/01032_cityHash64_for_decimal/ast.json b/parser/testdata/01032_cityHash64_for_decimal/ast.json deleted file mode 100644 index 0b8e1e6fb9..0000000000 --- a/parser/testdata/01032_cityHash64_for_decimal/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 32 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01032_duplicate_column_insert_query/ast.json b/parser/testdata/01032_duplicate_column_insert_query/ast.json deleted file mode 100644 index c1eb2bb43d..0000000000 --- a/parser/testdata/01032_duplicate_column_insert_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sometable", - "tables": [ - { - "table": "sometable" - } - ] -} diff --git a/parser/testdata/01033_dictionaries_lifetime/ast.json b/parser/testdata/01033_dictionaries_lifetime/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01033_dictionaries_lifetime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01033_function_substring/ast.json b/parser/testdata/01033_function_substring/ast.json deleted file mode 100644 index db889a52aa..0000000000 --- a/parser/testdata/01033_function_substring/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- argument validation" - } - ] - } - ] -} diff --git a/parser/testdata/01033_storage_odbc_parsing_exception_check/ast.json b/parser/testdata/01033_storage_odbc_parsing_exception_check/ast.json deleted file mode 100644 index f66c5a50f7..0000000000 --- a/parser/testdata/01033_storage_odbc_parsing_exception_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "BannerDict", - "tables": [ - { - "table": "BannerDict" - } - ] -} diff --git a/parser/testdata/01034_JSONCompactEachRow/ast.json b/parser/testdata/01034_JSONCompactEachRow/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01034_JSONCompactEachRow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01034_order_by_pk_prefix/ast.json b/parser/testdata/01034_order_by_pk_prefix/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01034_order_by_pk_prefix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/ast.json b/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/ast.json deleted file mode 100644 index 9b5f7c7650..0000000000 --- a/parser/testdata/01034_prewhere_max_parallel_replicas_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_max_parallel_replicas_lr", - "tables": [ - { - "table": "test_max_parallel_replicas_lr" - } - ] -} diff --git a/parser/testdata/01034_sample_final_distributed/ast.json b/parser/testdata/01034_sample_final_distributed/ast.json deleted file mode 100644 index 956e503a99..0000000000 --- a/parser/testdata/01034_sample_final_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01034_unknown_qualified_column_in_join/ast.json b/parser/testdata/01034_unknown_qualified_column_in_join/ast.json deleted file mode 100644 index 7a3dbfbff5..0000000000 --- a/parser/testdata/01034_unknown_qualified_column_in_join/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "l", - "c" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - } - ] - } - ] - } - }, - "alias": "l" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "c" - } - ] - } - ] - } - }, - "alias": "r" - }, - "join": { - "type": "INNER", - "using": [ - { - "parts": [ - "b" - ] - } - ] - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01035_prewhere_with_alias/ast.json b/parser/testdata/01035_prewhere_with_alias/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01035_prewhere_with_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/ast.json b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/ast.json deleted file mode 100644 index 6f4cc74628..0000000000 --- a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "dict_data", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "val", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/ast.json b/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/ast.json deleted file mode 100644 index 7dce7313d4..0000000000 --- a/parser/testdata/01036_no_superfluous_dict_reload_on_create_database_2/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "foo 1234", - "drop_database": true -} diff --git a/parser/testdata/01036_union_different_columns/ast.json b/parser/testdata/01036_union_different_columns/ast.json deleted file mode 100644 index df5cea3fdf..0000000000 --- a/parser/testdata/01036_union_different_columns/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "c1" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "c2" - }, - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "c3" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "c1" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "c2" - }, - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "c3" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "c1" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "c2" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] -} diff --git a/parser/testdata/01037_zookeeper_check_table_empty_pk/ast.json b/parser/testdata/01037_zookeeper_check_table_empty_pk/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/01037_zookeeper_check_table_empty_pk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01038_array_of_unnamed_tuples/ast.json b/parser/testdata/01038_array_of_unnamed_tuples/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01038_array_of_unnamed_tuples/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01039_mergetree_exec_time/ast.json b/parser/testdata/01039_mergetree_exec_time/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01039_mergetree_exec_time/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01039_test_setting_parse/ast.json b/parser/testdata/01039_test_setting_parse/ast.json deleted file mode 100644 index cb1966be4f..0000000000 --- a/parser/testdata/01039_test_setting_parse/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "1G" - } - } - ] -} diff --git a/parser/testdata/01040_distributed_background_insert_batch_inserts/ast.json b/parser/testdata/01040_distributed_background_insert_batch_inserts/ast.json deleted file mode 100644 index a099110a92..0000000000 --- a/parser/testdata/01040_distributed_background_insert_batch_inserts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01040", - "tables": [ - { - "table": "test_01040" - } - ] -} diff --git a/parser/testdata/01040_h3_get_resolution/ast.json b/parser/testdata/01040_h3_get_resolution/ast.json deleted file mode 100644 index 27aa3a005c..0000000000 --- a/parser/testdata/01040_h3_get_resolution/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3GetResolution", - "arguments": [ - { - "type": "Integer", - "value": 581276613233082367 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01041_h3_is_valid/ast.json b/parser/testdata/01041_h3_is_valid/ast.json deleted file mode 100644 index b1f1fc15e8..0000000000 --- a/parser/testdata/01041_h3_is_valid/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3IsValid", - "arguments": [ - { - "type": "Integer", - "value": 581276613233082367 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01042_check_query_and_last_granule_size/ast.json b/parser/testdata/01042_check_query_and_last_granule_size/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/01042_check_query_and_last_granule_size/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01042_h3_k_ring/ast.json b/parser/testdata/01042_h3_k_ring/ast.json deleted file mode 100644 index 70730c4b94..0000000000 --- a/parser/testdata/01042_h3_k_ring/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySort", - "arguments": [ - { - "name": "h3kRing", - "arguments": [ - { - "type": "Integer", - "value": 581276613233082367 - }, - { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01043_geo_distance/ast.json b/parser/testdata/01043_geo_distance/ast.json deleted file mode 100644 index 8b865b485c..0000000000 --- a/parser/testdata/01043_geo_distance/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "geo_distance_returns_float64_on_float64_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01043_h3_edge_length_m/ast.json b/parser/testdata/01043_h3_edge_length_m/ast.json deleted file mode 100644 index e2eddd6b12..0000000000 --- a/parser/testdata/01043_h3_edge_length_m/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3EdgeLengthM", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01044_great_circle_angle/ast.json b/parser/testdata/01044_great_circle_angle/ast.json deleted file mode 100644 index f1c41e9d0d..0000000000 --- a/parser/testdata/01044_great_circle_angle/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "lat", - "query": { - "left": { - "parts": [ - "number" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 90 - } - } - } - ], - "distinct": true, - "columns": [ - { - "left": { - "name": "greatCircleAngle", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "parts": [ - "lat" - ] - } - ] - }, - "op": "=", - "right": { - "name": "abs", - "arguments": [ - { - "parts": [ - "lat" - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 180 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01044_h3_edge_angle/ast.json b/parser/testdata/01044_h3_edge_angle/ast.json deleted file mode 100644 index 9c6e53962b..0000000000 --- a/parser/testdata/01044_h3_edge_angle/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3EdgeAngle", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01045_array_zip/ast.json b/parser/testdata/01045_array_zip/ast.json deleted file mode 100644 index aca5df3854..0000000000 --- a/parser/testdata/01045_array_zip/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayZip", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - }, - { - "type": "String", - "value": "c" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "d" - }, - { - "type": "String", - "value": "e" - }, - { - "type": "String", - "value": "f" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01045_bloom_filter_null_array/ast.json b/parser/testdata/01045_bloom_filter_null_array/ast.json deleted file mode 100644 index 407a2afd21..0000000000 --- a/parser/testdata/01045_bloom_filter_null_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_null_array", - "tables": [ - { - "table": "bloom_filter_null_array" - } - ] -} diff --git a/parser/testdata/01046_materialized_view_with_join_over_distributed/ast.json b/parser/testdata/01046_materialized_view_with_join_over_distributed/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/01046_materialized_view_with_join_over_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01046_trivial_count_query_distributed/ast.json b/parser/testdata/01046_trivial_count_query_distributed/ast.json deleted file mode 100644 index d8166aa655..0000000000 --- a/parser/testdata/01046_trivial_count_query_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_count", - "tables": [ - { - "table": "test_count" - } - ] -} diff --git a/parser/testdata/01047_no_alias_columns_with_table_aliases/ast.json b/parser/testdata/01047_no_alias_columns_with_table_aliases/ast.json deleted file mode 100644 index 59e7db6918..0000000000 --- a/parser/testdata/01047_no_alias_columns_with_table_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "requests", - "tables": [ - { - "table": "requests" - } - ] -} diff --git a/parser/testdata/01047_nullable_rand/ast.json b/parser/testdata/01047_nullable_rand/ast.json deleted file mode 100644 index 1598f3b298..0000000000 --- a/parser/testdata/01047_nullable_rand/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "rand", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 4 - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/ast.json b/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/ast.json deleted file mode 100644 index 3737e4b34b..0000000000 --- a/parser/testdata/01047_simple_aggregate_sizes_of_columns_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "column_size_bug", - "tables": [ - { - "table": "column_size_bug" - } - ] -} diff --git a/parser/testdata/01049_join_low_card_crash/ast.json b/parser/testdata/01049_join_low_card_crash/ast.json deleted file mode 100644 index 21ca0b8a13..0000000000 --- a/parser/testdata/01049_join_low_card_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Alpha", - "tables": [ - { - "table": "Alpha" - } - ] -} diff --git a/parser/testdata/01049_window_view_window_functions/ast.json b/parser/testdata/01049_window_view_window_functions/ast.json deleted file mode 100644 index 633d6c6528..0000000000 --- a/parser/testdata/01049_window_view_window_functions/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tumble", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-09 12:00:01" - }, - { - "type": "String", - "value": "US/Samoa" - } - ] - }, - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - }, - { - "type": "String", - "value": "US/Samoa" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01049_zookeeper_synchronous_mutations_long/ast.json b/parser/testdata/01049_zookeeper_synchronous_mutations_long/ast.json deleted file mode 100644 index 0ab818b603..0000000000 --- a/parser/testdata/01049_zookeeper_synchronous_mutations_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_synchronous_mutations1", - "tables": [ - { - "table": "table_for_synchronous_mutations1" - } - ] -} diff --git a/parser/testdata/01050_engine_join_crash/ast.json b/parser/testdata/01050_engine_join_crash/ast.json deleted file mode 100644 index df94746b7e..0000000000 --- a/parser/testdata/01050_engine_join_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testJoinTable", - "tables": [ - { - "table": "testJoinTable" - } - ] -} diff --git a/parser/testdata/01050_engine_join_view_crash/ast.json b/parser/testdata/01050_engine_join_view_crash/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/01050_engine_join_view_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/01050_group_array_sample/ast.json b/parser/testdata/01050_group_array_sample/ast.json deleted file mode 100644 index 9a6bfc62ae..0000000000 --- a/parser/testdata/01050_group_array_sample/ast.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "groupArraySample", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 123456 - } - ], - "arguments": [ - { - "parts": [ - "v" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 4 - } - }, - "alias": "k" - }, - { - "parts": [ - "number" - ], - "alias": "v" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1024 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01051_aggregate_function_crash/ast.json b/parser/testdata/01051_aggregate_function_crash/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/01051_aggregate_function_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01051_all_join_engine/ast.json b/parser/testdata/01051_all_join_engine/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01051_all_join_engine/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01051_new_any_join_engine/ast.json b/parser/testdata/01051_new_any_join_engine/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01051_new_any_join_engine/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01051_random_printable_ascii/ast.json b/parser/testdata/01051_random_printable_ascii/ast.json deleted file mode 100644 index 2fa62a0bf7..0000000000 --- a/parser/testdata/01051_random_printable_ascii/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "randomPrintableASCII", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01051_same_name_alias_with_joins/ast.json b/parser/testdata/01051_same_name_alias_with_joins/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/01051_same_name_alias_with_joins/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/01052_array_reduce_exception/ast.json b/parser/testdata/01052_array_reduce_exception/ast.json deleted file mode 100644 index f885140636..0000000000 --- a/parser/testdata/01052_array_reduce_exception/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "aggThrow(0.0001)" - }, - { - "name": "range", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01053_drop_database_mat_view/ast.json b/parser/testdata/01053_drop_database_mat_view/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01053_drop_database_mat_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01053_if_chain_check/ast.json b/parser/testdata/01053_if_chain_check/ast.json deleted file mode 100644 index 33c95848ed..0000000000 --- a/parser/testdata/01053_if_chain_check/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_parser_depth", - "value": { - "type": "Integer", - "value": 4000 - } - } - ] -} diff --git a/parser/testdata/01054_cache_dictionary_overflow_cell/ast.json b/parser/testdata/01054_cache_dictionary_overflow_cell/ast.json deleted file mode 100644 index 4e8fba1245..0000000000 --- a/parser/testdata/01054_cache_dictionary_overflow_cell/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_01054_overflow", - "create_database": true -} diff --git a/parser/testdata/01055_compact_parts/ast.json b/parser/testdata/01055_compact_parts/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/01055_compact_parts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01055_prewhere_bugs/ast.json b/parser/testdata/01055_prewhere_bugs/ast.json deleted file mode 100644 index 627930549e..0000000000 --- a/parser/testdata/01055_prewhere_bugs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_prewhere_default_column", - "tables": [ - { - "table": "test_prewhere_default_column" - } - ] -} diff --git a/parser/testdata/01056_create_table_as/ast.json b/parser/testdata/01056_create_table_as/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01056_create_table_as/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01056_create_table_as_with_sorting_clauses/ast.json b/parser/testdata/01056_create_table_as_with_sorting_clauses/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01056_create_table_as_with_sorting_clauses/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01056_negative_with_bloom_filter/ast.json b/parser/testdata/01056_negative_with_bloom_filter/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01056_negative_with_bloom_filter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01056_predicate_optimizer_bugs/ast.json b/parser/testdata/01056_predicate_optimizer_bugs/ast.json deleted file mode 100644 index eb99a02f24..0000000000 --- a/parser/testdata/01056_predicate_optimizer_bugs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01060_defaults_all_columns/ast.json b/parser/testdata/01060_defaults_all_columns/ast.json deleted file mode 100644 index 75aaabe3dd..0000000000 --- a/parser/testdata/01060_defaults_all_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults_all_columns", - "tables": [ - { - "table": "defaults_all_columns" - } - ] -} diff --git a/parser/testdata/01060_shutdown_table_after_detach/ast.json b/parser/testdata/01060_shutdown_table_after_detach/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01060_shutdown_table_after_detach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01061_alter_codec_with_type/ast.json b/parser/testdata/01061_alter_codec_with_type/ast.json deleted file mode 100644 index 122e551caf..0000000000 --- a/parser/testdata/01061_alter_codec_with_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_bug", - "tables": [ - { - "table": "alter_bug" - } - ] -} diff --git a/parser/testdata/01062_alter_on_mutataion_zookeeper_long/ast.json b/parser/testdata/01062_alter_on_mutataion_zookeeper_long/ast.json deleted file mode 100644 index b68a9be41a..0000000000 --- a/parser/testdata/01062_alter_on_mutataion_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_on_mutation", - "tables": [ - { - "table": "test_alter_on_mutation" - } - ] -} diff --git a/parser/testdata/01062_pm_all_join_with_block_continuation/ast.json b/parser/testdata/01062_pm_all_join_with_block_continuation/ast.json deleted file mode 100644 index 46947b23c1..0000000000 --- a/parser/testdata/01062_pm_all_join_with_block_continuation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 50000000 - } - } - ] -} diff --git a/parser/testdata/01062_pm_multiple_all_join_same_value/ast.json b/parser/testdata/01062_pm_multiple_all_join_same_value/ast.json deleted file mode 100644 index 46947b23c1..0000000000 --- a/parser/testdata/01062_pm_multiple_all_join_same_value/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 50000000 - } - } - ] -} diff --git a/parser/testdata/01063_create_column_set/ast.json b/parser/testdata/01063_create_column_set/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/01063_create_column_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/01064_arrayROCAUC/ast.json b/parser/testdata/01064_arrayROCAUC/ast.json deleted file mode 100644 index 043b1a8f60..0000000000 --- a/parser/testdata/01064_arrayROCAUC/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayROCAUC", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Float", - "value": 0.4 - }, - { - "type": "Float", - "value": 0.35 - }, - { - "type": "Float", - "value": 0.8 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/ast.json b/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01064_incremental_streaming_from_2_src_with_feedback/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01064_pm_all_join_const_and_nullable/ast.json b/parser/testdata/01064_pm_all_join_const_and_nullable/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/01064_pm_all_join_const_and_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/01065_array_zip_mixed_const/ast.json b/parser/testdata/01065_array_zip_mixed_const/ast.json deleted file mode 100644 index 1175f5b678..0000000000 --- a/parser/testdata/01065_array_zip_mixed_const/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayZip", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01065_if_not_finite/ast.json b/parser/testdata/01065_if_not_finite/ast.json deleted file mode 100644 index 1b045e5697..0000000000 --- a/parser/testdata/01065_if_not_finite/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ifNotFinite", - "arguments": [ - { - "name": "round", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "/", - "right": { - "parts": [ - "number" - ] - } - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Integer", - "value": 111 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01066_bit_count/ast.json b/parser/testdata/01066_bit_count/ast.json deleted file mode 100644 index 16de40db32..0000000000 --- a/parser/testdata/01066_bit_count/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitCount", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01067_join_null/ast.json b/parser/testdata/01067_join_null/ast.json deleted file mode 100644 index 280e39e068..0000000000 --- a/parser/testdata/01067_join_null/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "id" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "id" - } - ] - }, - { - "columns": [ - { - "type": "Null", - "value": null - } - ] - }, - { - "columns": [ - { - "type": "Null", - "value": null - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] - } - }, - "alias": "js1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "id" - } - ] - }, - { - "columns": [ - { - "type": "Null", - "value": null - } - ] - }, - { - "columns": [ - { - "type": "Null", - "value": null - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL" - ] - } - }, - "alias": "js2" - }, - "join": { - "type": "FULL", - "strictness": "ALL", - "using": [ - { - "parts": [ - "id" - ] - } - ] - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "id" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01068_parens/ast.json b/parser/testdata/01068_parens/ast.json deleted file mode 100644 index a7d243a7ff..0000000000 --- a/parser/testdata/01068_parens/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_parser_depth", - "value": { - "type": "Integer", - "value": 10000 - } - } - ] -} diff --git a/parser/testdata/01069_database_memory/ast.json b/parser/testdata/01069_database_memory/ast.json deleted file mode 100644 index 21b83b4423..0000000000 --- a/parser/testdata/01069_database_memory/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "memory_01069", - "drop_database": true -} diff --git a/parser/testdata/01069_insert_float_as_nullable_unit8/ast.json b/parser/testdata/01069_insert_float_as_nullable_unit8/ast.json deleted file mode 100644 index 58ac765546..0000000000 --- a/parser/testdata/01069_insert_float_as_nullable_unit8/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "temporary": true, - "table": "t1", - "columns": [ - { - "name": "a", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/01069_materialized_view_alter_target_table/ast.json b/parser/testdata/01069_materialized_view_alter_target_table/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/01069_materialized_view_alter_target_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/ast.json b/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/01069_materialized_view_alter_target_table_with_default_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/01069_set_in_group_by/ast.json b/parser/testdata/01069_set_in_group_by/ast.json deleted file mode 100644 index 6603409a5d..0000000000 --- a/parser/testdata/01069_set_in_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testmt", - "tables": [ - { - "table": "testmt" - } - ] -} diff --git a/parser/testdata/01070_alter_with_ttl/ast.json b/parser/testdata/01070_alter_with_ttl/ast.json deleted file mode 100644 index 41fda96f44..0000000000 --- a/parser/testdata/01070_alter_with_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_ttl", - "tables": [ - { - "table": "alter_ttl" - } - ] -} diff --git a/parser/testdata/01070_exception_code_in_query_log_table/ast.json b/parser/testdata/01070_exception_code_in_query_log_table/ast.json deleted file mode 100644 index 9cae18b04d..0000000000 --- a/parser/testdata/01070_exception_code_in_query_log_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_for_01070_exception_code_in_query_log_table", - "tables": [ - { - "table": "test_table_for_01070_exception_code_in_query_log_table" - } - ] -} diff --git a/parser/testdata/01070_h3_get_base_cell/ast.json b/parser/testdata/01070_h3_get_base_cell/ast.json deleted file mode 100644 index ec52e7f432..0000000000 --- a/parser/testdata/01070_h3_get_base_cell/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3GetBaseCell", - "arguments": [ - { - "type": "Integer", - "value": 612916788725809151 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_h3_hex_area_m2/ast.json b/parser/testdata/01070_h3_hex_area_m2/ast.json deleted file mode 100644 index c32055ef20..0000000000 --- a/parser/testdata/01070_h3_hex_area_m2/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3HexAreaM2", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_h3_indexes_are_neighbors/ast.json b/parser/testdata/01070_h3_indexes_are_neighbors/ast.json deleted file mode 100644 index 942296f4aa..0000000000 --- a/parser/testdata/01070_h3_indexes_are_neighbors/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3IndexesAreNeighbors", - "arguments": [ - { - "type": "Integer", - "value": 617420388352917503 - }, - { - "type": "Integer", - "value": 617420388352655359 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_h3_to_children/ast.json b/parser/testdata/01070_h3_to_children/ast.json deleted file mode 100644 index 8c0ec745d5..0000000000 --- a/parser/testdata/01070_h3_to_children/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToChildren", - "arguments": [ - { - "type": "Integer", - "value": 599405990164561919 - }, - { - "type": "Integer", - "value": 16 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_h3_to_parent/ast.json b/parser/testdata/01070_h3_to_parent/ast.json deleted file mode 100644 index 6bda6c3000..0000000000 --- a/parser/testdata/01070_h3_to_parent/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToParent", - "arguments": [ - { - "type": "Integer", - "value": 599405990164561919 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_h3_to_string/ast.json b/parser/testdata/01070_h3_to_string/ast.json deleted file mode 100644 index c403872269..0000000000 --- a/parser/testdata/01070_h3_to_string/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToString", - "arguments": [ - { - "type": "Integer", - "value": 617420388352917503 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_materialize_ttl/ast.json b/parser/testdata/01070_materialize_ttl/ast.json deleted file mode 100644 index f944e58de5..0000000000 --- a/parser/testdata/01070_materialize_ttl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_ttl_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01070_modify_ttl/ast.json b/parser/testdata/01070_modify_ttl/ast.json deleted file mode 100644 index f944e58de5..0000000000 --- a/parser/testdata/01070_modify_ttl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_ttl_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01070_modify_ttl_recalc_only/ast.json b/parser/testdata/01070_modify_ttl_recalc_only/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/01070_modify_ttl_recalc_only/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01070_mutations_with_dependencies/ast.json b/parser/testdata/01070_mutations_with_dependencies/ast.json deleted file mode 100644 index 463cbbb397..0000000000 --- a/parser/testdata/01070_mutations_with_dependencies/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl", - "tables": [ - { - "table": "ttl" - } - ] -} diff --git a/parser/testdata/01070_string_to_h3/ast.json b/parser/testdata/01070_string_to_h3/ast.json deleted file mode 100644 index 4fdbd60558..0000000000 --- a/parser/testdata/01070_string_to_h3/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "stringToH3", - "arguments": [ - { - "type": "String", - "value": "89184926cc3ffff" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01070_to_decimal_or_null_exception/ast.json b/parser/testdata/01070_to_decimal_or_null_exception/ast.json deleted file mode 100644 index 55b3d4e64b..0000000000 --- a/parser/testdata/01070_to_decimal_or_null_exception/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "String", - "value": "e" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01071_force_optimize_skip_unused_shards/ast.json b/parser/testdata/01071_force_optimize_skip_unused_shards/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01071_force_optimize_skip_unused_shards/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01071_in_array/ast.json b/parser/testdata/01071_in_array/ast.json deleted file mode 100644 index 640ec59719..0000000000 --- a/parser/testdata/01071_in_array/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "list": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/ast.json b/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/01071_prohibition_secondary_index_with_old_format_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01072_drop_temporary_table_with_same_name/ast.json b/parser/testdata/01072_drop_temporary_table_with_same_name/ast.json deleted file mode 100644 index 9e7fc783de..0000000000 --- a/parser/testdata/01072_drop_temporary_table_with_same_name/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "table_to_drop", - "tables": [ - { - "table": "table_to_drop" - } - ], - "temporary": true -} diff --git a/parser/testdata/01072_json_each_row_data_in_square_brackets/ast.json b/parser/testdata/01072_json_each_row_data_in_square_brackets/ast.json deleted file mode 100644 index 8ebe3d63c3..0000000000 --- a/parser/testdata/01072_json_each_row_data_in_square_brackets/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "json_square_brackets", - "tables": [ - { - "table": "json_square_brackets" - } - ] -} diff --git a/parser/testdata/01072_nullable_jit/ast.json b/parser/testdata/01072_nullable_jit/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/01072_nullable_jit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/ast.json b/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/ast.json deleted file mode 100644 index f261c7a18f..0000000000 --- a/parser/testdata/01072_optimize_skip_unused_shards_const_expr_eval/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01072", - "tables": [ - { - "table": "data_01072" - } - ] -} diff --git a/parser/testdata/01072_select_constant_limit/ast.json b/parser/testdata/01072_select_constant_limit/ast.json deleted file mode 100644 index d25f313c4f..0000000000 --- a/parser/testdata/01072_select_constant_limit/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 42 - }, - "alias": "foo" - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "foo" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01073_attach_if_not_exists/ast.json b/parser/testdata/01073_attach_if_not_exists/ast.json deleted file mode 100644 index e9c8f79a2b..0000000000 --- a/parser/testdata/01073_attach_if_not_exists/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "aine", - "columns": [ - { - "name": "a", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Log" - } -} diff --git a/parser/testdata/01073_bad_alter_partition/ast.json b/parser/testdata/01073_bad_alter_partition/ast.json deleted file mode 100644 index 1d5f9ced5f..0000000000 --- a/parser/testdata/01073_bad_alter_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree", - "tables": [ - { - "table": "merge_tree" - } - ] -} diff --git a/parser/testdata/01073_blockSerializedSize/ast.json b/parser/testdata/01073_blockSerializedSize/ast.json deleted file mode 100644 index 56f14b7912..0000000000 --- a/parser/testdata/01073_blockSerializedSize/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "UInt8" - }, - { - "name": "blockSerializedSize", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01073_crlf_end_of_line/ast.json b/parser/testdata/01073_crlf_end_of_line/ast.json deleted file mode 100644 index ef062fd3e2..0000000000 --- a/parser/testdata/01073_crlf_end_of_line/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01073_crlf_end_of_line", - "tables": [ - { - "table": "test_01073_crlf_end_of_line" - } - ] -} diff --git a/parser/testdata/01073_show_tables_not_like/ast.json b/parser/testdata/01073_show_tables_not_like/ast.json deleted file mode 100644 index 120be720a0..0000000000 --- a/parser/testdata/01073_show_tables_not_like/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "show_type": "TABLES", - "like": "!%" -} diff --git a/parser/testdata/01074_h3_range_check/ast.json b/parser/testdata/01074_h3_range_check/ast.json deleted file mode 100644 index 2858c3ed83..0000000000 --- a/parser/testdata/01074_h3_range_check/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3EdgeLengthM", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01074_partial_revokes/ast.json b/parser/testdata/01074_partial_revokes/ast.json deleted file mode 100644 index 8a0616f39d..0000000000 --- a/parser/testdata/01074_partial_revokes/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "test_user_01074" -} diff --git a/parser/testdata/01075_allowed_client_hosts/ast.json b/parser/testdata/01075_allowed_client_hosts/ast.json deleted file mode 100644 index f2e108fc44..0000000000 --- a/parser/testdata/01075_allowed_client_hosts/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_exists": true, - "tables": [ - { - "table": "test_user_01075_x" - }, - { - "table": "test_user_01075_x@localhost" - }, - { - "table": "test_user_01075_x@192.168.23.15" - } - ], - "user": "test_user_01075" -} diff --git a/parser/testdata/01075_in_arrays_enmk/ast.json b/parser/testdata/01075_in_arrays_enmk/ast.json deleted file mode 100644 index 068534f425..0000000000 --- a/parser/testdata/01075_in_arrays_enmk/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "list": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01076_array_join_prewhere_const_folding/ast.json b/parser/testdata/01076_array_join_prewhere_const_folding/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01076_array_join_prewhere_const_folding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01076_predicate_optimizer_with_view/ast.json b/parser/testdata/01076_predicate_optimizer_with_view/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01076_predicate_optimizer_with_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01076_range_reader_segfault/ast.json b/parser/testdata/01076_range_reader_segfault/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01076_range_reader_segfault/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01077_yet_another_prewhere_test/ast.json b/parser/testdata/01077_yet_another_prewhere_test/ast.json deleted file mode 100644 index bd8762d002..0000000000 --- a/parser/testdata/01077_yet_another_prewhere_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t50", - "tables": [ - { - "table": "t50" - } - ] -} diff --git a/parser/testdata/01078_bloom_filter_operator_not_has/ast.json b/parser/testdata/01078_bloom_filter_operator_not_has/ast.json deleted file mode 100644 index 33ef339040..0000000000 --- a/parser/testdata/01078_bloom_filter_operator_not_has/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_not_has", - "tables": [ - { - "table": "bloom_filter_not_has" - } - ] -} diff --git a/parser/testdata/01078_merge_tree_read_one_thread/ast.json b/parser/testdata/01078_merge_tree_read_one_thread/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01078_merge_tree_read_one_thread/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01079_alter_default_zookeeper_long/ast.json b/parser/testdata/01079_alter_default_zookeeper_long/ast.json deleted file mode 100644 index 7dcd3fb332..0000000000 --- a/parser/testdata/01079_alter_default_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_default", - "tables": [ - { - "table": "alter_default" - } - ] -} diff --git a/parser/testdata/01079_bit_operations_using_bitset/ast.json b/parser/testdata/01079_bit_operations_using_bitset/ast.json deleted file mode 100644 index 0a77ef2b3e..0000000000 --- a/parser/testdata/01079_bit_operations_using_bitset/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "IPv6NumToString", - "arguments": [ - { - "name": "bitAnd", - "arguments": [ - { - "name": "IPv6StringToNum", - "arguments": [ - { - "type": "String", - "value": "2001:0db8:85a3:8d3a:b2da:8a2e:0370:7334" - } - ] - }, - { - "name": "IPv6StringToNum", - "arguments": [ - { - "type": "String", - "value": "ffff:ffff:ffff:0000:0000:0000:0000:0000" - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/01079_new_range_reader_segfault/ast.json b/parser/testdata/01079_new_range_reader_segfault/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01079_new_range_reader_segfault/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01079_order_by_pk/ast.json b/parser/testdata/01079_order_by_pk/ast.json deleted file mode 100644 index 56fba58fa1..0000000000 --- a/parser/testdata/01079_order_by_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt_pk", - "tables": [ - { - "table": "mt_pk" - } - ] -} diff --git a/parser/testdata/01079_reinterpret_as_fixed_string/ast.json b/parser/testdata/01079_reinterpret_as_fixed_string/ast.json deleted file mode 100644 index 828df48750..0000000000 --- a/parser/testdata/01079_reinterpret_as_fixed_string/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "reinterpretAsFixedString", - "arguments": [ - { - "type": "Integer", - "value": 3735928559 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/ast.json b/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/ast.json deleted file mode 100644 index a364021257..0000000000 --- a/parser/testdata/01080_engine_merge_prewhere_tupleelement_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "A1", - "tables": [ - { - "table": "A1" - } - ] -} diff --git a/parser/testdata/01080_join_get_null/ast.json b/parser/testdata/01080_join_get_null/ast.json deleted file mode 100644 index 6ece98ae8f..0000000000 --- a/parser/testdata/01080_join_get_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_joinGet", - "tables": [ - { - "table": "test_joinGet" - } - ] -} diff --git a/parser/testdata/01081_PartialSortingTransform_full_column/ast.json b/parser/testdata/01081_PartialSortingTransform_full_column/ast.json deleted file mode 100644 index 47d02ea035..0000000000 --- a/parser/testdata/01081_PartialSortingTransform_full_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01081", - "tables": [ - { - "table": "test_01081" - } - ] -} diff --git a/parser/testdata/01081_demangle/ast.json b/parser/testdata/01081_demangle/ast.json deleted file mode 100644 index d9d340af2b..0000000000 --- a/parser/testdata/01081_demangle/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01081_keywords_formatting/ast.json b/parser/testdata/01081_keywords_formatting/ast.json deleted file mode 100644 index 524d18bf39..0000000000 --- a/parser/testdata/01081_keywords_formatting/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "interval" - }, - "op": "+", - "right": { - "parts": [ - "interval" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01082_bit_test_out_of_bound/ast.json b/parser/testdata/01082_bit_test_out_of_bound/ast.json deleted file mode 100644 index 608b69bcc8..0000000000 --- a/parser/testdata/01082_bit_test_out_of_bound/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- bitTestAny" - } - ] - } - ] -} diff --git a/parser/testdata/01083_aggregation_memory_efficient_bug/ast.json b/parser/testdata/01083_aggregation_memory_efficient_bug/ast.json deleted file mode 100644 index 384f1b8633..0000000000 --- a/parser/testdata/01083_aggregation_memory_efficient_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "da_memory_efficient_shard", - "tables": [ - { - "table": "da_memory_efficient_shard" - } - ] -} diff --git a/parser/testdata/01083_cross_to_inner_with_in_bug/ast.json b/parser/testdata/01083_cross_to_inner_with_in_bug/ast.json deleted file mode 100644 index 62e5dbe984..0000000000 --- a/parser/testdata/01083_cross_to_inner_with_in_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ax", - "tables": [ - { - "table": "ax" - } - ] -} diff --git a/parser/testdata/01083_cross_to_inner_with_like/ast.json b/parser/testdata/01083_cross_to_inner_with_like/ast.json deleted file mode 100644 index f9c52246f2..0000000000 --- a/parser/testdata/01083_cross_to_inner_with_like/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01083_expressions_in_engine_arguments/ast.json b/parser/testdata/01083_expressions_in_engine_arguments/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01083_expressions_in_engine_arguments/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01083_functional_index_in_mergetree/ast.json b/parser/testdata/01083_functional_index_in_mergetree/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/01083_functional_index_in_mergetree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01083_log_first_column_alias/ast.json b/parser/testdata/01083_log_first_column_alias/ast.json deleted file mode 100644 index 8fcc438353..0000000000 --- a/parser/testdata/01083_log_first_column_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alias", - "tables": [ - { - "table": "test_alias" - } - ] -} diff --git a/parser/testdata/01083_match_zero_byte/ast.json b/parser/testdata/01083_match_zero_byte/ast.json deleted file mode 100644 index 2d83d46a62..0000000000 --- a/parser/testdata/01083_match_zero_byte/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "a key=\"v\" " - }, - { - "type": "String", - "value": "key=\"(.*?)\"" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01084_defaults_on_aliases/ast.json b/parser/testdata/01084_defaults_on_aliases/ast.json deleted file mode 100644 index 5ecf8e79a2..0000000000 --- a/parser/testdata/01084_defaults_on_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_defaults_on_aliases", - "tables": [ - { - "table": "table_with_defaults_on_aliases" - } - ] -} diff --git a/parser/testdata/01085_datetime_arithmetic_preserve_timezone/ast.json b/parser/testdata/01085_datetime_arithmetic_preserve_timezone/ast.json deleted file mode 100644 index c0a40a8854..0000000000 --- a/parser/testdata/01085_datetime_arithmetic_preserve_timezone/ast.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-01 00:00:00" - }, - { - "type": "String", - "value": "UTC" - } - ], - "alias": "t" - }, - { - "left": { - "parts": [ - "t" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "name": "toDate", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "parts": [ - "t" - ] - }, - "op": "+", - "right": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - } - }, - { - "left": { - "parts": [ - "t" - ] - }, - "op": "+", - "right": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "DAY" - } - }, - { - "name": "toTypeName", - "arguments": [ - { - "left": { - "parts": [ - "t" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "expr": { - "left": { - "name": "toDateTime64", - "arguments": [ - { - "parts": [ - "t" - ] - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "alias": "dt64" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "dt64" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01085_extract_all_empty/ast.json b/parser/testdata/01085_extract_all_empty/ast.json deleted file mode 100644 index 508f5bd361..0000000000 --- a/parser/testdata/01085_extract_all_empty/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractAll", - "arguments": [ - { - "type": "String", - "value": "\u0000" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01086_modulo_or_zero/ast.json b/parser/testdata/01086_modulo_or_zero/ast.json deleted file mode 100644 index ee23a205ac..0000000000 --- a/parser/testdata/01086_modulo_or_zero/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "moduloOrZero", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/01087_index_set_ubsan/ast.json b/parser/testdata/01087_index_set_ubsan/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01087_index_set_ubsan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01087_storage_generate/ast.json b/parser/testdata/01087_storage_generate/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01087_storage_generate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01088_array_slice_of_aggregate_functions/ast.json b/parser/testdata/01088_array_slice_of_aggregate_functions/ast.json deleted file mode 100644 index 028e6f7138..0000000000 --- a/parser/testdata/01088_array_slice_of_aggregate_functions/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySlice", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "uniqState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01089_alter_settings_old_format/ast.json b/parser/testdata/01089_alter_settings_old_format/ast.json deleted file mode 100644 index f9c63803c8..0000000000 --- a/parser/testdata/01089_alter_settings_old_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "old_format_mt", - "tables": [ - { - "table": "old_format_mt" - } - ] -} diff --git a/parser/testdata/01090_fixed_string_bit_ops/ast.json b/parser/testdata/01090_fixed_string_bit_ops/ast.json deleted file mode 100644 index 30fa6a89af..0000000000 --- a/parser/testdata/01090_fixed_string_bit_ops/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "bitXor", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "abc" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - }, - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "\u0000\u0001\u0002" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/ast.json b/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/ast.json deleted file mode 100644 index b4771f80ad..0000000000 --- a/parser/testdata/01090_zookeeper_mutations_and_insert_quorum_long/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "mutations_and_quorum1", - "tables": [ - { - "table": "mutations_and_quorum1" - } - ], - "sync": true -} diff --git a/parser/testdata/01091_insert_with_default_json/ast.json b/parser/testdata/01091_insert_with_default_json/ast.json deleted file mode 100644 index a53ce0f323..0000000000 --- a/parser/testdata/01091_insert_with_default_json/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_complex_default", - "tables": [ - { - "table": "table_with_complex_default" - } - ] -} diff --git a/parser/testdata/01091_num_threads/ast.json b/parser/testdata/01091_num_threads/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01091_num_threads/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01091_query_profiler_does_not_hang/ast.json b/parser/testdata/01091_query_profiler_does_not_hang/ast.json deleted file mode 100644 index f6dfae0503..0000000000 --- a/parser/testdata/01091_query_profiler_does_not_hang/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "query_profiler_cpu_time_period_ns", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01092_memory_profiler/ast.json b/parser/testdata/01092_memory_profiler/ast.json deleted file mode 100644 index d9d340af2b..0000000000 --- a/parser/testdata/01092_memory_profiler/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01093_cyclic_defaults_filimonov/ast.json b/parser/testdata/01093_cyclic_defaults_filimonov/ast.json deleted file mode 100644 index 0f59470745..0000000000 --- a/parser/testdata/01093_cyclic_defaults_filimonov/ast.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "a0", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "a1" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "DEFAULT" - }, - { - "name": "a1", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "a0" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "DEFAULT" - }, - { - "name": "a2", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "a3" - ] - }, - "op": "+", - "right": { - "parts": [ - "a4" - ] - } - }, - "default_kind": "DEFAULT" - }, - { - "name": "a3", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "a2" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "DEFAULT" - }, - { - "name": "a4", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "a3" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "ALIAS" - } - ], - "engine": { - "name": "Log" - } -} diff --git a/parser/testdata/01095_tpch_like_smoke/ast.json b/parser/testdata/01095_tpch_like_smoke/ast.json deleted file mode 100644 index eacc6c9e9b..0000000000 --- a/parser/testdata/01095_tpch_like_smoke/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "part", - "tables": [ - { - "table": "part" - } - ] -} diff --git a/parser/testdata/01096_block_serialized_state/ast.json b/parser/testdata/01096_block_serialized_state/ast.json deleted file mode 100644 index 9396c9a7f1..0000000000 --- a/parser/testdata/01096_block_serialized_state/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "name": "blockSerializedSize", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01096_zeros/ast.json b/parser/testdata/01096_zeros/ast.json deleted file mode 100644 index d9a73bc003..0000000000 --- a/parser/testdata/01096_zeros/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "zero" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "zeros" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - }, - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 3 - } - } - ] - } - ] -} diff --git a/parser/testdata/01097_cyclic_defaults/ast.json b/parser/testdata/01097_cyclic_defaults/ast.json deleted file mode 100644 index a488392041..0000000000 --- a/parser/testdata/01097_cyclic_defaults/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_cyclic_defaults", - "tables": [ - { - "table": "table_with_cyclic_defaults" - } - ] -} diff --git a/parser/testdata/01097_one_more_range_reader_test/ast.json b/parser/testdata/01097_one_more_range_reader_test/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01097_one_more_range_reader_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01097_one_more_range_reader_test_wide_part/ast.json b/parser/testdata/01097_one_more_range_reader_test_wide_part/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01097_one_more_range_reader_test_wide_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01097_pre_limit/ast.json b/parser/testdata/01097_pre_limit/ast.json deleted file mode 100644 index 6dcf7ecfc6..0000000000 --- a/parser/testdata/01097_pre_limit/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers_mt" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1000000 - } - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01098_sum/ast.json b/parser/testdata/01098_sum/ast.json deleted file mode 100644 index 1f28f6af3a..0000000000 --- a/parser/testdata/01098_sum/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumKahan", - "arguments": [ - { - "parts": [ - "dummy" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{2,3}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01099_operators_date_and_timestamp/ast.json b/parser/testdata/01099_operators_date_and_timestamp/ast.json deleted file mode 100644 index b60926d3ca..0000000000 --- a/parser/testdata/01099_operators_date_and_timestamp/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - }, - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "MINUTE" - }, - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "HOUR" - } - ] - } - ] -} diff --git a/parser/testdata/01099_parallel_distributed_insert_select/ast.json b/parser/testdata/01099_parallel_distributed_insert_select/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01099_parallel_distributed_insert_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01100_split_by_string/ast.json b/parser/testdata/01100_split_by_string/ast.json deleted file mode 100644 index 451e206c24..0000000000 --- a/parser/testdata/01100_split_by_string/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "splitByString", - "arguments": [ - { - "type": "String", - "value": "ab" - }, - { - "type": "String", - "value": "cdeabcde" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01101_literal_column_clash/ast.json b/parser/testdata/01101_literal_column_clash/ast.json deleted file mode 100644 index 45a148c667..0000000000 --- a/parser/testdata/01101_literal_column_clash/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "String" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "iid" - } - ] - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "1" - }, - "alias": "sid" - } - ] - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "parts": [ - "t2", - "sid" - ] - }, - "op": "=", - "right": { - "expr": { - "parts": [ - "t1", - "iid" - ] - }, - "type": { - "name": "String" - } - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01101_prewhere_after_alter/ast.json b/parser/testdata/01101_prewhere_after_alter/ast.json deleted file mode 100644 index 802b6fda3e..0000000000 --- a/parser/testdata/01101_prewhere_after_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_a", - "tables": [ - { - "table": "test_a" - } - ] -} diff --git a/parser/testdata/01102_distributed_local_in_bug/ast.json b/parser/testdata/01102_distributed_local_in_bug/ast.json deleted file mode 100644 index 459262400d..0000000000 --- a/parser/testdata/01102_distributed_local_in_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hits", - "tables": [ - { - "table": "hits" - } - ] -} diff --git a/parser/testdata/01103_distributed_product_mode_local_column_renames/ast.json b/parser/testdata/01103_distributed_product_mode_local_column_renames/ast.json deleted file mode 100644 index 229bbd14e6..0000000000 --- a/parser/testdata/01103_distributed_product_mode_local_column_renames/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_01103", - "create_database": true -} diff --git a/parser/testdata/01104_distributed_numbers_test/ast.json b/parser/testdata/01104_distributed_numbers_test/ast.json deleted file mode 100644 index 84c644cf27..0000000000 --- a/parser/testdata/01104_distributed_numbers_test/ast.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 100 - } - } - }, - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 100 - } - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 2 - }, - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01104_distributed_one_test/ast.json b/parser/testdata/01104_distributed_one_test/ast.json deleted file mode 100644 index 2248bc9d61..0000000000 --- a/parser/testdata/01104_distributed_one_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "d_one", - "tables": [ - { - "table": "d_one" - } - ] -} diff --git a/parser/testdata/01104_fixed_string_like/ast.json b/parser/testdata/01104_fixed_string_like/ast.json deleted file mode 100644 index 30db7a9dbe..0000000000 --- a/parser/testdata/01104_fixed_string_like/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "arrayJoin", - "arguments": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ] - }, - "pattern": { - "type": "String", - "value": "hello" - } - } - ] - } - ] -} diff --git a/parser/testdata/01105_string_like/ast.json b/parser/testdata/01105_string_like/ast.json deleted file mode 100644 index 189557b4ae..0000000000 --- a/parser/testdata/01105_string_like/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - }, - "pattern": { - "type": "String", - "value": "hello" - } - } - ] - } - ] -} diff --git a/parser/testdata/01106_const_fixed_string_like/ast.json b/parser/testdata/01106_const_fixed_string_like/ast.json deleted file mode 100644 index c9ece6a9a0..0000000000 --- a/parser/testdata/01106_const_fixed_string_like/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "String", - "value": "hello" - }, - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - } - }, - "pattern": { - "type": "String", - "value": "hello" - } - } - ] - } - ] -} diff --git a/parser/testdata/01107_join_right_table_totals/ast.json b/parser/testdata/01107_join_right_table_totals/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01107_join_right_table_totals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01109_exchange_tables/ast.json b/parser/testdata/01109_exchange_tables/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01109_exchange_tables/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01109_inflating_cross_join/ast.json b/parser/testdata/01109_inflating_cross_join/ast.json deleted file mode 100644 index 38ef0828bb..0000000000 --- a/parser/testdata/01109_inflating_cross_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 16000000 - } - } - ] -} diff --git a/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/ast.json b/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/ast.json deleted file mode 100644 index 3061ad83f9..0000000000 --- a/parser/testdata/01109_sc0rp10_string_hash_map_zero_bytes/ast.json +++ /dev/null @@ -1,233 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count", - "arguments": [ - {} - ] - }, - "op": "=", - "right": { - "left": { - "left": { - "left": { - "type": "Integer", - "value": 18 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 18 - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 17 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 35 - } - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "key" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "with": [ - { - "name": "n", - "query": { - "type": "Integer", - "value": 18 - } - } - ], - "columns": [ - { - "expr": { - "left": { - "left": { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "\u0000" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "parts": [ - "n" - ] - } - } - ] - }, - "op": "||", - "right": { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "1" - }, - { - "left": { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "n" - ] - } - ] - }, - "op": "%", - "right": { - "parts": [ - "n" - ] - } - } - ] - } - }, - "op": "||", - "right": { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "\u0000" - }, - { - "left": { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "n" - ] - }, - "op": "*", - "right": { - "parts": [ - "n" - ] - } - } - ] - }, - "op": "%", - "right": { - "parts": [ - "n" - ] - } - } - ] - } - }, - "alias": "key" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "left": { - "left": { - "type": "Integer", - "value": 18 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 18 - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 18 - } - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "key" - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01110_dictionary_layout_without_arguments/ast.json b/parser/testdata/01110_dictionary_layout_without_arguments/ast.json deleted file mode 100644 index 3bbd30ba87..0000000000 --- a/parser/testdata/01110_dictionary_layout_without_arguments/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_for_dict", - "drop_database": true -} diff --git a/parser/testdata/01112_check_table_with_index/ast.json b/parser/testdata/01112_check_table_with_index/ast.json deleted file mode 100644 index 07c023c85d..0000000000 --- a/parser/testdata/01112_check_table_with_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "check_query_single_value_result", - "value": { - "type": "String", - "value": "false" - } - } - ] -} diff --git a/parser/testdata/01114_alter_modify_compact_parts/ast.json b/parser/testdata/01114_alter_modify_compact_parts/ast.json deleted file mode 100644 index 422ae36b92..0000000000 --- a/parser/testdata/01114_alter_modify_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt_compact", - "tables": [ - { - "table": "mt_compact" - } - ] -} diff --git a/parser/testdata/01114_clear_column_compact_parts/ast.json b/parser/testdata/01114_clear_column_compact_parts/ast.json deleted file mode 100644 index 3d952c896c..0000000000 --- a/parser/testdata/01114_clear_column_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "clear_column", - "tables": [ - { - "table": "clear_column" - } - ] -} diff --git a/parser/testdata/01114_materialize_clear_index_compact_parts/ast.json b/parser/testdata/01114_materialize_clear_index_compact_parts/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/01114_materialize_clear_index_compact_parts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01114_mysql_database_engine_segfault/ast.json b/parser/testdata/01114_mysql_database_engine_segfault/ast.json deleted file mode 100644 index 66133c4529..0000000000 --- a/parser/testdata/01114_mysql_database_engine_segfault/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "conv_main", - "drop_database": true -} diff --git a/parser/testdata/01115_join_with_dictionary/ast.json b/parser/testdata/01115_join_with_dictionary/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01115_join_with_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01115_prewhere_array_join/ast.json b/parser/testdata/01115_prewhere_array_join/ast.json deleted file mode 100644 index c47292d4dc..0000000000 --- a/parser/testdata/01115_prewhere_array_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere", - "tables": [ - { - "table": "prewhere" - } - ] -} diff --git a/parser/testdata/01116_asof_join_dolbyzerr/ast.json b/parser/testdata/01116_asof_join_dolbyzerr/ast.json deleted file mode 100644 index 9b708b7a21..0000000000 --- a/parser/testdata/01116_asof_join_dolbyzerr/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "temporary": true, - "table": "sessions", - "columns": [ - { - "name": "date", - "type": { - "name": "DateTime" - } - }, - { - "name": "visitorId", - "type": { - "name": "String" - } - }, - { - "name": "sessionId", - "type": { - "name": "String" - } - } - ] -} diff --git a/parser/testdata/01116_cross_count_asterisks/ast.json b/parser/testdata/01116_cross_count_asterisks/ast.json deleted file mode 100644 index a1544b4516..0000000000 --- a/parser/testdata/01116_cross_count_asterisks/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - }, - "alias": "n1" - } - }, - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "n2" - } - }, - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 4 - } - ] - }, - "alias": "n3" - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "n1", - "number" - ] - }, - "op": "=", - "right": { - "parts": [ - "n2", - "number" - ] - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "n2", - "number" - ] - }, - "op": "=", - "right": { - "parts": [ - "n3", - "number" - ] - } - } - } - } - ] -} diff --git a/parser/testdata/01117_comma_and_others_join_mix/ast.json b/parser/testdata/01117_comma_and_others_join_mix/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/01117_comma_and_others_join_mix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01118_is_constant/ast.json b/parser/testdata/01118_is_constant/ast.json deleted file mode 100644 index b849b1e335..0000000000 --- a/parser/testdata/01118_is_constant/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isConstant", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01119_optimize_trivial_insert_select/ast.json b/parser/testdata/01119_optimize_trivial_insert_select/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01119_optimize_trivial_insert_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01121_remote_scalar_subquery/ast.json b/parser/testdata/01121_remote_scalar_subquery/ast.json deleted file mode 100644 index b7cf690472..0000000000 --- a/parser/testdata/01121_remote_scalar_subquery/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01122_totals_rollup_having_block_header/ast.json b/parser/testdata/01122_totals_rollup_having_block_header/ast.json deleted file mode 100644 index f3baf7e07e..0000000000 --- a/parser/testdata/01122_totals_rollup_having_block_header/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rollup_having", - "tables": [ - { - "table": "rollup_having" - } - ] -} diff --git a/parser/testdata/01123_parse_date_time_best_effort_even_more/ast.json b/parser/testdata/01123_parse_date_time_best_effort_even_more/ast.json deleted file mode 100644 index 872d9cf5a1..0000000000 --- a/parser/testdata/01123_parse_date_time_best_effort_even_more/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTimeZone", - "arguments": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "type": "String", - "value": "Thu, 18 Aug 2018 07:22:16 GMT" - } - ] - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01124_view_bad_types/ast.json b/parser/testdata/01124_view_bad_types/ast.json deleted file mode 100644 index 9a6fef97b6..0000000000 --- a/parser/testdata/01124_view_bad_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "source_table", - "tables": [ - { - "table": "source_table" - } - ] -} diff --git a/parser/testdata/01125_dict_ddl_cannot_add_column/ast.json b/parser/testdata/01125_dict_ddl_cannot_add_column/ast.json deleted file mode 100644 index 770053bfa0..0000000000 --- a/parser/testdata/01125_dict_ddl_cannot_add_column/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "date_table", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt32" - } - }, - { - "name": "val", - "type": { - "name": "String" - } - }, - { - "name": "start", - "type": { - "name": "Date" - } - }, - { - "name": "end", - "type": { - "name": "Date" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01125_generate_random_qoega/ast.json b/parser/testdata/01125_generate_random_qoega/ast.json deleted file mode 100644 index 1c96aabd02..0000000000 --- a/parser/testdata/01125_generate_random_qoega/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mass_table_117", - "tables": [ - { - "table": "mass_table_117" - } - ] -} diff --git a/parser/testdata/01126_month_partitioning_consistent_code/ast.json b/parser/testdata/01126_month_partitioning_consistent_code/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/01126_month_partitioning_consistent_code/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/01127_month_partitioning_consistency_select/ast.json b/parser/testdata/01127_month_partitioning_consistency_select/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/01127_month_partitioning_consistency_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01128_generate_random_nested/ast.json b/parser/testdata/01128_generate_random_nested/ast.json deleted file mode 100644 index 0b3c2e8775..0000000000 --- a/parser/testdata/01128_generate_random_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mass_table_312", - "tables": [ - { - "table": "mass_table_312" - } - ] -} diff --git a/parser/testdata/01129_dict_get_join_lose_constness/ast.json b/parser/testdata/01129_dict_get_join_lose_constness/ast.json deleted file mode 100644 index 9f01a07845..0000000000 --- a/parser/testdata/01129_dict_get_join_lose_constness/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "if_exists": true, - "database": "system", - "table": "dict1", - "tables": [ - { - "database": "system", - "table": "dict1" - } - ] -} diff --git a/parser/testdata/01131_max_rows_to_sort/ast.json b/parser/testdata/01131_max_rows_to_sort/ast.json deleted file mode 100644 index a534ea790f..0000000000 --- a/parser/testdata/01131_max_rows_to_sort/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_sort", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/01132_max_rows_to_read/ast.json b/parser/testdata/01132_max_rows_to_read/ast.json deleted file mode 100644 index 19ecbb09e2..0000000000 --- a/parser/testdata/01132_max_rows_to_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "row_limits_test", - "tables": [ - { - "table": "row_limits_test" - } - ] -} diff --git a/parser/testdata/01134_max_rows_to_group_by/ast.json b/parser/testdata/01134_max_rows_to_group_by/ast.json deleted file mode 100644 index e6749a0a7b..0000000000 --- a/parser/testdata/01134_max_rows_to_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01134_set_overflow_mode/ast.json b/parser/testdata/01134_set_overflow_mode/ast.json deleted file mode 100644 index 4b590b3528..0000000000 --- a/parser/testdata/01134_set_overflow_mode/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/01135_default_and_alter_zookeeper/ast.json b/parser/testdata/01135_default_and_alter_zookeeper/ast.json deleted file mode 100644 index 78524b2d54..0000000000 --- a/parser/testdata/01135_default_and_alter_zookeeper/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "default_table", - "tables": [ - { - "table": "default_table" - } - ], - "sync": true -} diff --git a/parser/testdata/01136_multiple_sets/ast.json b/parser/testdata/01136_multiple_sets/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01136_multiple_sets/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01137_order_by_func/ast.json b/parser/testdata/01137_order_by_func/ast.json deleted file mode 100644 index 8d7b0a594c..0000000000 --- a/parser/testdata/01137_order_by_func/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_func", - "tables": [ - { - "table": "pk_func" - } - ] -} diff --git a/parser/testdata/01137_order_by_func_final/ast.json b/parser/testdata/01137_order_by_func_final/ast.json deleted file mode 100644 index 8d7b0a594c..0000000000 --- a/parser/testdata/01137_order_by_func_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_func", - "tables": [ - { - "table": "pk_func" - } - ] -} diff --git a/parser/testdata/01137_sample_final/ast.json b/parser/testdata/01137_sample_final/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01137_sample_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01138_join_on_distributed_and_tmp/ast.json b/parser/testdata/01138_join_on_distributed_and_tmp/ast.json deleted file mode 100644 index 2650867aed..0000000000 --- a/parser/testdata/01138_join_on_distributed_and_tmp/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo_local", - "tables": [ - { - "table": "foo_local" - } - ] -} diff --git a/parser/testdata/01139_asof_join_types/ast.json b/parser/testdata/01139_asof_join_types/ast.json deleted file mode 100644 index cd65e788be..0000000000 --- a/parser/testdata/01139_asof_join_types/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "k" - }, - { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "v" - } - ] - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "k" - }, - { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ], - "alias": "v" - } - ] - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "strictness": "ASOF", - "using": [ - { - "parts": [ - "k" - ] - }, - { - "parts": [ - "v" - ] - } - ] - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01140_select_from_storage_join_fix/ast.json b/parser/testdata/01140_select_from_storage_join_fix/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01140_select_from_storage_join_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01141_join_get_negative/ast.json b/parser/testdata/01141_join_get_negative/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01141_join_get_negative/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01142_join_lc_and_nullable_in_key/ast.json b/parser/testdata/01142_join_lc_and_nullable_in_key/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01142_join_lc_and_nullable_in_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01142_merge_join_lc_and_nullable_in_key/ast.json b/parser/testdata/01142_merge_join_lc_and_nullable_in_key/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/01142_merge_join_lc_and_nullable_in_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/01142_with_ties_and_aliases/ast.json b/parser/testdata/01142_with_ties_and_aliases/ast.json deleted file mode 100644 index cc1000d51d..0000000000 --- a/parser/testdata/01142_with_ties_and_aliases/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 5 - } - ], - "alias": "value" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 20 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "value" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 3 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - }, - { - "expression": { - "parts": [ - "value" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01143_trivial_count_with_join/ast.json b/parser/testdata/01143_trivial_count_with_join/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01143_trivial_count_with_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/ast.json b/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01144_join_rewrite_with_ambiguous_column_and_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01144_multiword_data_types/ast.json b/parser/testdata/01144_multiword_data_types/ast.json deleted file mode 100644 index e79a03c89e..0000000000 --- a/parser/testdata/01144_multiword_data_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "multiword_types", - "tables": [ - { - "table": "multiword_types" - } - ] -} diff --git a/parser/testdata/01147_partial_merge_full_join/ast.json b/parser/testdata/01147_partial_merge_full_join/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01147_partial_merge_full_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01148_zookeeper_path_macros_unfolding/ast.json b/parser/testdata/01148_zookeeper_path_macros_unfolding/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01148_zookeeper_path_macros_unfolding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/ast.json b/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/01149_zookeeper_mutation_stuck_after_replace_partition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/ast.json b/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/ast.json deleted file mode 100644 index 693d655fbe..0000000000 --- a/parser/testdata/01151_storage_merge_filter_tables_by_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_table_1", - "tables": [ - { - "table": "src_table_1" - } - ] -} diff --git a/parser/testdata/01152_cross_replication/ast.json b/parser/testdata/01152_cross_replication/ast.json deleted file mode 100644 index 3923ec2d21..0000000000 --- a/parser/testdata/01152_cross_replication/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "shard_0", - "drop_database": true -} diff --git a/parser/testdata/01153_attach_mv_uuid/ast.json b/parser/testdata/01153_attach_mv_uuid/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/01153_attach_mv_uuid/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/01155_rename_move_materialized_view/ast.json b/parser/testdata/01155_rename_move_materialized_view/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01155_rename_move_materialized_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01157_replace_table/ast.json b/parser/testdata/01157_replace_table/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01157_replace_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01158_zookeeper_log_long/ast.json b/parser/testdata/01158_zookeeper_log_long/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/01158_zookeeper_log_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01159_combinators_with_parameters/ast.json b/parser/testdata/01159_combinators_with_parameters/ast.json deleted file mode 100644 index 86ea293cf1..0000000000 --- a/parser/testdata/01159_combinators_with_parameters/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "topKArrayState", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01163_search_case_insensetive_utf8/ast.json b/parser/testdata/01163_search_case_insensetive_utf8/ast.json deleted file mode 100644 index 0c88b8a038..0000000000 --- a/parser/testdata/01163_search_case_insensetive_utf8/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "positionCaseInsensitiveUTF8", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "сссссс" - } - ] - }, - { - "type": "String", - "value": "Ё" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01164_alter_memory_database/ast.json b/parser/testdata/01164_alter_memory_database/ast.json deleted file mode 100644 index dedeaef22a..0000000000 --- a/parser/testdata/01164_alter_memory_database/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_1164_memory", - "drop_database": true -} diff --git a/parser/testdata/01165_lost_part_empty_partition/ast.json b/parser/testdata/01165_lost_part_empty_partition/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/01165_lost_part_empty_partition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01166_truncate_multiple_partitions/ast.json b/parser/testdata/01166_truncate_multiple_partitions/ast.json deleted file mode 100644 index a11db1a3bb..0000000000 --- a/parser/testdata/01166_truncate_multiple_partitions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "trunc", - "tables": [ - { - "table": "trunc" - } - ] -} diff --git a/parser/testdata/01172_transaction_counters/ast.json b/parser/testdata/01172_transaction_counters/ast.json deleted file mode 100644 index f104c31bda..0000000000 --- a/parser/testdata/01172_transaction_counters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "txn_counters", - "tables": [ - { - "table": "txn_counters" - } - ] -} diff --git a/parser/testdata/01173_transaction_control_queries/ast.json b/parser/testdata/01173_transaction_control_queries/ast.json deleted file mode 100644 index a802c8a3e9..0000000000 --- a/parser/testdata/01173_transaction_control_queries/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt1", - "tables": [ - { - "table": "mt1" - } - ] -} diff --git a/parser/testdata/01177_group_array_moving/ast.json b/parser/testdata/01177_group_array_moving/ast.json deleted file mode 100644 index 49b0a53db4..0000000000 --- a/parser/testdata/01177_group_array_moving/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayMovingSum", - "parameters": [ - { - "type": "Integer", - "value": 257 - } - ], - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - }, - { - "name": "groupArrayMovingSum", - "parameters": [ - { - "type": "Integer", - "value": 1048575 - } - ], - "arguments": [ - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - }, - { - "name": "groupArrayMovingSum", - "parameters": [ - { - "type": "Integer", - "value": 9223372036854775807 - } - ], - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 9223372036854775807 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1..2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01181_db_atomic_drop_on_cluster/ast.json b/parser/testdata/01181_db_atomic_drop_on_cluster/ast.json deleted file mode 100644 index b8726bf487..0000000000 --- a/parser/testdata/01181_db_atomic_drop_on_cluster/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_repl", - "tables": [ - { - "table": "test_repl" - } - ], - "on_cluster": "test_shard_localhost" -} diff --git a/parser/testdata/01182_materialized_view_different_structure/ast.json b/parser/testdata/01182_materialized_view_different_structure/ast.json deleted file mode 100644 index 80532b40b3..0000000000 --- a/parser/testdata/01182_materialized_view_different_structure/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_materialized_view_with_bad_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01185_create_or_replace_table/ast.json b/parser/testdata/01185_create_or_replace_table/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01185_create_or_replace_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01186_conversion_to_nullable/ast.json b/parser/testdata/01186_conversion_to_nullable/ast.json deleted file mode 100644 index 0cebdac4c4..0000000000 --- a/parser/testdata/01186_conversion_to_nullable/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt8", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "x Nullable(String)" - }, - { - "type": "String", - "value": "42" - }, - { - "type": "Null", - "value": null - }, - { - "type": "String", - "value": "0" - }, - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "256" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01189_create_as_table_as_table_function/ast.json b/parser/testdata/01189_create_as_table_as_table_function/ast.json deleted file mode 100644 index 93e6e77fe0..0000000000 --- a/parser/testdata/01189_create_as_table_as_table_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table2", - "tables": [ - { - "table": "table2" - } - ] -} diff --git a/parser/testdata/01191_rename_dictionary/ast.json b/parser/testdata/01191_rename_dictionary/ast.json deleted file mode 100644 index 4e46bcd70b..0000000000 --- a/parser/testdata/01191_rename_dictionary/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_01191", - "drop_database": true -} diff --git a/parser/testdata/01197_summing_enum/ast.json b/parser/testdata/01197_summing_enum/ast.json deleted file mode 100644 index a789431cb9..0000000000 --- a/parser/testdata/01197_summing_enum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing", - "tables": [ - { - "table": "summing" - } - ] -} diff --git a/parser/testdata/01198_plus_inf/ast.json b/parser/testdata/01198_plus_inf/ast.json deleted file mode 100644 index ea90263031..0000000000 --- a/parser/testdata/01198_plus_inf/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "toFloat64", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "+inf" - }, - { - "type": "String", - "value": "+Inf" - }, - { - "type": "String", - "value": "+INF" - }, - { - "type": "String", - "value": "+infinity" - }, - { - "type": "String", - "value": "+Infinity" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01199_url_functions_path_without_schema_yiurule/ast.json b/parser/testdata/01199_url_functions_path_without_schema_yiurule/ast.json deleted file mode 100644 index fa9b90b982..0000000000 --- a/parser/testdata/01199_url_functions_path_without_schema_yiurule/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "path", - "arguments": [ - { - "type": "String", - "value": "www.example.com:443/a/b/c" - } - ], - "alias": "Path" - } - ] - } - ] -} diff --git a/parser/testdata/01200_mutations_memory_consumption/ast.json b/parser/testdata/01200_mutations_memory_consumption/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/01200_mutations_memory_consumption/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/ast.json b/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/ast.json deleted file mode 100644 index 81b9de0395..0000000000 --- a/parser/testdata/01201_drop_column_compact_part_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_max_retries", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/01201_read_single_thread_in_order/ast.json b/parser/testdata/01201_read_single_thread_in_order/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01201_read_single_thread_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01202_arrayROCAUC_special/ast.json b/parser/testdata/01202_arrayROCAUC_special/ast.json deleted file mode 100644 index 93e15a9f60..0000000000 --- a/parser/testdata/01202_arrayROCAUC_special/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayROCAUC", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01210_drop_view/ast.json b/parser/testdata/01210_drop_view/ast.json deleted file mode 100644 index 9493d31803..0000000000 --- a/parser/testdata/01210_drop_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v_01210", - "tables": [ - { - "table": "v_01210" - } - ] -} diff --git a/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/ast.json b/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01211_optimize_skip_unused_shards_type_mismatch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01213_alter_rename_column/ast.json b/parser/testdata/01213_alter_rename_column/ast.json deleted file mode 100644 index 7c78df7678..0000000000 --- a/parser/testdata/01213_alter_rename_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename", - "tables": [ - { - "table": "table_for_rename" - } - ] -} diff --git a/parser/testdata/01213_alter_rename_compact_part/ast.json b/parser/testdata/01213_alter_rename_compact_part/ast.json deleted file mode 100644 index bf3a16f45b..0000000000 --- a/parser/testdata/01213_alter_rename_compact_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_compact_parts", - "tables": [ - { - "table": "table_with_compact_parts" - } - ] -} diff --git a/parser/testdata/01213_alter_rename_nested/ast.json b/parser/testdata/01213_alter_rename_nested/ast.json deleted file mode 100644 index a814d144fe..0000000000 --- a/parser/testdata/01213_alter_rename_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename_nested", - "tables": [ - { - "table": "table_for_rename_nested" - } - ] -} diff --git a/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/ast.json b/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/ast.json deleted file mode 100644 index 929a54a238..0000000000 --- a/parser/testdata/01213_alter_rename_primary_key_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename_pk", - "tables": [ - { - "table": "table_for_rename_pk" - } - ] -} diff --git a/parser/testdata/01213_alter_rename_with_default_zookeeper_long/ast.json b/parser/testdata/01213_alter_rename_with_default_zookeeper_long/ast.json deleted file mode 100644 index eaed52f17d..0000000000 --- a/parser/testdata/01213_alter_rename_with_default_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_rename_with_default", - "tables": [ - { - "table": "table_rename_with_default" - } - ] -} diff --git a/parser/testdata/01213_alter_table_rename_nested/ast.json b/parser/testdata/01213_alter_table_rename_nested/ast.json deleted file mode 100644 index a814d144fe..0000000000 --- a/parser/testdata/01213_alter_table_rename_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename_nested", - "tables": [ - { - "table": "table_for_rename_nested" - } - ] -} diff --git a/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/ast.json b/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/ast.json deleted file mode 100644 index dbb135cb32..0000000000 --- a/parser/testdata/01213_optimize_skip_unused_shards_DISTINCT/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "if_not_exists": true, - "table": "local_01213", - "columns": [ - { - "name": "id", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/01213_point_in_Myanmar/ast.json b/parser/testdata/01213_point_in_Myanmar/ast.json deleted file mode 100644 index ef837fb1fc..0000000000 --- a/parser/testdata/01213_point_in_Myanmar/ast.json +++ /dev/null @@ -1,1461 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "pointInPolygon", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66905 - }, - { - "type": "Float", - "value": 16.5026053 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66905 - }, - { - "type": "Float", - "value": 16.5026053 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.667878 - }, - { - "type": "Float", - "value": 16.4979175 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.661433 - }, - { - "type": "Float", - "value": 16.4917645 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.656745 - }, - { - "type": "Float", - "value": 16.4859047 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.656745 - }, - { - "type": "Float", - "value": 16.4818029 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.658796 - }, - { - "type": "Float", - "value": 16.4785801 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.665535 - }, - { - "type": "Float", - "value": 16.4753572 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.670808 - }, - { - "type": "Float", - "value": 16.4730135 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.676082 - }, - { - "type": "Float", - "value": 16.4697907 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.680477 - }, - { - "type": "Float", - "value": 16.4677398 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.68575 - }, - { - "type": "Float", - "value": 16.4686189 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.689559 - }, - { - "type": "Float", - "value": 16.4727207 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.69454 - }, - { - "type": "Float", - "value": 16.4744788 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.698055 - }, - { - "type": "Float", - "value": 16.4747718 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.702157 - }, - { - "type": "Float", - "value": 16.4724279 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.703036 - }, - { - "type": "Float", - "value": 16.4683261 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.703036 - }, - { - "type": "Float", - "value": 16.4633453 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.702451 - }, - { - "type": "Float", - "value": 16.4594354 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699533 - }, - { - "type": "Float", - "value": 16.4539205 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699106 - }, - { - "type": "Float", - "value": 16.4521467 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699896 - }, - { - "type": "Float", - "value": 16.4500714 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.701852 - }, - { - "type": "Float", - "value": 16.4474887 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.701272 - }, - { - "type": "Float", - "value": 16.4460233 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699896 - }, - { - "type": "Float", - "value": 16.4439216 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699857 - }, - { - "type": "Float", - "value": 16.4425297 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.700705 - }, - { - "type": "Float", - "value": 16.4417585 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699266 - }, - { - "type": "Float", - "value": 16.4404319 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.696817 - }, - { - "type": "Float", - "value": 16.439585 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.69468 - }, - { - "type": "Float", - "value": 16.4391501 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.690854 - }, - { - "type": "Float", - "value": 16.439294 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.686571 - }, - { - "type": "Float", - "value": 16.4407665 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.683728 - }, - { - "type": "Float", - "value": 16.4428458 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.680647 - }, - { - "type": "Float", - "value": 16.444719 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.678369 - }, - { - "type": "Float", - "value": 16.445322 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675195 - }, - { - "type": "Float", - "value": 16.4448526 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.672627 - }, - { - "type": "Float", - "value": 16.4435941 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.670568 - }, - { - "type": "Float", - "value": 16.4419727 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.667276 - }, - { - "type": "Float", - "value": 16.4410039 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.666215 - }, - { - "type": "Float", - "value": 16.439402 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66599 - }, - { - "type": "Float", - "value": 16.43656 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.664579 - }, - { - "type": "Float", - "value": 16.435632 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66195 - }, - { - "type": "Float", - "value": 16.4344612 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.659174 - }, - { - "type": "Float", - "value": 16.4324549 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.658693 - }, - { - "type": "Float", - "value": 16.4290256 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.659289 - }, - { - "type": "Float", - "value": 16.4246502 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.660882 - }, - { - "type": "Float", - "value": 16.422609 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.663533 - }, - { - "type": "Float", - "value": 16.4225057 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.666402 - }, - { - "type": "Float", - "value": 16.4210711 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.67148 - }, - { - "type": "Float", - "value": 16.4170395 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.673433 - }, - { - "type": "Float", - "value": 16.4146478 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.674184 - }, - { - "type": "Float", - "value": 16.4124121 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.6742 - }, - { - "type": "Float", - "value": 16.4085257 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.674894 - }, - { - "type": "Float", - "value": 16.4055148 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675906 - }, - { - "type": "Float", - "value": 16.4019452 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675287 - }, - { - "type": "Float", - "value": 16.3996593 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675062 - }, - { - "type": "Float", - "value": 16.3963334 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675798 - }, - { - "type": "Float", - "value": 16.3936434 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.675676 - }, - { - "type": "Float", - "value": 16.3909321 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.67508 - }, - { - "type": "Float", - "value": 16.386655 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.679839 - }, - { - "type": "Float", - "value": 16.386241 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.689403 - }, - { - "type": "Float", - "value": 16.3726191 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.692011 - }, - { - "type": "Float", - "value": 16.372909 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.696359 - }, - { - "type": "Float", - "value": 16.3679819 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.699866 - }, - { - "type": "Float", - "value": 16.360968 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.697233 - }, - { - "type": "Float", - "value": 16.3609438 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.693077 - }, - { - "type": "Float", - "value": 16.3596272 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.686631 - }, - { - "type": "Float", - "value": 16.3584552 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.68165 - }, - { - "type": "Float", - "value": 16.3558182 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.674619 - }, - { - "type": "Float", - "value": 16.3496653 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.667588 - }, - { - "type": "Float", - "value": 16.3482003 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.664072 - }, - { - "type": "Float", - "value": 16.3502511 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.659384 - }, - { - "type": "Float", - "value": 16.3540599 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.652353 - }, - { - "type": "Float", - "value": 16.3578686 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.649716 - }, - { - "type": "Float", - "value": 16.3625565 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.650595 - }, - { - "type": "Float", - "value": 16.3672443 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.65206 - }, - { - "type": "Float", - "value": 16.3701742 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.65206 - }, - { - "type": "Float", - "value": 16.3733971 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.651181 - }, - { - "type": "Float", - "value": 16.3760339 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.646493 - }, - { - "type": "Float", - "value": 16.3763268 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.6462 - }, - { - "type": "Float", - "value": 16.3801357 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.646786 - }, - { - "type": "Float", - "value": 16.3851165 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.643563 - }, - { - "type": "Float", - "value": 16.3883393 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.638583 - }, - { - "type": "Float", - "value": 16.3889252 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.636239 - }, - { - "type": "Float", - "value": 16.392148 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.630379 - }, - { - "type": "Float", - "value": 16.3933199 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.629132 - }, - { - "type": "Float", - "value": 16.3964903 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.624347 - }, - { - "type": "Float", - "value": 16.4056104 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.615377 - }, - { - "type": "Float", - "value": 16.4165245 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.614779 - }, - { - "type": "Float", - "value": 16.4229534 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.611938 - }, - { - "type": "Float", - "value": 16.4335685 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.613882 - }, - { - "type": "Float", - "value": 16.4410439 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.619713 - }, - { - "type": "Float", - "value": 16.4461272 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.62375 - }, - { - "type": "Float", - "value": 16.4542007 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.62345 - }, - { - "type": "Float", - "value": 16.4640683 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.618965 - }, - { - "type": "Float", - "value": 16.4793181 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.617321 - }, - { - "type": "Float", - "value": 16.4884382 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.617747 - }, - { - "type": "Float", - "value": 16.4985751 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.623301 - }, - { - "type": "Float", - "value": 16.5026416 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.629303 - }, - { - "type": "Float", - "value": 16.5016624 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.63272 - }, - { - "type": "Float", - "value": 16.4986048 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.640862 - }, - { - "type": "Float", - "value": 16.498226 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.647134 - }, - { - "type": "Float", - "value": 16.5006382 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.650873 - }, - { - "type": "Float", - "value": 16.5051263 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.654987 - }, - { - "type": "Float", - "value": 16.5089598 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.65639 - }, - { - "type": "Float", - "value": 16.5118583 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.658166 - }, - { - "type": "Float", - "value": 16.5160658 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.660395 - }, - { - "type": "Float", - "value": 16.5197566 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66612 - }, - { - "type": "Float", - "value": 16.5140318 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.668757 - }, - { - "type": "Float", - "value": 16.507879 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 97.66905 - }, - { - "type": "Float", - "value": 16.5026053 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01214_point_in_Mecca/ast.json b/parser/testdata/01214_point_in_Mecca/ast.json deleted file mode 100644 index d638e68750..0000000000 --- a/parser/testdata/01214_point_in_Mecca/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Outer part of Mecca" - } - ] - } - ] -} diff --git a/parser/testdata/01214_test_storage_merge_aliases_with_where/ast.json b/parser/testdata/01214_test_storage_merge_aliases_with_where/ast.json deleted file mode 100644 index 33971948bd..0000000000 --- a/parser/testdata/01214_test_storage_merge_aliases_with_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt1", - "tables": [ - { - "table": "tt1" - } - ] -} diff --git a/parser/testdata/01220_scalar_optimization_in_alter/ast.json b/parser/testdata/01220_scalar_optimization_in_alter/ast.json deleted file mode 100644 index f0cf5b78b3..0000000000 --- a/parser/testdata/01220_scalar_optimization_in_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cdp_segments", - "tables": [ - { - "table": "cdp_segments" - } - ] -} diff --git a/parser/testdata/01221_system_settings/ast.json b/parser/testdata/01221_system_settings/ast.json deleted file mode 100644 index cef1de8e56..0000000000 --- a/parser/testdata/01221_system_settings/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "send_timeout" - } - } - } - ] -} diff --git a/parser/testdata/01222_system_codecs/ast.json b/parser/testdata/01222_system_codecs/ast.json deleted file mode 100644 index 2730531856..0000000000 --- a/parser/testdata/01222_system_codecs/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "codecs" - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "all" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01223_dist_on_dist/ast.json b/parser/testdata/01223_dist_on_dist/ast.json deleted file mode 100644 index b02d47429a..0000000000 --- a/parser/testdata/01223_dist_on_dist/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_dist_01223", - "tables": [ - { - "table": "merge_dist_01223" - } - ] -} diff --git a/parser/testdata/01224_no_superfluous_dict_reload/ast.json b/parser/testdata/01224_no_superfluous_dict_reload/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01224_no_superfluous_dict_reload/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01225_drop_dictionary_as_table/ast.json b/parser/testdata/01225_drop_dictionary_as_table/ast.json deleted file mode 100644 index 6f4cc74628..0000000000 --- a/parser/testdata/01225_drop_dictionary_as_table/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "dict_data", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "val", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01225_show_create_table_from_dictionary/ast.json b/parser/testdata/01225_show_create_table_from_dictionary/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01225_show_create_table_from_dictionary/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01226_dist_on_dist_global_in/ast.json b/parser/testdata/01226_dist_on_dist_global_in/ast.json deleted file mode 100644 index 2fdbdafbab..0000000000 --- a/parser/testdata/01226_dist_on_dist_global_in/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "GLOBAL IN" - } - ] - } - ] -} diff --git a/parser/testdata/01227_distributed_global_in_issue_2610/ast.json b/parser/testdata/01227_distributed_global_in_issue_2610/ast.json deleted file mode 100644 index 2108d4daa9..0000000000 --- a/parser/testdata/01227_distributed_global_in_issue_2610/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01227", - "tables": [ - { - "table": "data_01227" - } - ] -} diff --git a/parser/testdata/01227_distributed_merge_global_in_primary_key/ast.json b/parser/testdata/01227_distributed_merge_global_in_primary_key/ast.json deleted file mode 100644 index 80290a41c0..0000000000 --- a/parser/testdata/01227_distributed_merge_global_in_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_merge", - "tables": [ - { - "table": "test_merge" - } - ] -} diff --git a/parser/testdata/01230_join_get_truncate/ast.json b/parser/testdata/01230_join_get_truncate/ast.json deleted file mode 100644 index e501e5cb9f..0000000000 --- a/parser/testdata/01230_join_get_truncate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_test", - "tables": [ - { - "table": "join_test" - } - ] -} diff --git a/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/ast.json b/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/ast.json deleted file mode 100644 index 4f46873637..0000000000 --- a/parser/testdata/01231_distributed_aggregation_memory_efficient_mix_levels/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "error" - } - } - ] -} diff --git a/parser/testdata/01231_log_queries_min_type/ast.json b/parser/testdata/01231_log_queries_min_type/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01231_log_queries_min_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01231_markdown_format/ast.json b/parser/testdata/01231_markdown_format/ast.json deleted file mode 100644 index 1ebb7c55b0..0000000000 --- a/parser/testdata/01231_markdown_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "markdown", - "tables": [ - { - "table": "markdown" - } - ] -} diff --git a/parser/testdata/01231_operator_null_in/ast.json b/parser/testdata/01231_operator_null_in/ast.json deleted file mode 100644 index 6f6b93c3a6..0000000000 --- a/parser/testdata/01231_operator_null_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_in", - "tables": [ - { - "table": "null_in" - } - ] -} diff --git a/parser/testdata/01232_extremes/ast.json b/parser/testdata/01232_extremes/ast.json deleted file mode 100644 index 4f46873637..0000000000 --- a/parser/testdata/01232_extremes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "error" - } - } - ] -} diff --git a/parser/testdata/01232_untuple/ast.json b/parser/testdata/01232_untuple/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01232_untuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01234_to_string_monotonic/ast.json b/parser/testdata/01234_to_string_monotonic/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/01234_to_string_monotonic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01236_graphite_mt/ast.json b/parser/testdata/01236_graphite_mt/ast.json deleted file mode 100644 index e6b8a60f87..0000000000 --- a/parser/testdata/01236_graphite_mt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_graphite", - "tables": [ - { - "table": "test_graphite" - } - ] -} diff --git a/parser/testdata/01240_join_get_or_null/ast.json b/parser/testdata/01240_join_get_or_null/ast.json deleted file mode 100644 index e501e5cb9f..0000000000 --- a/parser/testdata/01240_join_get_or_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_test", - "tables": [ - { - "table": "join_test" - } - ] -} diff --git a/parser/testdata/01244_optimize_distributed_group_by_sharding_key/ast.json b/parser/testdata/01244_optimize_distributed_group_by_sharding_key/ast.json deleted file mode 100644 index ae03b7c3ea..0000000000 --- a/parser/testdata/01244_optimize_distributed_group_by_sharding_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_distributed_group_by_sharding_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/ast.json b/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/ast.json deleted file mode 100644 index a4b3074988..0000000000 --- a/parser/testdata/01245_distributed_group_by_no_merge_with-extremes_and_totals/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "numbers" - ] - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - }, - "settings": [ - { - "name": "distributed_group_by_no_merge", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01245_limit_infinite_sources/ast.json b/parser/testdata/01245_limit_infinite_sources/ast.json deleted file mode 100644 index 9ad4fe8cf9..0000000000 --- a/parser/testdata/01245_limit_infinite_sources/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "zero" - ], - "alias": "number" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.2" - }, - { - "parts": [ - "system", - "zeros" - ] - } - ] - } - } - } - ] - } - }, - { - "columns": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "name": "sleep", - "arguments": [ - { - "type": "Float", - "value": 0.5 - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "limit": { - "type": "Integer", - "value": 1 - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/01246_extractAllGroupsHorizontal/ast.json b/parser/testdata/01246_extractAllGroupsHorizontal/ast.json deleted file mode 100644 index f9b5076b73..0000000000 --- a/parser/testdata/01246_extractAllGroupsHorizontal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractAllGroupsHorizontal" - } - ] - } - ] -} diff --git a/parser/testdata/01246_extractAllGroupsVertical/ast.json b/parser/testdata/01246_extractAllGroupsVertical/ast.json deleted file mode 100644 index 853c283cd7..0000000000 --- a/parser/testdata/01246_extractAllGroupsVertical/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractAllGroupsVertical" - } - ] - } - ] -} diff --git a/parser/testdata/01246_finalize_aggregation_race/ast.json b/parser/testdata/01246_finalize_aggregation_race/ast.json deleted file mode 100644 index 934c32703d..0000000000 --- a/parser/testdata/01246_finalize_aggregation_race/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_quantile", - "tables": [ - { - "table": "test_quantile" - } - ] -} diff --git a/parser/testdata/01246_least_greatest_generic/ast.json b/parser/testdata/01246_least_greatest_generic/ast.json deleted file mode 100644 index e5263d8d52..0000000000 --- a/parser/testdata/01246_least_greatest_generic/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "least", - "arguments": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/ast.json b/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/ast.json deleted file mode 100644 index ae03b7c3ea..0000000000 --- a/parser/testdata/01247_optimize_distributed_group_by_sharding_key_dist_on_dist/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_distributed_group_by_sharding_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01247_some_msan_crashs_from_22517/ast.json b/parser/testdata/01247_some_msan_crashs_from_22517/ast.json deleted file mode 100644 index 7038d7648d..0000000000 --- a/parser/testdata/01247_some_msan_crashs_from_22517/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ], - "alias": "a" - }, - { - "parts": [ - "a" - ], - "alias": "b" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01248_least_greatest_mixed_const/ast.json b/parser/testdata/01248_least_greatest_mixed_const/ast.json deleted file mode 100644 index 085a09d089..0000000000 --- a/parser/testdata/01248_least_greatest_mixed_const/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "least", - "arguments": [ - { - "type": "Integer", - "value": 4 - }, - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "name": "greatest", - "arguments": [ - { - "type": "Integer", - "value": 4 - }, - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01249_bad_arguments_for_bloom_filter/ast.json b/parser/testdata/01249_bad_arguments_for_bloom_filter/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01249_bad_arguments_for_bloom_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01251_dict_is_in_infinite_loop/ast.json b/parser/testdata/01251_dict_is_in_infinite_loop/ast.json deleted file mode 100644 index 71d7af0a54..0000000000 --- a/parser/testdata/01251_dict_is_in_infinite_loop/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "database_for_dict", - "drop_database": true -} diff --git a/parser/testdata/01251_string_comparison/ast.json b/parser/testdata/01251_string_comparison/ast.json deleted file mode 100644 index 88904f54d3..0000000000 --- a/parser/testdata/01251_string_comparison/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isConstant", - "arguments": [ - { - "left": { - "type": "String", - "value": "a" - }, - "op": "=", - "right": { - "type": "String", - "value": "b" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01252_weird_time_zone/ast.json b/parser/testdata/01252_weird_time_zone/ast.json deleted file mode 100644 index d3de99bda3..0000000000 --- a/parser/testdata/01252_weird_time_zone/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Pacific/Kiritimati" - }, - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-02 03:04:05" - }, - { - "type": "String", - "value": "Pacific/Kiritimati" - } - ], - "alias": "x" - }, - { - "name": "toStartOfDay", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "toHour", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/ast.json b/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01253_subquery_in_aggregate_function_JustStranger/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01254_array_of_unnamed_tuples/ast.json b/parser/testdata/01254_array_of_unnamed_tuples/ast.json deleted file mode 100644 index c7a76a893c..0000000000 --- a/parser/testdata/01254_array_of_unnamed_tuples/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mass_table_457", - "tables": [ - { - "table": "mass_table_457" - } - ] -} diff --git a/parser/testdata/01254_dict_create_without_db/ast.json b/parser/testdata/01254_dict_create_without_db/ast.json deleted file mode 100644 index 6f4cc74628..0000000000 --- a/parser/testdata/01254_dict_create_without_db/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "dict_data", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "val", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01254_dict_load_after_detach_attach/ast.json b/parser/testdata/01254_dict_load_after_detach_attach/ast.json deleted file mode 100644 index 6f4cc74628..0000000000 --- a/parser/testdata/01254_dict_load_after_detach_attach/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "dict_data", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "val", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01255_geo_types_livace/ast.json b/parser/testdata/01255_geo_types_livace/ast.json deleted file mode 100644 index 6d30292280..0000000000 --- a/parser/testdata/01255_geo_types_livace/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tutorial", - "tables": [ - { - "table": "tutorial" - } - ] -} diff --git a/parser/testdata/01256_negative_generate_random/ast.json b/parser/testdata/01256_negative_generate_random/ast.json deleted file mode 100644 index c98a3cfd4f..0000000000 --- a/parser/testdata/01256_negative_generate_random/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "i8" - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01257_dictionary_mismatch_types/ast.json b/parser/testdata/01257_dictionary_mismatch_types/ast.json deleted file mode 100644 index 34f01ca685..0000000000 --- a/parser/testdata/01257_dictionary_mismatch_types/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_dict_db", - "drop_database": true -} diff --git a/parser/testdata/01259_combinator_distinct_distributed/ast.json b/parser/testdata/01259_combinator_distinct_distributed/ast.json deleted file mode 100644 index 14209dcd66..0000000000 --- a/parser/testdata/01259_combinator_distinct_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_aggregation_memory_efficient", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01259_datetime64_ubsan/ast.json b/parser/testdata/01259_datetime64_ubsan/ast.json deleted file mode 100644 index 84792c7197..0000000000 --- a/parser/testdata/01259_datetime64_ubsan/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "now64", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01259_dictionary_custom_settings_ddl/ast.json b/parser/testdata/01259_dictionary_custom_settings_ddl/ast.json deleted file mode 100644 index 94d947ec4c..0000000000 --- a/parser/testdata/01259_dictionary_custom_settings_ddl/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "table": "table_for_dict", - "columns": [ - { - "name": "key_column", - "type": { - "name": "UInt64" - } - }, - { - "name": "second_column", - "type": { - "name": "UInt64" - } - }, - { - "name": "third_column", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "key_column" - ] - } - ] -} diff --git a/parser/testdata/01260_ubsan_decimal_parse/ast.json b/parser/testdata/01260_ubsan_decimal_parse/ast.json deleted file mode 100644 index 5e640b4352..0000000000 --- a/parser/testdata/01260_ubsan_decimal_parse/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32OrZero", - "arguments": [ - { - "expr": { - "op": "-", - "operand": { - "type": "Integer", - "value": 7174046 - } - }, - "type": { - "name": "String" - } - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01262_fractional_timezone_near_start_of_epoch/ast.json b/parser/testdata/01262_fractional_timezone_near_start_of_epoch/ast.json deleted file mode 100644 index 9c9a704475..0000000000 --- a/parser/testdata/01262_fractional_timezone_near_start_of_epoch/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 10000 - }, - { - "type": "String", - "value": "Asia/Calcutta" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01262_low_cardinality_remove/ast.json b/parser/testdata/01262_low_cardinality_remove/ast.json deleted file mode 100644 index 95b01b8672..0000000000 --- a/parser/testdata/01262_low_cardinality_remove/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testView", - "tables": [ - { - "table": "testView" - } - ] -} diff --git a/parser/testdata/01263_type_conversion_nvartolomei/ast.json b/parser/testdata/01263_type_conversion_nvartolomei/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/01263_type_conversion_nvartolomei/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/01264_nested_baloo_bear/ast.json b/parser/testdata/01264_nested_baloo_bear/ast.json deleted file mode 100644 index 3b231a50a9..0000000000 --- a/parser/testdata/01264_nested_baloo_bear/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "LOG_T", - "tables": [ - { - "table": "LOG_T" - } - ] -} diff --git a/parser/testdata/01265_datetime_string_comparison_felix_mueller/ast.json b/parser/testdata/01265_datetime_string_comparison_felix_mueller/ast.json deleted file mode 100644 index 1ac2559f25..0000000000 --- a/parser/testdata/01265_datetime_string_comparison_felix_mueller/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tztest", - "tables": [ - { - "table": "tztest" - } - ] -} diff --git a/parser/testdata/01266_default_prewhere_reqq/ast.json b/parser/testdata/01266_default_prewhere_reqq/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01266_default_prewhere_reqq/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01267_alter_default_key_columns_zookeeper_long/ast.json b/parser/testdata/01267_alter_default_key_columns_zookeeper_long/ast.json deleted file mode 100644 index 3842af8115..0000000000 --- a/parser/testdata/01267_alter_default_key_columns_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter", - "tables": [ - { - "table": "test_alter" - } - ] -} diff --git a/parser/testdata/01268_DateTime64_in_WHERE/ast.json b/parser/testdata/01268_DateTime64_in_WHERE/ast.json deleted file mode 100644 index 7095cc543d..0000000000 --- a/parser/testdata/01268_DateTime64_in_WHERE/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "S", - "query": { - "type": "String", - "value": "2020-02-05 14:34:12.333" - } - }, - { - "name": "DT64", - "query": { - "name": "toDateTime64", - "arguments": [ - { - "parts": [ - "S" - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - } - ], - "columns": [ - { - "left": { - "parts": [ - "DT64" - ] - }, - "op": "=", - "right": { - "name": "materialize", - "arguments": [ - { - "parts": [ - "S" - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01268_data_numeric_parameters/ast.json b/parser/testdata/01268_data_numeric_parameters/ast.json deleted file mode 100644 index e121b08a11..0000000000 --- a/parser/testdata/01268_data_numeric_parameters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ints", - "tables": [ - { - "table": "ints" - } - ] -} diff --git a/parser/testdata/01268_dictionary_direct_layout/ast.json b/parser/testdata/01268_dictionary_direct_layout/ast.json deleted file mode 100644 index aeb9cd12bf..0000000000 --- a/parser/testdata/01268_dictionary_direct_layout/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "database_for_dict_01268", - "drop_database": true -} diff --git a/parser/testdata/01268_mergine_sorted_limit/ast.json b/parser/testdata/01268_mergine_sorted_limit/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01268_mergine_sorted_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01268_mv_scalars/ast.json b/parser/testdata/01268_mv_scalars/ast.json deleted file mode 100644 index 139b40b798..0000000000 --- a/parser/testdata/01268_mv_scalars/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dest_table_mv", - "tables": [ - { - "table": "dest_table_mv" - } - ] -} diff --git a/parser/testdata/01268_shard_avgweighted/ast.json b/parser/testdata/01268_shard_avgweighted/ast.json deleted file mode 100644 index e0e3aa2cb3..0000000000 --- a/parser/testdata/01268_shard_avgweighted/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "table": "dummy", - "columns": [ - { - "name": "foo", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/01269_alias_type_differs/ast.json b/parser/testdata/01269_alias_type_differs/ast.json deleted file mode 100644 index fc9cc895b9..0000000000 --- a/parser/testdata/01269_alias_type_differs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01269", - "tables": [ - { - "table": "data_01269" - } - ] -} diff --git a/parser/testdata/01269_create_with_null/ast.json b/parser/testdata/01269_create_with_null/ast.json deleted file mode 100644 index cde45b35b7..0000000000 --- a/parser/testdata/01269_create_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_null", - "tables": [ - { - "table": "data_null" - } - ] -} diff --git a/parser/testdata/01269_toStartOfSecond/ast.json b/parser/testdata/01269_toStartOfSecond/ast.json deleted file mode 100644 index 3a8492e2b6..0000000000 --- a/parser/testdata/01269_toStartOfSecond/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfSecond", - "arguments": [ - { - "type": "String", - "value": "123" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/ast.json b/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01270_optimize_skip_unused_shards_low_cardinality/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/ast.json b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/ast.json b/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/ast.json deleted file mode 100644 index f8e1f04506..0000000000 --- a/parser/testdata/01271_optimize_arithmetic_operations_in_aggr_func_with_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_arithmetic_operations_in_aggregate_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01272_offset_without_limit/ast.json b/parser/testdata/01272_offset_without_limit/ast.json deleted file mode 100644 index 3c575ba9fe..0000000000 --- a/parser/testdata/01272_offset_without_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "offset_without_limit", - "tables": [ - { - "table": "offset_without_limit" - } - ] -} diff --git a/parser/testdata/01272_suspicious_codecs/ast.json b/parser/testdata/01272_suspicious_codecs/ast.json deleted file mode 100644 index be942cd4ae..0000000000 --- a/parser/testdata/01272_suspicious_codecs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "codecs", - "tables": [ - { - "table": "codecs" - } - ] -} diff --git a/parser/testdata/01272_totals_and_filter_bug/ast.json b/parser/testdata/01272_totals_and_filter_bug/ast.json deleted file mode 100644 index f66d43220e..0000000000 --- a/parser/testdata/01272_totals_and_filter_bug/ast.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/01273_extractGroups/ast.json b/parser/testdata/01273_extractGroups/ast.json deleted file mode 100644 index a4975e3808..0000000000 --- a/parser/testdata/01273_extractGroups/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractGroups" - } - ] - } - ] -} diff --git a/parser/testdata/01273_h3EdgeAngle_range_check/ast.json b/parser/testdata/01273_h3EdgeAngle_range_check/ast.json deleted file mode 100644 index c2a2de27e8..0000000000 --- a/parser/testdata/01273_h3EdgeAngle_range_check/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3EdgeAngle", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01273_lc_fixed_string_field/ast.json b/parser/testdata/01273_lc_fixed_string_field/ast.json deleted file mode 100644 index 49d2549e52..0000000000 --- a/parser/testdata/01273_lc_fixed_string_field/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "d", - "type": { - "name": "Date" - } - }, - { - "name": "s", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "c", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "SummingMergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "d" - ] - }, - { - "parts": [ - "s" - ] - } - ] - } - ], - "partition_by": { - "parts": [ - "d" - ] - } -} diff --git a/parser/testdata/01274_alter_rename_column_distributed/ast.json b/parser/testdata/01274_alter_rename_column_distributed/ast.json deleted file mode 100644 index 54a88547c6..0000000000 --- a/parser/testdata/01274_alter_rename_column_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_foreground_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01275_alter_rename_column_default_expr/ast.json b/parser/testdata/01275_alter_rename_column_default_expr/ast.json deleted file mode 100644 index 7c78df7678..0000000000 --- a/parser/testdata/01275_alter_rename_column_default_expr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename", - "tables": [ - { - "table": "table_for_rename" - } - ] -} diff --git a/parser/testdata/01275_extract_groups_check/ast.json b/parser/testdata/01275_extract_groups_check/ast.json deleted file mode 100644 index 3f6a8e5ba5..0000000000 --- a/parser/testdata/01275_extract_groups_check/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractGroups", - "arguments": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01276_alter_rename_column_materialized_expr/ast.json b/parser/testdata/01276_alter_rename_column_materialized_expr/ast.json deleted file mode 100644 index 7c78df7678..0000000000 --- a/parser/testdata/01276_alter_rename_column_materialized_expr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename", - "tables": [ - { - "table": "table_for_rename" - } - ] -} diff --git a/parser/testdata/01276_random_string/ast.json b/parser/testdata/01276_random_string/ast.json deleted file mode 100644 index 41f3368128..0000000000 --- a/parser/testdata/01276_random_string/ast.json +++ /dev/null @@ -1,136 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "left": { - "parts": [ - "c" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 30000 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "reinterpretAsUInt8", - "arguments": [ - { - "name": "substring", - "arguments": [ - { - "name": "randomString", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ], - "alias": "byte" - }, - { - "name": "count", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "byte" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "byte" - ] - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01276_system_licenses/ast.json b/parser/testdata/01276_system_licenses/ast.json deleted file mode 100644 index f8b2fa0cde..0000000000 --- a/parser/testdata/01276_system_licenses/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 10 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "licenses" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01277_alter_rename_column_constraint/ast.json b/parser/testdata/01277_alter_rename_column_constraint/ast.json deleted file mode 100644 index 7c78df7678..0000000000 --- a/parser/testdata/01277_alter_rename_column_constraint/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename", - "tables": [ - { - "table": "table_for_rename" - } - ] -} diff --git a/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/ast.json b/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/ast.json deleted file mode 100644 index 2352e7a57c..0000000000 --- a/parser/testdata/01277_alter_rename_column_constraint_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_rename1", - "tables": [ - { - "table": "table_for_rename1" - } - ] -} diff --git a/parser/testdata/01277_buffer_column_order/ast.json b/parser/testdata/01277_buffer_column_order/ast.json deleted file mode 100644 index 852011573a..0000000000 --- a/parser/testdata/01277_buffer_column_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "out_01277", - "tables": [ - { - "table": "out_01277" - } - ] -} diff --git a/parser/testdata/01277_convert_field_to_type_logical_error/ast.json b/parser/testdata/01277_convert_field_to_type_logical_error/ast.json deleted file mode 100644 index e8b4ece05c..0000000000 --- a/parser/testdata/01277_convert_field_to_type_logical_error/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2487 - } - }, - { - "name": "globalNullIn", - "arguments": [ - { - "name": "toIntervalMinute", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 88074 - } - } - ] - }, - { - "type": "String", - "value": "qEkek.." - } - ] - }, - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 27.537293 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01277_fromUnixTimestamp64/ast.json b/parser/testdata/01277_fromUnixTimestamp64/ast.json deleted file mode 100644 index 05ee28991e..0000000000 --- a/parser/testdata/01277_fromUnixTimestamp64/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fromUnixTimestamp64Second" - } - ] - } - ] -} diff --git a/parser/testdata/01277_random_fixed_string/ast.json b/parser/testdata/01277_random_fixed_string/ast.json deleted file mode 100644 index 7ca2edf7a3..0000000000 --- a/parser/testdata/01277_random_fixed_string/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "randomFixedString", - "arguments": [ - { - "type": "String", - "value": "string" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01277_toUnixTimestamp64/ast.json b/parser/testdata/01277_toUnixTimestamp64/ast.json deleted file mode 100644 index 538ccbae61..0000000000 --- a/parser/testdata/01277_toUnixTimestamp64/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUnixTimestamp64Second" - } - ] - } - ] -} diff --git a/parser/testdata/01278_alter_rename_combination/ast.json b/parser/testdata/01278_alter_rename_combination/ast.json deleted file mode 100644 index 1858179a60..0000000000 --- a/parser/testdata/01278_alter_rename_combination/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rename_table", - "tables": [ - { - "table": "rename_table" - } - ] -} diff --git a/parser/testdata/01278_random_string_utf8/ast.json b/parser/testdata/01278_random_string_utf8/ast.json deleted file mode 100644 index 99e3b583bb..0000000000 --- a/parser/testdata/01278_random_string_utf8/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "randomStringUTF8", - "arguments": [ - { - "type": "String", - "value": "string" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01278_variance_nonnegative/ast.json b/parser/testdata/01278_variance_nonnegative/ast.json deleted file mode 100644 index fe4f813c56..0000000000 --- a/parser/testdata/01278_variance_nonnegative/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "varSamp", - "arguments": [ - { - "type": "Float", - "value": 0.1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01279_dist_group_by/ast.json b/parser/testdata/01279_dist_group_by/ast.json deleted file mode 100644 index ba01bc2171..0000000000 --- a/parser/testdata/01279_dist_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01279", - "tables": [ - { - "table": "data_01279" - } - ] -} diff --git a/parser/testdata/01280_min_map_max_map/ast.json b/parser/testdata/01280_min_map_max_map/ast.json deleted file mode 100644 index edc6fb1286..0000000000 --- a/parser/testdata/01280_min_map_max_map/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "minMap", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - } - ] - }, - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "alias": "m" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "m" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01280_null_in/ast.json b/parser/testdata/01280_null_in/ast.json deleted file mode 100644 index c344c68aec..0000000000 --- a/parser/testdata/01280_null_in/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - { - "name": "in", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01280_opencl_bitonic_order_by/ast.json b/parser/testdata/01280_opencl_bitonic_order_by/ast.json deleted file mode 100644 index efd6ebabf5..0000000000 --- a/parser/testdata/01280_opencl_bitonic_order_by/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt8", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 42 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - }, - "descending": true - } - ] - } - ] -} diff --git a/parser/testdata/01280_unicode_whitespaces_lexer/ast.json b/parser/testdata/01280_unicode_whitespaces_lexer/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/01280_unicode_whitespaces_lexer/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/01281_alter_rename_and_other_renames/ast.json b/parser/testdata/01281_alter_rename_and_other_renames/ast.json deleted file mode 100644 index bc4dc253f3..0000000000 --- a/parser/testdata/01281_alter_rename_and_other_renames/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rename_table_multiple", - "tables": [ - { - "table": "rename_table_multiple" - } - ] -} diff --git a/parser/testdata/01281_join_with_prewhere_fix/ast.json b/parser/testdata/01281_join_with_prewhere_fix/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01281_join_with_prewhere_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01281_parseDateTime64BestEffort/ast.json b/parser/testdata/01281_parseDateTime64BestEffort/ast.json deleted file mode 100644 index 7bc0af5b99..0000000000 --- a/parser/testdata/01281_parseDateTime64BestEffort/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTime64BestEffort" - } - ] - } - ] -} diff --git a/parser/testdata/01281_sum_nullable/ast.json b/parser/testdata/01281_sum_nullable/ast.json deleted file mode 100644 index 0c78a25444..0000000000 --- a/parser/testdata/01281_sum_nullable/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumKahan", - "arguments": [ - { - "name": "toFloat64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01281_unsucceeded_insert_select_queries_counter/ast.json b/parser/testdata/01281_unsucceeded_insert_select_queries_counter/ast.json deleted file mode 100644 index 0d9a8a2235..0000000000 --- a/parser/testdata/01281_unsucceeded_insert_select_queries_counter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "to_insert", - "tables": [ - { - "table": "to_insert" - } - ] -} diff --git a/parser/testdata/01282_system_parts_ttl_info/ast.json b/parser/testdata/01282_system_parts_ttl_info/ast.json deleted file mode 100644 index 463cbbb397..0000000000 --- a/parser/testdata/01282_system_parts_ttl_info/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl", - "tables": [ - { - "table": "ttl" - } - ] -} diff --git a/parser/testdata/01283_max_threads_simple_query_optimization/ast.json b/parser/testdata/01283_max_threads_simple_query_optimization/ast.json deleted file mode 100644 index c1f40de47f..0000000000 --- a/parser/testdata/01283_max_threads_simple_query_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01283", - "tables": [ - { - "table": "data_01283" - } - ] -} diff --git a/parser/testdata/01283_strict_resize_bug/ast.json b/parser/testdata/01283_strict_resize_bug/ast.json deleted file mode 100644 index a85c024a08..0000000000 --- a/parser/testdata/01283_strict_resize_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "num_10m", - "tables": [ - { - "table": "num_10m" - } - ] -} diff --git a/parser/testdata/01284_fuzz_bits/ast.json b/parser/testdata/01284_fuzz_bits/ast.json deleted file mode 100644 index cbb9513c5f..0000000000 --- a/parser/testdata/01284_fuzz_bits/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fuzzBits", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "type": "String", - "value": "string" - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01284_view_and_extremes_bug/ast.json b/parser/testdata/01284_view_and_extremes_bug/ast.json deleted file mode 100644 index 8ed8b21a8e..0000000000 --- a/parser/testdata/01284_view_and_extremes_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view_bug_const", - "tables": [ - { - "table": "view_bug_const" - } - ] -} diff --git a/parser/testdata/01285_data_skip_index_over_aggregation/ast.json b/parser/testdata/01285_data_skip_index_over_aggregation/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/01285_data_skip_index_over_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01285_date_datetime_key_condition/ast.json b/parser/testdata/01285_date_datetime_key_condition/ast.json deleted file mode 100644 index af9c791351..0000000000 --- a/parser/testdata/01285_date_datetime_key_condition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "date_datetime_key_condition", - "tables": [ - { - "table": "date_datetime_key_condition" - } - ] -} diff --git a/parser/testdata/01286_constraints_on_default/ast.json b/parser/testdata/01286_constraints_on_default/ast.json deleted file mode 100644 index b57cb799cc..0000000000 --- a/parser/testdata/01286_constraints_on_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "default_constraints", - "tables": [ - { - "table": "default_constraints" - } - ] -} diff --git a/parser/testdata/01287_max_execution_speed/ast.json b/parser/testdata/01287_max_execution_speed/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/01287_max_execution_speed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01288_shard_max_network_bandwidth/ast.json b/parser/testdata/01288_shard_max_network_bandwidth/ast.json deleted file mode 100644 index 5e00743d89..0000000000 --- a/parser/testdata/01288_shard_max_network_bandwidth/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_network_bandwidth", - "value": { - "type": "Integer", - "value": 100000 - } - } - ] -} diff --git a/parser/testdata/01289_min_execution_speed_not_too_early/ast.json b/parser/testdata/01289_min_execution_speed_not_too_early/ast.json deleted file mode 100644 index ebd22a56e6..0000000000 --- a/parser/testdata/01289_min_execution_speed_not_too_early/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ES", - "tables": [ - { - "table": "ES" - } - ] -} diff --git a/parser/testdata/01290_empty_array_index_analysis/ast.json b/parser/testdata/01290_empty_array_index_analysis/ast.json deleted file mode 100644 index e9ec46fb22..0000000000 --- a/parser/testdata/01290_empty_array_index_analysis/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "count_lc_test", - "tables": [ - { - "table": "count_lc_test" - } - ] -} diff --git a/parser/testdata/01290_max_execution_speed_distributed/ast.json b/parser/testdata/01290_max_execution_speed_distributed/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01290_max_execution_speed_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01291_aggregation_in_order/ast.json b/parser/testdata/01291_aggregation_in_order/ast.json deleted file mode 100644 index 6ea92d0e3f..0000000000 --- a/parser/testdata/01291_aggregation_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_order", - "tables": [ - { - "table": "pk_order" - } - ] -} diff --git a/parser/testdata/01291_distributed_low_cardinality_memory_efficient/ast.json b/parser/testdata/01291_distributed_low_cardinality_memory_efficient/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/01291_distributed_low_cardinality_memory_efficient/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/01291_geo_types/ast.json b/parser/testdata/01291_geo_types/ast.json deleted file mode 100644 index 5fed5e89f1..0000000000 --- a/parser/testdata/01291_geo_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "geo", - "tables": [ - { - "table": "geo" - } - ] -} diff --git a/parser/testdata/01291_unsupported_conversion_from_decimal/ast.json b/parser/testdata/01291_unsupported_conversion_from_decimal/ast.json deleted file mode 100644 index 9ba1e29a01..0000000000 --- a/parser/testdata/01291_unsupported_conversion_from_decimal/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIntervalSecond", - "arguments": [ - { - "name": "now64" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01292_create_user/ast.json b/parser/testdata/01292_create_user/ast.json deleted file mode 100644 index df091e90a9..0000000000 --- a/parser/testdata/01292_create_user/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "if_exists": true, - "tables": [ - { - "table": "u2_01292" - }, - { - "table": "u3_01292" - }, - { - "table": "u4_01292" - }, - { - "table": "u5_01292" - }, - { - "table": "u6_01292" - }, - { - "table": "u7_01292" - }, - { - "table": "u8_01292" - }, - { - "table": "u9_01292" - } - ], - "user": "u1_01292" -} diff --git a/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/ast.json b/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/ast.json deleted file mode 100644 index 3595f1dd2b..0000000000 --- a/parser/testdata/01292_optimize_data_skip_idx_order_by_expr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01292", - "tables": [ - { - "table": "data_01292" - } - ] -} diff --git a/parser/testdata/01292_quantile_array_bug/ast.json b/parser/testdata/01292_quantile_array_bug/ast.json deleted file mode 100644 index 4c85ec0078..0000000000 --- a/parser/testdata/01292_quantile_array_bug/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesExactWeightedArray", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01293_create_role/ast.json b/parser/testdata/01293_create_role/ast.json deleted file mode 100644 index 0385138fa6..0000000000 --- a/parser/testdata/01293_create_role/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "if_exists": true, - "table": "r1_01293", - "tables": [ - { - "table": "r1_01293" - }, - { - "table": "r2_01293" - }, - { - "table": "r3_01293" - }, - { - "table": "r4_01293" - }, - { - "table": "r5_01293" - }, - { - "table": "r6_01293" - }, - { - "table": "r7_01293" - }, - { - "table": "r8_01293" - }, - { - "table": "r9_01293" - } - ] -} diff --git a/parser/testdata/01293_pretty_max_value_width/ast.json b/parser/testdata/01293_pretty_max_value_width/ast.json deleted file mode 100644 index 483cb94157..0000000000 --- a/parser/testdata/01293_pretty_max_value_width/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_max_value_width_apply_for_single_value", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01293_system_distribution_queue/ast.json b/parser/testdata/01293_system_distribution_queue/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01293_system_distribution_queue/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01294_create_settings_profile/ast.json b/parser/testdata/01294_create_settings_profile/ast.json deleted file mode 100644 index 33ae9400a4..0000000000 --- a/parser/testdata/01294_create_settings_profile/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "if_exists": true, - "table": "s1_01294", - "tables": [ - { - "table": "s1_01294" - }, - { - "table": "s2_01294" - }, - { - "table": "s3_01294" - }, - { - "table": "s4_01294" - }, - { - "table": "s5_01294" - }, - { - "table": "s6_01294" - }, - { - "table": "s7_01294" - }, - { - "table": "s8_01294" - }, - { - "table": "s9_01294" - }, - { - "table": "s10_01294" - } - ] -} diff --git a/parser/testdata/01294_system_distributed_on_cluster/ast.json b/parser/testdata/01294_system_distributed_on_cluster/ast.json deleted file mode 100644 index 80038f140a..0000000000 --- a/parser/testdata/01294_system_distributed_on_cluster/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_01294", - "drop_database": true -} diff --git a/parser/testdata/01295_aggregation_bug_11413/ast.json b/parser/testdata/01295_aggregation_bug_11413/ast.json deleted file mode 100644 index 261ba3ae25..0000000000 --- a/parser/testdata/01295_aggregation_bug_11413/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 99 - } - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "having": { - "left": { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "AND", - "right": { - "name": "argMax", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - } - } - ] -} diff --git a/parser/testdata/01295_create_row_policy/ast.json b/parser/testdata/01295_create_row_policy/ast.json deleted file mode 100644 index 7f65a9d321..0000000000 --- a/parser/testdata/01295_create_row_policy/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "if_exists": true, - "table": "p1_01295", - "tables": [ - { - "table": "p1_01295" - }, - { - "table": "p2_01295" - }, - { - "table": "p3_01295" - }, - { - "table": "p4_01295" - }, - { - "table": "p5_01295" - }, - { - "table": "p6_01295" - }, - { - "table": "p7_01295" - }, - { - "table": "p8_01295" - }, - { - "table": "p9_01295" - }, - { - "table": "p10_01295" - } - ] -} diff --git a/parser/testdata/01296_codecs_bad_arguments/ast.json b/parser/testdata/01296_codecs_bad_arguments/ast.json deleted file mode 100644 index 595c21c597..0000000000 --- a/parser/testdata/01296_codecs_bad_arguments/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "delta_table", - "tables": [ - { - "table": "delta_table" - } - ] -} diff --git a/parser/testdata/01296_create_row_policy_in_current_database/ast.json b/parser/testdata/01296_create_row_policy_in_current_database/ast.json deleted file mode 100644 index b6f63eb8db..0000000000 --- a/parser/testdata/01296_create_row_policy_in_current_database/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "if_exists": true, - "table": "p1_01296", - "tables": [ - { - "table": "p1_01296" - }, - { - "table": "p2_01296" - }, - { - "table": "p3_01296" - }, - { - "table": "p4_01296" - }, - { - "table": "p5_01296" - } - ] -} diff --git a/parser/testdata/01296_pipeline_stuck/ast.json b/parser/testdata/01296_pipeline_stuck/ast.json deleted file mode 100644 index 9619759bb0..0000000000 --- a/parser/testdata/01296_pipeline_stuck/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01295", - "tables": [ - { - "table": "data_01295" - } - ] -} diff --git a/parser/testdata/01297_alter_distributed/ast.json b/parser/testdata/01297_alter_distributed/ast.json deleted file mode 100644 index 0b1dd27e24..0000000000 --- a/parser/testdata/01297_alter_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_distributed", - "tables": [ - { - "table": "merge_distributed" - } - ] -} diff --git a/parser/testdata/01298_alter_merge/ast.json b/parser/testdata/01298_alter_merge/ast.json deleted file mode 100644 index 615a4c2c01..0000000000 --- a/parser/testdata/01298_alter_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge", - "tables": [ - { - "table": "merge" - } - ] -} diff --git a/parser/testdata/01299_alter_merge_tree/ast.json b/parser/testdata/01299_alter_merge_tree/ast.json deleted file mode 100644 index 1d5f9ced5f..0000000000 --- a/parser/testdata/01299_alter_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree", - "tables": [ - { - "table": "merge_tree" - } - ] -} diff --git a/parser/testdata/01300_group_by_other_keys/ast.json b/parser/testdata/01300_group_by_other_keys/ast.json deleted file mode 100644 index 585e011091..0000000000 --- a/parser/testdata/01300_group_by_other_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65505 - } - } - ] -} diff --git a/parser/testdata/01300_group_by_other_keys_having/ast.json b/parser/testdata/01300_group_by_other_keys_having/ast.json deleted file mode 100644 index 06c68e49c4..0000000000 --- a/parser/testdata/01300_group_by_other_keys_having/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_group_by_function_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01300_polygon_convex_hull/ast.json b/parser/testdata/01300_polygon_convex_hull/ast.json deleted file mode 100644 index c29b1f1b27..0000000000 --- a/parser/testdata/01300_polygon_convex_hull/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonConvexHullCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2 - }, - { - "type": "Float", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01300_read_wkt/ast.json b/parser/testdata/01300_read_wkt/ast.json deleted file mode 100644 index f1afb758cb..0000000000 --- a/parser/testdata/01300_read_wkt/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "readWKTPoint", - "arguments": [ - { - "type": "String", - "value": "POINT(0 0)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01300_svg/ast.json b/parser/testdata/01300_svg/ast.json deleted file mode 100644 index eb44ba2f86..0000000000 --- a/parser/testdata/01300_svg/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "SVG", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01300_wkt/ast.json b/parser/testdata/01300_wkt/ast.json deleted file mode 100644 index 36ee5bc9e8..0000000000 --- a/parser/testdata/01300_wkt/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "wkt", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01301_polygons_within/ast.json b/parser/testdata/01301_polygons_within/ast.json deleted file mode 100644 index a95ed056b9..0000000000 --- a/parser/testdata/01301_polygons_within/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsWithinCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01302_polygons_distance/ast.json b/parser/testdata/01302_polygons_distance/ast.json deleted file mode 100644 index d68e9c29d7..0000000000 --- a/parser/testdata/01302_polygons_distance/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsDistanceCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01303_polygons_equals/ast.json b/parser/testdata/01303_polygons_equals/ast.json deleted file mode 100644 index 38e0920663..0000000000 --- a/parser/testdata/01303_polygons_equals/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsEqualsCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01304_polygons_sym_difference/ast.json b/parser/testdata/01304_polygons_sym_difference/ast.json deleted file mode 100644 index c0f71260d0..0000000000 --- a/parser/testdata/01304_polygons_sym_difference/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsSymDifferenceCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01305_array_join_prewhere_in_subquery/ast.json b/parser/testdata/01305_array_join_prewhere_in_subquery/ast.json deleted file mode 100644 index c33b890d61..0000000000 --- a/parser/testdata/01305_array_join_prewhere_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h", - "tables": [ - { - "table": "h" - } - ] -} diff --git a/parser/testdata/01305_buffer_final_bug/ast.json b/parser/testdata/01305_buffer_final_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01305_buffer_final_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01305_nullable-prewhere_bug/ast.json b/parser/testdata/01305_nullable-prewhere_bug/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/01305_nullable-prewhere_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/01305_polygons_union/ast.json b/parser/testdata/01305_polygons_union/ast.json deleted file mode 100644 index e58909d4ac..0000000000 --- a/parser/testdata/01305_polygons_union/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsUnionCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Float", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 3 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01306_polygons_intersection/ast.json b/parser/testdata/01306_polygons_intersection/ast.json deleted file mode 100644 index 4e6a59054d..0000000000 --- a/parser/testdata/01306_polygons_intersection/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsIntersectionCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Float", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 3 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01307_bloom_filter_index_string_multi_granulas/ast.json b/parser/testdata/01307_bloom_filter_index_string_multi_granulas/ast.json deleted file mode 100644 index 3418f037ef..0000000000 --- a/parser/testdata/01307_bloom_filter_index_string_multi_granulas/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01307", - "tables": [ - { - "table": "test_01307" - } - ] -} diff --git a/parser/testdata/01307_polygon_perimeter/ast.json b/parser/testdata/01307_polygon_perimeter/ast.json deleted file mode 100644 index 6f10860ddd..0000000000 --- a/parser/testdata/01307_polygon_perimeter/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonPerimeterCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01308_polygon_area/ast.json b/parser/testdata/01308_polygon_area/ast.json deleted file mode 100644 index 9f834d6780..0000000000 --- a/parser/testdata/01308_polygon_area/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonAreaCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 5 - }, - { - "type": "Float", - "value": 0 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01308_row_policy_and_trivial_count_query/ast.json b/parser/testdata/01308_row_policy_and_trivial_count_query/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/01308_row_policy_and_trivial_count_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01310_enum_comparison/ast.json b/parser/testdata/01310_enum_comparison/ast.json deleted file mode 100644 index ae20d97af8..0000000000 --- a/parser/testdata/01310_enum_comparison/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "temporary": true, - "table": "enum", - "columns": [ - { - "name": "x", - "type": { - "name": "Enum", - "parameters": [ - { - "left": { - "type": "String", - "value": "hello" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "type": "String", - "value": "world" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/01311_comparison_with_constant_string/ast.json b/parser/testdata/01311_comparison_with_constant_string/ast.json deleted file mode 100644 index 55a8d9ff22..0000000000 --- a/parser/testdata/01311_comparison_with_constant_string/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "1" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01312_case_insensitive_regexp/ast.json b/parser/testdata/01312_case_insensitive_regexp/ast.json deleted file mode 100644 index d2f231a21b..0000000000 --- a/parser/testdata/01312_case_insensitive_regexp/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "Too late" - }, - { - "type": "String", - "value": "Too late" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/ast.json b/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/01312_comparison_with_constant_string_in_index_analysis/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01313_parse_date_time_best_effort_null_zero/ast.json b/parser/testdata/01313_parse_date_time_best_effort_null_zero/ast.json deleted file mode 100644 index 43bd4984e4..0000000000 --- a/parser/testdata/01313_parse_date_time_best_effort_null_zero/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "type": "String", - "value": "\u003cEmpty\u003e" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01314_position_in_system_columns/ast.json b/parser/testdata/01314_position_in_system_columns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01314_position_in_system_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01315_count_distinct_return_not_nullable/ast.json b/parser/testdata/01315_count_distinct_return_not_nullable/ast.json deleted file mode 100644 index 1956235e70..0000000000 --- a/parser/testdata/01315_count_distinct_return_not_nullable/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniq", - "arguments": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 10 - } - }, - "then": { - "parts": [ - "number" - ] - }, - "else": { - "type": "Null", - "value": null - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01318_alter_add_column_exists/ast.json b/parser/testdata/01318_alter_add_column_exists/ast.json deleted file mode 100644 index 1da8b9e1ab..0000000000 --- a/parser/testdata/01318_alter_add_column_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "add_table", - "tables": [ - { - "table": "add_table" - } - ] -} diff --git a/parser/testdata/01318_decrypt/ast.json b/parser/testdata/01318_decrypt/ast.json deleted file mode 100644 index 01c8481db9..0000000000 --- a/parser/testdata/01318_decrypt/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "aes_decrypt_mysql" - } - ] - } - ] -} diff --git a/parser/testdata/01318_encrypt/ast.json b/parser/testdata/01318_encrypt/ast.json deleted file mode 100644 index 0b8c5ba24a..0000000000 --- a/parser/testdata/01318_encrypt/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "aes_encrypt_mysql" - } - ] - } - ] -} diff --git a/parser/testdata/01318_map_add_map_subtract/ast.json b/parser/testdata/01318_map_add_map_subtract/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01318_map_add_map_subtract/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01318_map_add_map_subtract_on_map_type/ast.json b/parser/testdata/01318_map_add_map_subtract_on_map_type/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01318_map_add_map_subtract_on_map_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01318_map_populate_series/ast.json b/parser/testdata/01318_map_populate_series/ast.json deleted file mode 100644 index ea07bcd0cc..0000000000 --- a/parser/testdata/01318_map_populate_series/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_test", - "tables": [ - { - "table": "map_test" - } - ] -} diff --git a/parser/testdata/01318_parallel_final_stuck/ast.json b/parser/testdata/01318_parallel_final_stuck/ast.json deleted file mode 100644 index 9b8977d29f..0000000000 --- a/parser/testdata/01318_parallel_final_stuck/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "final_bug", - "tables": [ - { - "table": "final_bug" - } - ] -} diff --git a/parser/testdata/01319_manual_write_to_replicas_long/ast.json b/parser/testdata/01319_manual_write_to_replicas_long/ast.json deleted file mode 100644 index adecfca306..0000000000 --- a/parser/testdata/01319_manual_write_to_replicas_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "r1", - "tables": [ - { - "table": "r1" - } - ] -} diff --git a/parser/testdata/01319_mv_constants_bug/ast.json b/parser/testdata/01319_mv_constants_bug/ast.json deleted file mode 100644 index e70acae3b8..0000000000 --- a/parser/testdata/01319_mv_constants_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "distributed_table_merged", - "tables": [ - { - "table": "distributed_table_merged" - } - ] -} diff --git a/parser/testdata/01319_optimize_skip_unused_shards_nesting/ast.json b/parser/testdata/01319_optimize_skip_unused_shards_nesting/ast.json deleted file mode 100644 index addd69f18c..0000000000 --- a/parser/testdata/01319_optimize_skip_unused_shards_nesting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01319", - "tables": [ - { - "table": "data_01319" - } - ] -} diff --git a/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/ast.json b/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/ast.json deleted file mode 100644 index fa9b32866a..0000000000 --- a/parser/testdata/01320_optimize_skip_unused_shards_no_non_deterministic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01320", - "tables": [ - { - "table": "data_01320" - } - ] -} diff --git a/parser/testdata/01321_aggregate_functions_of_group_by_keys/ast.json b/parser/testdata/01321_aggregate_functions_of_group_by_keys/ast.json deleted file mode 100644 index bb977abdf9..0000000000 --- a/parser/testdata/01321_aggregate_functions_of_group_by_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_aggregators_of_group_by_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01322_cast_keep_nullable/ast.json b/parser/testdata/01322_cast_keep_nullable/ast.json deleted file mode 100644 index 5d9909b85e..0000000000 --- a/parser/testdata/01322_cast_keep_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01323_add_scalars_in_time/ast.json b/parser/testdata/01323_add_scalars_in_time/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/01323_add_scalars_in_time/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01323_bad_arg_in_arithmetic_operations/ast.json b/parser/testdata/01323_bad_arg_in_arithmetic_operations/ast.json deleted file mode 100644 index f8e1f04506..0000000000 --- a/parser/testdata/01323_bad_arg_in_arithmetic_operations/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_arithmetic_operations_in_aggregate_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01323_if_with_nulls/ast.json b/parser/testdata/01323_if_with_nulls/ast.json deleted file mode 100644 index 8adc36adea..0000000000 --- a/parser/testdata/01323_if_with_nulls/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "toNullable", - "arguments": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "type": "Null", - "value": null - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01323_redundant_functions_in_order_by/ast.json b/parser/testdata/01323_redundant_functions_in_order_by/ast.json deleted file mode 100644 index 7bec563b32..0000000000 --- a/parser/testdata/01323_redundant_functions_in_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "single_join_prefer_left_table", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01323_too_many_threads_bug/ast.json b/parser/testdata/01323_too_many_threads_bug/ast.json deleted file mode 100644 index 64205c9e64..0000000000 --- a/parser/testdata/01323_too_many_threads_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_01323_many_parts", - "tables": [ - { - "table": "table_01323_many_parts" - } - ] -} diff --git a/parser/testdata/01324_if_transform_strings_to_enum/ast.json b/parser/testdata/01324_if_transform_strings_to_enum/ast.json deleted file mode 100644 index 757963ac58..0000000000 --- a/parser/testdata/01324_if_transform_strings_to_enum/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_if_transform_strings_to_enum", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01324_insert_tsv_raw/ast.json b/parser/testdata/01324_insert_tsv_raw/ast.json deleted file mode 100644 index 372d252c4f..0000000000 --- a/parser/testdata/01324_insert_tsv_raw/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tsv_raw", - "tables": [ - { - "table": "tsv_raw" - } - ] -} diff --git a/parser/testdata/01324_settings_documentation/ast.json b/parser/testdata/01324_settings_documentation/ast.json deleted file mode 100644 index dbe4eb5df1..0000000000 --- a/parser/testdata/01324_settings_documentation/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Settings description should start with capital letter" - } - ] - } - ] -} diff --git a/parser/testdata/01325_freeze_mutation_stuck/ast.json b/parser/testdata/01325_freeze_mutation_stuck/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/01325_freeze_mutation_stuck/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/01326_build_id/ast.json b/parser/testdata/01326_build_id/ast.json deleted file mode 100644 index fff33cdd55..0000000000 --- a/parser/testdata/01326_build_id/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "length", - "arguments": [ - { - "name": "buildId" - } - ] - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 16 - } - } - ] - } - ] -} diff --git a/parser/testdata/01326_fixed_string_comparison_denny_crane/ast.json b/parser/testdata/01326_fixed_string_comparison_denny_crane/ast.json deleted file mode 100644 index 5ef95d2d01..0000000000 --- a/parser/testdata/01326_fixed_string_comparison_denny_crane/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toFixedString", - "arguments": [ - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "202005295555" - } - ] - }, - { - "type": "Integer", - "value": 15 - } - ] - }, - "op": "\u003e", - "right": { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "20200529" - } - ] - } - }, - "alias": "r" - } - ] - } - ] -} diff --git a/parser/testdata/01326_hostname_alias/ast.json b/parser/testdata/01326_hostname_alias/ast.json deleted file mode 100644 index 7483222a53..0000000000 --- a/parser/testdata/01326_hostname_alias/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "hostname" - }, - "op": "=", - "right": { - "name": "hostName" - } - } - ] - } - ] -} diff --git a/parser/testdata/01327_decimal_cut_extra_digits_after_point/ast.json b/parser/testdata/01327_decimal_cut_extra_digits_after_point/ast.json deleted file mode 100644 index ce92ac9415..0000000000 --- a/parser/testdata/01327_decimal_cut_extra_digits_after_point/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "1.1" - }, - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/01328_bad_peephole_optimization/ast.json b/parser/testdata/01328_bad_peephole_optimization/ast.json deleted file mode 100644 index 44e4f6e226..0000000000 --- a/parser/testdata/01328_bad_peephole_optimization/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "max", - "arguments": [ - { - "left": { - "parts": [ - "a" - ] - }, - "op": "+", - "right": { - "parts": [ - "b" - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01329_compare_tuple_string_constant/ast.json b/parser/testdata/01329_compare_tuple_string_constant/ast.json deleted file mode 100644 index d540ebbc4f..0000000000 --- a/parser/testdata/01329_compare_tuple_string_constant/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "\u003c", - "right": { - "type": "String", - "value": "" - } - } - ] - } - ] -} diff --git a/parser/testdata/01330_array_join_in_higher_order_function/ast.json b/parser/testdata/01330_array_join_in_higher_order_function/ast.json deleted file mode 100644 index 205641f268..0000000000 --- a/parser/testdata/01330_array_join_in_higher_order_function/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01332_join_type_syntax_position/ast.json b/parser/testdata/01332_join_type_syntax_position/ast.json deleted file mode 100644 index 5454ce0abf..0000000000 --- a/parser/testdata/01332_join_type_syntax_position/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "alias": "t2" - }, - "join": { - "type": "LEFT", - "using": [ - { - "parts": [ - "number" - ] - } - ] - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01333_select_abc_asterisk/ast.json b/parser/testdata/01333_select_abc_asterisk/ast.json deleted file mode 100644 index d7e559873f..0000000000 --- a/parser/testdata/01333_select_abc_asterisk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ] - } - ] -} diff --git a/parser/testdata/01338_sha256_fixedstring/ast.json b/parser/testdata/01338_sha256_fixedstring/ast.json deleted file mode 100644 index e4fe2523b9..0000000000 --- a/parser/testdata/01338_sha256_fixedstring/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "SHA256", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01338_uuid_without_separator/ast.json b/parser/testdata/01338_uuid_without_separator/ast.json deleted file mode 100644 index a0377ecbe2..0000000000 --- a/parser/testdata/01338_uuid_without_separator/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "417ddc5de5564d2795dda34d84e46a50" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01340_datetime64_fpe/ast.json b/parser/testdata/01340_datetime64_fpe/ast.json deleted file mode 100644 index 4e28f26827..0000000000 --- a/parser/testdata/01340_datetime64_fpe/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "dt64", - "query": { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2019-09-16 19:20:12.3456789102019-09-16 19:20:12.345678910" - }, - { - "type": "Integer", - "value": 0 - } - ] - } - } - ], - "columns": [ - { - "parts": [ - "dt64" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01341_datetime64_wrong_supertype/ast.json b/parser/testdata/01341_datetime64_wrong_supertype/ast.json deleted file mode 100644 index 7f53e8fee7..0000000000 --- a/parser/testdata/01341_datetime64_wrong_supertype/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2000-01-01 01:01:01.123" - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2000-01-01 01:01:01.123456" - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01343_min_bytes_to_use_mmap_io/ast.json b/parser/testdata/01343_min_bytes_to_use_mmap_io/ast.json deleted file mode 100644 index 73a8321750..0000000000 --- a/parser/testdata/01343_min_bytes_to_use_mmap_io/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01343", - "tables": [ - { - "table": "test_01343" - } - ] -} diff --git a/parser/testdata/01344_alter_enum_partition_key/ast.json b/parser/testdata/01344_alter_enum_partition_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01344_alter_enum_partition_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01344_min_bytes_to_use_mmap_io_index/ast.json b/parser/testdata/01344_min_bytes_to_use_mmap_io_index/ast.json deleted file mode 100644 index c0944893c9..0000000000 --- a/parser/testdata/01344_min_bytes_to_use_mmap_io_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01344", - "tables": [ - { - "table": "test_01344" - } - ] -} diff --git a/parser/testdata/01345_array_join_LittleMaverick/ast.json b/parser/testdata/01345_array_join_LittleMaverick/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01345_array_join_LittleMaverick/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01345_index_date_vs_datetime/ast.json b/parser/testdata/01345_index_date_vs_datetime/ast.json deleted file mode 100644 index 848f767c94..0000000000 --- a/parser/testdata/01345_index_date_vs_datetime/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index", - "tables": [ - { - "table": "index" - } - ] -} diff --git a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/ast.json b/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/01346_alter_enum_partition_key_replicated_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01346_array_join_mrxotey/ast.json b/parser/testdata/01346_array_join_mrxotey/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01346_array_join_mrxotey/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01347_partition_date_vs_datetime/ast.json b/parser/testdata/01347_partition_date_vs_datetime/ast.json deleted file mode 100644 index 92e68846fe..0000000000 --- a/parser/testdata/01347_partition_date_vs_datetime/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_datetime", - "tables": [ - { - "table": "test_datetime" - } - ] -} diff --git a/parser/testdata/01349_mutation_datetime_key/ast.json b/parser/testdata/01349_mutation_datetime_key/ast.json deleted file mode 100644 index 09c042c48f..0000000000 --- a/parser/testdata/01349_mutation_datetime_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cdp_orders", - "tables": [ - { - "table": "cdp_orders" - } - ] -} diff --git a/parser/testdata/01350_intdiv_nontrivial_fpe/ast.json b/parser/testdata/01350_intdiv_nontrivial_fpe/ast.json deleted file mode 100644 index 356c58079c..0000000000 --- a/parser/testdata/01350_intdiv_nontrivial_fpe/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 255 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01351_parse_date_time_best_effort_us/ast.json b/parser/testdata/01351_parse_date_time_best_effort_us/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/01351_parse_date_time_best_effort_us/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01352_add_datetime_bad_get/ast.json b/parser/testdata/01352_add_datetime_bad_get/ast.json deleted file mode 100644 index 7da29765c1..0000000000 --- a/parser/testdata/01352_add_datetime_bad_get/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "addMonths", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2017-11-05 08:07:47" - } - ] - } - ] - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01353_neighbor_overflow/ast.json b/parser/testdata/01353_neighbor_overflow/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/01353_neighbor_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01353_nullable_tuple/ast.json b/parser/testdata/01353_nullable_tuple/ast.json deleted file mode 100644 index c0f38bb462..0000000000 --- a/parser/testdata/01353_nullable_tuple/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "single argument" - } - ] - } - ] -} diff --git a/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/ast.json b/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/ast.json deleted file mode 100644 index 74773ab419..0000000000 --- a/parser/testdata/01354_tuple_low_cardinality_array_mapped_bug/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - "op": "=", - "right": { - "type": "String", - "value": "pattern" - } - } - }, - { - "expr": { - "type": "Array", - "value": [ - { - "name": "tuple", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "Tuple", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - }, - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01355_alter_column_with_order/ast.json b/parser/testdata/01355_alter_column_with_order/ast.json deleted file mode 100644 index 0c63be8821..0000000000 --- a/parser/testdata/01355_alter_column_with_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_01355", - "tables": [ - { - "table": "alter_01355" - } - ] -} diff --git a/parser/testdata/01355_if_fixed_string/ast.json b/parser/testdata/01355_if_fixed_string/ast.json deleted file mode 100644 index a411d21843..0000000000 --- a/parser/testdata/01355_if_fixed_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_multiif_to_if", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01355_ilike/ast.json b/parser/testdata/01355_ilike/ast.json deleted file mode 100644 index 452edce241..0000000000 --- a/parser/testdata/01355_ilike/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "Hello" - }, - "case_insensitive": true, - "pattern": { - "type": "String", - "value": "" - } - } - ] - } - ] -} diff --git a/parser/testdata/01356_initialize_aggregation/ast.json b/parser/testdata/01356_initialize_aggregation/ast.json deleted file mode 100644 index 861eb90c8d..0000000000 --- a/parser/testdata/01356_initialize_aggregation/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqMerge", - "arguments": [ - { - "parts": [ - "state" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "uniqState" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "state" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01356_state_resample/ast.json b/parser/testdata/01356_state_resample/ast.json deleted file mode 100644 index 131390cfa6..0000000000 --- a/parser/testdata/01356_state_resample/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumResample", - "parameters": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 20 - }, - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 200 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01356_view_threads/ast.json b/parser/testdata/01356_view_threads/ast.json deleted file mode 100644 index de28dfab91..0000000000 --- a/parser/testdata/01356_view_threads/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_01356_view_threads", - "tables": [ - { - "table": "table_01356_view_threads" - } - ] -} diff --git a/parser/testdata/01356_wrong_filter-type_bug/ast.json b/parser/testdata/01356_wrong_filter-type_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01356_wrong_filter-type_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01357_result_rows/ast.json b/parser/testdata/01357_result_rows/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01357_result_rows/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/ast.json b/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/ast.json deleted file mode 100644 index 42f4d60cae..0000000000 --- a/parser/testdata/01357_version_collapsing_attach_detach_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "versioned_collapsing_table", - "tables": [ - { - "table": "versioned_collapsing_table" - } - ] -} diff --git a/parser/testdata/01358_constexpr_constraint/ast.json b/parser/testdata/01358_constexpr_constraint/ast.json deleted file mode 100644 index aae08555ef..0000000000 --- a/parser/testdata/01358_constexpr_constraint/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "temporary": true, - "table": "constrained", - "columns": [ - { - "name": "URL", - "type": { - "name": "String" - } - } - ], - "constraints": [ - { - "name": "identity", - "expression": { - "left": { - "name": "domainWithoutWWW", - "arguments": [ - { - "parts": [ - "URL" - ] - } - ] - }, - "op": "=", - "right": { - "name": "domainWithoutWWW", - "arguments": [ - { - "parts": [ - "URL" - ] - } - ] - } - } - }, - { - "name": "is_utf8", - "expression": { - "name": "isValidUTF8", - "arguments": [ - { - "parts": [ - "URL" - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/01358_mutation_delete_null_rows/ast.json b/parser/testdata/01358_mutation_delete_null_rows/ast.json deleted file mode 100644 index b6b753e960..0000000000 --- a/parser/testdata/01358_mutation_delete_null_rows/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--------" - } - ] - } - ] -} diff --git a/parser/testdata/01358_union_threads_bug/ast.json b/parser/testdata/01358_union_threads_bug/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01358_union_threads_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01359_codeql/ast.json b/parser/testdata/01359_codeql/ast.json deleted file mode 100644 index 1aaaf56a1f..0000000000 --- a/parser/testdata/01359_codeql/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "avgWeighted", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 4294967295 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 1000000000 - }, - "alias": "y" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "y" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01360_division_overflow/ast.json b/parser/testdata/01360_division_overflow/ast.json deleted file mode 100644 index b268177351..0000000000 --- a/parser/testdata/01360_division_overflow/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 4294967296 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01360_materialized_view_with_join_on_query_log/ast.json b/parser/testdata/01360_materialized_view_with_join_on_query_log/ast.json deleted file mode 100644 index df7d138631..0000000000 --- a/parser/testdata/01360_materialized_view_with_join_on_query_log/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "slow_log", - "tables": [ - { - "table": "slow_log" - } - ] -} diff --git a/parser/testdata/01361_buffer_table_flush_with_materialized_view/ast.json b/parser/testdata/01361_buffer_table_flush_with_materialized_view/ast.json deleted file mode 100644 index 7424ff089d..0000000000 --- a/parser/testdata/01361_buffer_table_flush_with_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1_01361", - "tables": [ - { - "table": "t1_01361" - } - ] -} diff --git a/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/ast.json b/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/ast.json deleted file mode 100644 index 51edee23da..0000000000 --- a/parser/testdata/01362_year_of_ISO8601_week_modificators_for_formatDateTime/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2010-01-01" - } - ] - }, - { - "type": "String", - "value": "%G" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01372_remote_table_function_empty_table/ast.json b/parser/testdata/01372_remote_table_function_empty_table/ast.json deleted file mode 100644 index 51ab6e5d67..0000000000 --- a/parser/testdata/01372_remote_table_function_empty_table/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127..2" - }, - { - "type": "String", - "value": "a." - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01372_wrong_order_by_removal/ast.json b/parser/testdata/01372_wrong_order_by_removal/ast.json deleted file mode 100644 index f84d75029c..0000000000 --- a/parser/testdata/01372_wrong_order_by_removal/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "temporary": true, - "table": "moving_sum_num", - "columns": [ - { - "name": "k", - "type": { - "name": "String" - } - }, - { - "name": "dt", - "type": { - "name": "DateTime" - } - }, - { - "name": "v", - "type": { - "name": "UInt64" - } - } - ] -} diff --git a/parser/testdata/01373_is_zero_or_null/ast.json b/parser/testdata/01373_is_zero_or_null/ast.json deleted file mode 100644 index 45e34df3f9..0000000000 --- a/parser/testdata/01373_is_zero_or_null/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "NOT", - "operand": { - "parts": [ - "x" - ] - } - }, - { - "name": "isZeroOrNull", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 3 - } - }, - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01373_summing_merge_tree_exclude_partition_key/ast.json b/parser/testdata/01373_summing_merge_tree_exclude_partition_key/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/01373_summing_merge_tree_exclude_partition_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/ast.json b/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/ast.json deleted file mode 100644 index eb050e22fb..0000000000 --- a/parser/testdata/01373_summing_merge_tree_explicit_columns_definition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt_error_1373", - "tables": [ - { - "table": "tt_error_1373" - } - ] -} diff --git a/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/ast.json b/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/ast.json deleted file mode 100644 index ac7521592e..0000000000 --- a/parser/testdata/01375_GROUP_BY_injective_elimination_dictGet_BAD_ARGUMENTS/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dictGetString", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "default" - }, - { - "type": "String", - "value": ".countryId" - } - ] - }, - { - "type": "String", - "value": "country" - }, - { - "name": "toUInt64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "country" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "country" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01375_compact_parts_codecs/ast.json b/parser/testdata/01375_compact_parts_codecs/ast.json deleted file mode 100644 index be942cd4ae..0000000000 --- a/parser/testdata/01375_compact_parts_codecs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "codecs", - "tables": [ - { - "table": "codecs" - } - ] -} diff --git a/parser/testdata/01375_null_issue_3767/ast.json b/parser/testdata/01375_null_issue_3767/ast.json deleted file mode 100644 index e87e164e7f..0000000000 --- a/parser/testdata/01375_null_issue_3767/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_issue_3767", - "tables": [ - { - "table": "null_issue_3767" - } - ] -} diff --git a/parser/testdata/01375_storage_file_write_prefix_csv_with_names/ast.json b/parser/testdata/01375_storage_file_write_prefix_csv_with_names/ast.json deleted file mode 100644 index 60f03372c2..0000000000 --- a/parser/testdata/01375_storage_file_write_prefix_csv_with_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp_01375", - "tables": [ - { - "table": "tmp_01375" - } - ] -} diff --git a/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/ast.json b/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/ast.json deleted file mode 100644 index 60f03372c2..0000000000 --- a/parser/testdata/01375_storage_file_write_prefix_tsv_with_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp_01375", - "tables": [ - { - "table": "tmp_01375" - } - ] -} diff --git a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/ast.json b/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/ast.json deleted file mode 100644 index 21ae97c257..0000000000 --- a/parser/testdata/01376_GROUP_BY_injective_elimination_dictGet/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dictGet", - "arguments": [ - { - "type": "String", - "value": "default.countryId" - }, - { - "type": "String", - "value": "country" - }, - { - "name": "toUInt64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "country" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "country" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01376_array_fill_empty/ast.json b/parser/testdata/01376_array_fill_empty/ast.json deleted file mode 100644 index 4692ca7a28..0000000000 --- a/parser/testdata/01376_array_fill_empty/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFill", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - } - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01376_null_logical/ast.json b/parser/testdata/01376_null_logical/ast.json deleted file mode 100644 index 40f0792e4c..0000000000 --- a/parser/testdata/01376_null_logical/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "OR", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01377_supertype_low_cardinality/ast.json b/parser/testdata/01377_supertype_low_cardinality/ast.json deleted file mode 100644 index 1d8c7c1b35..0000000000 --- a/parser/testdata/01377_supertype_low_cardinality/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "hello" - } - ] - }, - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "hello" - } - ] - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] -} diff --git a/parser/testdata/01378_alter_rename_with_ttl_zookeeper/ast.json b/parser/testdata/01378_alter_rename_with_ttl_zookeeper/ast.json deleted file mode 100644 index d208ad7d61..0000000000 --- a/parser/testdata/01378_alter_rename_with_ttl_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_rename_with_ttl", - "tables": [ - { - "table": "table_rename_with_ttl" - } - ] -} diff --git a/parser/testdata/01380_nullable_state/ast.json b/parser/testdata/01380_nullable_state/ast.json deleted file mode 100644 index 5f1b646408..0000000000 --- a/parser/testdata/01380_nullable_state/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "name": "uniqState", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ], - "with_totals": true - } - ] -} diff --git a/parser/testdata/01381_for_each_with_states/ast.json b/parser/testdata/01381_for_each_with_states/ast.json deleted file mode 100644 index 49273b9c90..0000000000 --- a/parser/testdata/01381_for_each_with_states/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "name": "uniqStateForEach", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01383_remote_ambiguous_column_shard/ast.json b/parser/testdata/01383_remote_ambiguous_column_shard/ast.json deleted file mode 100644 index 459bf41791..0000000000 --- a/parser/testdata/01383_remote_ambiguous_column_shard/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_01383", - "drop_database": true -} diff --git a/parser/testdata/01384_bloom_filter_bad_arguments/ast.json b/parser/testdata/01384_bloom_filter_bad_arguments/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01384_bloom_filter_bad_arguments/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01385_not_function/ast.json b/parser/testdata/01385_not_function/ast.json deleted file mode 100644 index 5383988953..0000000000 --- a/parser/testdata/01385_not_function/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "!=", - "right": { - "op": "NOT", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/01386_negative_float_constant_key_condition/ast.json b/parser/testdata/01386_negative_float_constant_key_condition/ast.json deleted file mode 100644 index f9c52246f2..0000000000 --- a/parser/testdata/01386_negative_float_constant_key_condition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01387_clear_column_default_depends/ast.json b/parser/testdata/01387_clear_column_default_depends/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01387_clear_column_default_depends/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01388_clear_all_columns/ast.json b/parser/testdata/01388_clear_all_columns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01388_clear_all_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01388_multi_if_optimization/ast.json b/parser/testdata/01388_multi_if_optimization/ast.json deleted file mode 100644 index b48681ed88..0000000000 --- a/parser/testdata/01388_multi_if_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_if_chain_to_multiif", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01389_filter_by_virtual_columns/ast.json b/parser/testdata/01389_filter_by_virtual_columns/ast.json deleted file mode 100644 index 27f4f37aac..0000000000 --- a/parser/testdata/01389_filter_by_virtual_columns/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "parts" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "table" - ] - }, - "op": "=", - "right": { - "type": "Null", - "value": null - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "name": "currentDatabase" - } - } - } - } - ] -} diff --git a/parser/testdata/01390_check_table_codec/ast.json b/parser/testdata/01390_check_table_codec/ast.json deleted file mode 100644 index adf1f0a3fa..0000000000 --- a/parser/testdata/01390_check_table_codec/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "check_query_single_value_result", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01390_remove_injective_in_uniq/ast.json b/parser/testdata/01390_remove_injective_in_uniq/ast.json deleted file mode 100644 index c8931ce24e..0000000000 --- a/parser/testdata/01390_remove_injective_in_uniq/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_injective_functions_inside_uniq", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01391_join_on_dict_crash/ast.json b/parser/testdata/01391_join_on_dict_crash/ast.json deleted file mode 100644 index 40c9a1e063..0000000000 --- a/parser/testdata/01391_join_on_dict_crash/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "click_city_id", - "type": { - "name": "UInt32" - } - }, - { - "name": "click_country_id", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/01391_limit_overflow/ast.json b/parser/testdata/01391_limit_overflow/ast.json deleted file mode 100644 index 658b142e70..0000000000 --- a/parser/testdata/01391_limit_overflow/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 9223372036854775807 - }, - "offset": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01396_low_cardinality_fixed_string_default/ast.json b/parser/testdata/01396_low_cardinality_fixed_string_default/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01396_low_cardinality_fixed_string_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01396_negative_datetime_saturate_to_zero/ast.json b/parser/testdata/01396_negative_datetime_saturate_to_zero/ast.json deleted file mode 100644 index 7da47e5438..0000000000 --- a/parser/testdata/01396_negative_datetime_saturate_to_zero/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toTimeZone", - "arguments": [ - { - "name": "now" - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - }, - "op": "\u003e", - "right": { - "type": "String", - "value": "1970-01-01 00:00:00" - } - } - ] - } - ] -} diff --git a/parser/testdata/01397_in_bad_arguments/ast.json b/parser/testdata/01397_in_bad_arguments/ast.json deleted file mode 100644 index a758c8cac2..0000000000 --- a/parser/testdata/01397_in_bad_arguments/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "in", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01398_in_tuple_func/ast.json b/parser/testdata/01398_in_tuple_func/ast.json deleted file mode 100644 index f0990b1a94..0000000000 --- a/parser/testdata/01398_in_tuple_func/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "list": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ], - "settings": [ - { - "name": "max_temporary_columns", - "value": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] -} diff --git a/parser/testdata/01400_join_get_with_multi_keys/ast.json b/parser/testdata/01400_join_get_with_multi_keys/ast.json deleted file mode 100644 index 6ece98ae8f..0000000000 --- a/parser/testdata/01400_join_get_with_multi_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_joinGet", - "tables": [ - { - "table": "test_joinGet" - } - ] -} diff --git a/parser/testdata/01402_cast_nullable_string_to_enum/ast.json b/parser/testdata/01402_cast_nullable_string_to_enum/ast.json deleted file mode 100644 index 5d9909b85e..0000000000 --- a/parser/testdata/01402_cast_nullable_string_to_enum/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01403_datetime64_constant_arg/ast.json b/parser/testdata/01403_datetime64_constant_arg/ast.json deleted file mode 100644 index 6548219da1..0000000000 --- a/parser/testdata/01403_datetime64_constant_arg/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "name": "fromUnixTimestamp64Micro", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "type": "String", - "value": "UTC" - } - ], - "alias": "ts" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "ts" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "op": "=", - "right": { - "parts": [ - "ts" - ] - } - } - } - ] -} diff --git a/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/ast.json b/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/ast.json deleted file mode 100644 index a9f45f194a..0000000000 --- a/parser/testdata/01404_roundUpToPowerOfTwoOrZero_safety/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "0.0001048576" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 255 - } - } - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 65535 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01408_range_overflow/ast.json b/parser/testdata/01408_range_overflow/ast.json deleted file mode 100644 index 1b185e7f84..0000000000 --- a/parser/testdata/01408_range_overflow/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 1025 - }, - { - "left": { - "type": "Integer", - "value": 1048576 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 9223372036854775807 - } - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01409_topK_merge/ast.json b/parser/testdata/01409_topK_merge/ast.json deleted file mode 100644 index 6ef1ebe00d..0000000000 --- a/parser/testdata/01409_topK_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01409", - "tables": [ - { - "table": "data_01409" - } - ] -} diff --git a/parser/testdata/01410_full_join_and_null_predicates/ast.json b/parser/testdata/01410_full_join_and_null_predicates/ast.json deleted file mode 100644 index 6eb407eccc..0000000000 --- a/parser/testdata/01410_full_join_and_null_predicates/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "l", - "tables": [ - { - "table": "l" - } - ] -} diff --git a/parser/testdata/01410_nullable_key_and_index/ast.json b/parser/testdata/01410_nullable_key_and_index/ast.json deleted file mode 100644 index 2128cf3862..0000000000 --- a/parser/testdata/01410_nullable_key_and_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nullable_key", - "tables": [ - { - "table": "nullable_key" - } - ] -} diff --git a/parser/testdata/01410_nullable_key_and_index_negate_cond/ast.json b/parser/testdata/01410_nullable_key_and_index_negate_cond/ast.json deleted file mode 100644 index 29ba2e6f70..0000000000 --- a/parser/testdata/01410_nullable_key_and_index_negate_cond/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_23634", - "tables": [ - { - "table": "test_23634" - } - ] -} diff --git a/parser/testdata/01411_from_unixtime/ast.json b/parser/testdata/01411_from_unixtime/ast.json deleted file mode 100644 index d3713dc10b..0000000000 --- a/parser/testdata/01411_from_unixtime/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "FROM_UNIXTIME", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - }, - { - "type": "String", - "value": "%Y-%m-%d %R:%S" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01411_xor_itai_shirav/ast.json b/parser/testdata/01411_xor_itai_shirav/ast.json deleted file mode 100644 index 2ef220cd65..0000000000 --- a/parser/testdata/01411_xor_itai_shirav/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "xor", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01412_group_array_moving_shard/ast.json b/parser/testdata/01412_group_array_moving_shard/ast.json deleted file mode 100644 index 64d1e7bc18..0000000000 --- a/parser/testdata/01412_group_array_moving_shard/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayMovingSum", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01412_mod_float/ast.json b/parser/testdata/01412_mod_float/ast.json deleted file mode 100644 index 1bf62d6389..0000000000 --- a/parser/testdata/01412_mod_float/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "a", - "query": { - "type": "Float", - "value": 8.5 - } - }, - { - "name": "b", - "query": { - "type": "Float", - "value": 2.5 - } - } - ], - "columns": [ - { - "left": { - "parts": [ - "a" - ] - }, - "op": "%", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "op": "-", - "operand": { - "parts": [ - "a" - ] - } - }, - "op": "%", - "right": { - "parts": [ - "b" - ] - } - }, - { - "left": { - "parts": [ - "a" - ] - }, - "op": "%", - "right": { - "op": "-", - "operand": { - "parts": [ - "b" - ] - } - } - }, - { - "left": { - "op": "-", - "operand": { - "parts": [ - "a" - ] - } - }, - "op": "%", - "right": { - "op": "-", - "operand": { - "parts": [ - "b" - ] - } - } - } - ] - } - ] -} diff --git a/parser/testdata/01412_optimize_deduplicate_bug/ast.json b/parser/testdata/01412_optimize_deduplicate_bug/ast.json deleted file mode 100644 index c80d7c305d..0000000000 --- a/parser/testdata/01412_optimize_deduplicate_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tesd_dedupl", - "tables": [ - { - "table": "tesd_dedupl" - } - ] -} diff --git a/parser/testdata/01412_row_from_totals/ast.json b/parser/testdata/01412_row_from_totals/ast.json deleted file mode 100644 index 065b3cbeb3..0000000000 --- a/parser/testdata/01412_row_from_totals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tracking_events_tmp", - "tables": [ - { - "table": "tracking_events_tmp" - } - ] -} diff --git a/parser/testdata/01413_allow_non_metadata_alters/ast.json b/parser/testdata/01413_allow_non_metadata_alters/ast.json deleted file mode 100644 index 26c4ba19dc..0000000000 --- a/parser/testdata/01413_allow_non_metadata_alters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "non_metadata_alters", - "tables": [ - { - "table": "non_metadata_alters" - } - ] -} diff --git a/parser/testdata/01413_alter_update_supertype/ast.json b/parser/testdata/01413_alter_update_supertype/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01413_alter_update_supertype/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01413_if_array_uuid/ast.json b/parser/testdata/01413_if_array_uuid/ast.json deleted file mode 100644 index a316dbe215..0000000000 --- a/parser/testdata/01413_if_array_uuid/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "Array", - "value": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "00000000-e1fe-11e9-bb8f-853d60c00749" - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "11111111-e1fe-11e9-bb8f-853d60c00749" - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01413_rows_events/ast.json b/parser/testdata/01413_rows_events/ast.json deleted file mode 100644 index 2af411c402..0000000000 --- a/parser/testdata/01413_rows_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rows_events_test", - "tables": [ - { - "table": "rows_events_test" - } - ] -} diff --git a/parser/testdata/01413_truncate_without_table_keyword/ast.json b/parser/testdata/01413_truncate_without_table_keyword/ast.json deleted file mode 100644 index 28a4f580a7..0000000000 --- a/parser/testdata/01413_truncate_without_table_keyword/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "truncate_test", - "tables": [ - { - "table": "truncate_test" - } - ] -} diff --git a/parser/testdata/01414_bloom_filter_index_with_const_column/ast.json b/parser/testdata/01414_bloom_filter_index_with_const_column/ast.json deleted file mode 100644 index 7d99e08564..0000000000 --- a/parser/testdata/01414_bloom_filter_index_with_const_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_bloom_filter_index", - "tables": [ - { - "table": "test_bloom_filter_index" - } - ] -} diff --git a/parser/testdata/01414_freeze_does_not_prevent_alters/ast.json b/parser/testdata/01414_freeze_does_not_prevent_alters/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01414_freeze_does_not_prevent_alters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01414_low_cardinality_nullable/ast.json b/parser/testdata/01414_low_cardinality_nullable/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/01414_low_cardinality_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01414_mutations_and_errors/ast.json b/parser/testdata/01414_mutations_and_errors/ast.json deleted file mode 100644 index a6c08c935a..0000000000 --- a/parser/testdata/01414_mutations_and_errors/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mutation_table", - "tables": [ - { - "table": "mutation_table" - } - ] -} diff --git a/parser/testdata/01414_push_predicate_when_contains_with_clause/ast.json b/parser/testdata/01414_push_predicate_when_contains_with_clause/ast.json deleted file mode 100644 index 4a697623af..0000000000 --- a/parser/testdata/01414_push_predicate_when_contains_with_clause/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_indexed", - "tables": [ - { - "table": "numbers_indexed" - } - ] -} diff --git a/parser/testdata/01415_inconsistent_merge_tree_settings/ast.json b/parser/testdata/01415_inconsistent_merge_tree_settings/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01415_inconsistent_merge_tree_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01415_overlimiting_threads_for_repica_bug/ast.json b/parser/testdata/01415_overlimiting_threads_for_repica_bug/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01415_overlimiting_threads_for_repica_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01415_table_function_view/ast.json b/parser/testdata/01415_table_function_view/ast.json deleted file mode 100644 index 2f2c066bc2..0000000000 --- a/parser/testdata/01415_table_function_view/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01416_clear_column_pk/ast.json b/parser/testdata/01416_clear_column_pk/ast.json deleted file mode 100644 index 8dff7fff46..0000000000 --- a/parser/testdata/01416_clear_column_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_pk_clear", - "tables": [ - { - "table": "table_with_pk_clear" - } - ] -} diff --git a/parser/testdata/01416_join_totals_header_bug/ast.json b/parser/testdata/01416_join_totals_header_bug/ast.json deleted file mode 100644 index 9eb1aaaded..0000000000 --- a/parser/testdata/01416_join_totals_header_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tableCommon", - "tables": [ - { - "table": "tableCommon" - } - ] -} diff --git a/parser/testdata/01417_update_permutation_crash/ast.json b/parser/testdata/01417_update_permutation_crash/ast.json deleted file mode 100644 index e7c8adc656..0000000000 --- a/parser/testdata/01417_update_permutation_crash/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "t" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 1000001 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "t" - ] - } - }, - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01418_custom_settings/ast.json b/parser/testdata/01418_custom_settings/ast.json deleted file mode 100644 index 98eb25bb84..0000000000 --- a/parser/testdata/01418_custom_settings/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "if_exists": true, - "table": "s1_01418", - "tables": [ - { - "table": "s1_01418" - }, - { - "table": "s2_01418" - } - ] -} diff --git a/parser/testdata/01418_index_analysis_bug/ast.json b/parser/testdata/01418_index_analysis_bug/ast.json deleted file mode 100644 index a8671c7b84..0000000000 --- a/parser/testdata/01418_index_analysis_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mytable_local", - "tables": [ - { - "table": "mytable_local" - } - ] -} diff --git a/parser/testdata/01418_query_scope_constants_and_remote/ast.json b/parser/testdata/01418_query_scope_constants_and_remote/ast.json deleted file mode 100644 index 4f396ba4fd..0000000000 --- a/parser/testdata/01418_query_scope_constants_and_remote/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "c" - ] - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "randConstant", - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01419_materialize_null/ast.json b/parser/testdata/01419_materialize_null/ast.json deleted file mode 100644 index df3c6e440b..0000000000 --- a/parser/testdata/01419_materialize_null/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isConstant", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01419_merge_tree_settings_sanity_check/ast.json b/parser/testdata/01419_merge_tree_settings_sanity_check/ast.json deleted file mode 100644 index a8671c7b84..0000000000 --- a/parser/testdata/01419_merge_tree_settings_sanity_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mytable_local", - "tables": [ - { - "table": "mytable_local" - } - ] -} diff --git a/parser/testdata/01419_skip_index_compact_parts/ast.json b/parser/testdata/01419_skip_index_compact_parts/ast.json deleted file mode 100644 index c9b063bff2..0000000000 --- a/parser/testdata/01419_skip_index_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index_compact", - "tables": [ - { - "table": "index_compact" - } - ] -} diff --git a/parser/testdata/01420_logical_functions_materialized_null/ast.json b/parser/testdata/01420_logical_functions_materialized_null/ast.json deleted file mode 100644 index 016930f4a1..0000000000 --- a/parser/testdata/01420_logical_functions_materialized_null/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "AND", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01422_array_nullable_element_nullable_index/ast.json b/parser/testdata/01422_array_nullable_element_nullable_index/ast.json deleted file mode 100644 index 5055970370..0000000000 --- a/parser/testdata/01422_array_nullable_element_nullable_index/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - }, - "index": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01422_map_skip_null/ast.json b/parser/testdata/01422_map_skip_null/ast.json deleted file mode 100644 index 5a7eaf3213..0000000000 --- a/parser/testdata/01422_map_skip_null/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "minMap", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01423_if_nullable_cond/ast.json b/parser/testdata/01423_if_nullable_cond/ast.json deleted file mode 100644 index 7f51ebc0e5..0000000000 --- a/parser/testdata/01423_if_nullable_cond/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "condition": { - "left": { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(UInt8)" - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "then": { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(UInt8)" - } - }, - "else": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "dumpColumnStructure", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01424_parse_date_time_bad_date/ast.json b/parser/testdata/01424_parse_date_time_bad_date/ast.json deleted file mode 100644 index 9e806ec40e..0000000000 --- a/parser/testdata/01424_parse_date_time_bad_date/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTime64BestEffort", - "arguments": [ - { - "type": "String", - "value": "2.55" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01425_decimal_parse_big_negative_exponent/ast.json b/parser/testdata/01425_decimal_parse_big_negative_exponent/ast.json deleted file mode 100644 index 3c9dd5220e..0000000000 --- a/parser/testdata/01425_decimal_parse_big_negative_exponent/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "-1E9-1E9-1E9-1E9" - }, - "alias": "x" - }, - { - "name": "toDecimal32", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01426_geohash_constants/ast.json b/parser/testdata/01426_geohash_constants/ast.json deleted file mode 100644 index a6f0874f68..0000000000 --- a/parser/testdata/01426_geohash_constants/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "geohashesInBox", - "arguments": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 2 - }, - { - "type": "Float", - "value": 3 - }, - { - "type": "Float", - "value": 4 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01427_pk_and_expression_with_different_type/ast.json b/parser/testdata/01427_pk_and_expression_with_different_type/ast.json deleted file mode 100644 index c08cf9ed47..0000000000 --- a/parser/testdata/01427_pk_and_expression_with_different_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk", - "tables": [ - { - "table": "pk" - } - ] -} diff --git a/parser/testdata/01428_h3_range_check/ast.json b/parser/testdata/01428_h3_range_check/ast.json deleted file mode 100644 index 5012c6eda1..0000000000 --- a/parser/testdata/01428_h3_range_check/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToChildren", - "arguments": [ - { - "type": "Integer", - "value": 599405990164561919 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01428_nullable_asof_join/ast.json b/parser/testdata/01428_nullable_asof_join/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/01428_nullable_asof_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01429_join_on_error_messages/ast.json b/parser/testdata/01429_join_on_error_messages/ast.json deleted file mode 100644 index 6a0cf73987..0000000000 --- a/parser/testdata/01429_join_on_error_messages/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - } - ] - } - ] - } - }, - "alias": "A" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "b" - } - ] - } - ] - } - }, - "alias": "B" - }, - "join": { - "type": "INNER", - "on": { - "name": "equals", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01430_fix_any_rewrite_aliases/ast.json b/parser/testdata/01430_fix_any_rewrite_aliases/ast.json deleted file mode 100644 index 8d183487e7..0000000000 --- a/parser/testdata/01430_fix_any_rewrite_aliases/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "any", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ], - "alias": "a_" - }, - { - "parts": [ - "a_" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01430_modify_sample_by_zookeeper_long/ast.json b/parser/testdata/01430_modify_sample_by_zookeeper_long/ast.json deleted file mode 100644 index af7972b74f..0000000000 --- a/parser/testdata/01430_modify_sample_by_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "modify_sample", - "tables": [ - { - "table": "modify_sample" - } - ] -} diff --git a/parser/testdata/01430_moving_sum_empty_state/ast.json b/parser/testdata/01430_moving_sum_empty_state/ast.json deleted file mode 100644 index f47648942f..0000000000 --- a/parser/testdata/01430_moving_sum_empty_state/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayMovingSum", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01431_finish_sorting_with_consts/ast.json b/parser/testdata/01431_finish_sorting_with_consts/ast.json deleted file mode 100644 index 8d7b0a594c..0000000000 --- a/parser/testdata/01431_finish_sorting_with_consts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_func", - "tables": [ - { - "table": "pk_func" - } - ] -} diff --git a/parser/testdata/01432_parse_date_time_best_effort_timestamp/ast.json b/parser/testdata/01432_parse_date_time_best_effort_timestamp/ast.json deleted file mode 100644 index 124fb6b341..0000000000 --- a/parser/testdata/01432_parse_date_time_best_effort_timestamp/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "type": "String", - "value": "1596752940" - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01433_hex_float/ast.json b/parser/testdata/01433_hex_float/ast.json deleted file mode 100644 index 9ece3c6eb6..0000000000 --- a/parser/testdata/01433_hex_float/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t", - "columns": [ - { - "name": "x", - "type": { - "name": "Float64" - } - } - ] -} diff --git a/parser/testdata/01435_lcm_overflow/ast.json b/parser/testdata/01435_lcm_overflow/ast.json deleted file mode 100644 index d349788a63..0000000000 --- a/parser/testdata/01435_lcm_overflow/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "lcm", - "arguments": [ - { - "type": "Integer", - "value": 15 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01436_storage_merge_with_join_push_down/ast.json b/parser/testdata/01436_storage_merge_with_join_push_down/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01436_storage_merge_with_join_push_down/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01440_big_int_arithm/ast.json b/parser/testdata/01440_big_int_arithm/ast.json deleted file mode 100644 index 1bcb35cc68..0000000000 --- a/parser/testdata/01440_big_int_arithm/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toInt128", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "op": "+", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "alias": "x" - }, - { - "expr": { - "left": { - "name": "toInt256", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "op": "+", - "right": { - "name": "toInt8", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "alias": "y" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01440_big_int_exotic_casts/ast.json b/parser/testdata/01440_big_int_exotic_casts/ast.json deleted file mode 100644 index 3812b24e3e..0000000000 --- a/parser/testdata/01440_big_int_exotic_casts/ast.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toUInt32", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "parts": [ - "number" - ] - } - } - ] - }, - "op": "*", - "right": { - "parts": [ - "number" - ] - } - }, - "alias": "y" - }, - { - "name": "toDecimal32", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toDecimal64", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "name": "toDecimal256", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 7 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01440_big_int_shift/ast.json b/parser/testdata/01440_big_int_shift/ast.json deleted file mode 100644 index c045682185..0000000000 --- a/parser/testdata/01440_big_int_shift/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitShiftLeft", - "arguments": [ - { - "name": "toInt128", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - }, - { - "name": "bitShiftRight", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "y" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 127 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01440_to_date_monotonicity/ast.json b/parser/testdata/01440_to_date_monotonicity/ast.json deleted file mode 100644 index 5d723bcd39..0000000000 --- a/parser/testdata/01440_to_date_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tdm", - "tables": [ - { - "table": "tdm" - } - ] -} diff --git a/parser/testdata/01441_array_combinator/ast.json b/parser/testdata/01441_array_combinator/ast.json deleted file mode 100644 index 04f54ec821..0000000000 --- a/parser/testdata/01441_array_combinator/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100 - } - }, - "alias": "k" - }, - { - "name": "sumArray", - "arguments": [ - { - "name": "emptyArrayUInt8" - } - ], - "alias": "v" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01441_low_cardinality_array_index/ast.json b/parser/testdata/01441_low_cardinality_array_index/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/01441_low_cardinality_array_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01442_date_time_with_params/ast.json b/parser/testdata/01442_date_time_with_params/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01442_date_time_with_params/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01442_h3kring_range_check/ast.json b/parser/testdata/01442_h3kring_range_check/ast.json deleted file mode 100644 index c447c97a9c..0000000000 --- a/parser/testdata/01442_h3kring_range_check/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3kRing", - "arguments": [ - { - "type": "Integer", - "value": 581276613233082367 - }, - { - "type": "Integer", - "value": 65535 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01447_json_strings/ast.json b/parser/testdata/01447_json_strings/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/01447_json_strings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01448_json_compact_strings_each_row/ast.json b/parser/testdata/01448_json_compact_strings_each_row/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01448_json_compact_strings_each_row/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01449_json_compact_strings/ast.json b/parser/testdata/01449_json_compact_strings/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/01449_json_compact_strings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01450_set_null_const/ast.json b/parser/testdata/01450_set_null_const/ast.json deleted file mode 100644 index 66b0c40617..0000000000 --- a/parser/testdata/01450_set_null_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_mtree", - "tables": [ - { - "table": "test_mtree" - } - ] -} diff --git a/parser/testdata/01451_detach_drop_part/ast.json b/parser/testdata/01451_detach_drop_part/ast.json deleted file mode 100644 index e93d2b6ff8..0000000000 --- a/parser/testdata/01451_detach_drop_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt_01451", - "tables": [ - { - "table": "mt_01451" - } - ] -} diff --git a/parser/testdata/01451_normalize_query/ast.json b/parser/testdata/01451_normalize_query/ast.json deleted file mode 100644 index 7d5bc9f64a..0000000000 --- a/parser/testdata/01451_normalize_query/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "normalizeQuery", - "arguments": [ - { - "type": "String", - "value": "SELECT 1" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/ast.json b/parser/testdata/01451_replicated_detach_drop_and_quorum_long/ast.json deleted file mode 100644 index 96ff9c3589..0000000000 --- a/parser/testdata/01451_replicated_detach_drop_and_quorum_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "replication_alter_partitions_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01451_replicated_detach_drop_part_long/ast.json b/parser/testdata/01451_replicated_detach_drop_part_long/ast.json deleted file mode 100644 index 96ff9c3589..0000000000 --- a/parser/testdata/01451_replicated_detach_drop_part_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "replication_alter_partitions_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01452_normalized_query_hash/ast.json b/parser/testdata/01452_normalized_query_hash/ast.json deleted file mode 100644 index 1a771d978a..0000000000 --- a/parser/testdata/01452_normalized_query_hash/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "normalizedQueryHash", - "arguments": [ - { - "type": "String", - "value": "SELECT 1" - } - ] - }, - "op": "=", - "right": { - "name": "normalizedQueryHash", - "arguments": [ - { - "type": "String", - "value": "SELECT 2" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01453_fixsed_string_sort/ast.json b/parser/testdata/01453_fixsed_string_sort/ast.json deleted file mode 100644 index 44857736a5..0000000000 --- a/parser/testdata/01453_fixsed_string_sort/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "badFixedStringSort", - "tables": [ - { - "table": "badFixedStringSort" - } - ] -} diff --git a/parser/testdata/01455_default_compression/ast.json b/parser/testdata/01455_default_compression/ast.json deleted file mode 100644 index bec405b470..0000000000 --- a/parser/testdata/01455_default_compression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "compress_table", - "tables": [ - { - "table": "compress_table" - } - ] -} diff --git a/parser/testdata/01455_nullable_type_with_if_agg_combinator/ast.json b/parser/testdata/01455_nullable_type_with_if_agg_combinator/ast.json deleted file mode 100644 index 5d9909b85e..0000000000 --- a/parser/testdata/01455_nullable_type_with_if_agg_combinator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01455_optimize_trivial_insert_select/ast.json b/parser/testdata/01455_optimize_trivial_insert_select/ast.json deleted file mode 100644 index 6da248dbf5..0000000000 --- a/parser/testdata/01455_optimize_trivial_insert_select/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "settings": [ - { - "name": "max_insert_threads", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 100 - } - }, - { - "name": "min_insert_block_size_rows", - "value": { - "type": "Integer", - "value": 1048576 - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65536 - } - } - ] -} diff --git a/parser/testdata/01455_rank_correlation_spearman/ast.json b/parser/testdata/01455_rank_correlation_spearman/ast.json deleted file mode 100644 index 2196355195..0000000000 --- a/parser/testdata/01455_rank_correlation_spearman/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "db_01455_rank_correlation", - "create_database": true -} diff --git a/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/ast.json b/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/ast.json deleted file mode 100644 index 214f2f0efd..0000000000 --- a/parser/testdata/01455_shard_leaf_max_rows_bytes_to_read/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01455_time_zones/ast.json b/parser/testdata/01455_time_zones/ast.json deleted file mode 100644 index 2db0c81a35..0000000000 --- a/parser/testdata/01455_time_zones/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "time_zones" - } - } - } - ] - } - } - ] - } - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 500 - } - }, - { - "type": "String", - "value": "ok" - }, - { - "type": "String", - "value": "fail" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01456_ast_optimizations_over_distributed/ast.json b/parser/testdata/01456_ast_optimizations_over_distributed/ast.json deleted file mode 100644 index c8931ce24e..0000000000 --- a/parser/testdata/01456_ast_optimizations_over_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_injective_functions_inside_uniq", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01456_low_cardinality_sorting_bugfix/ast.json b/parser/testdata/01456_low_cardinality_sorting_bugfix/ast.json deleted file mode 100644 index 2a64758048..0000000000 --- a/parser/testdata/01456_low_cardinality_sorting_bugfix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order_test1", - "tables": [ - { - "table": "order_test1" - } - ] -} diff --git a/parser/testdata/01456_min_negative_decimal_formatting/ast.json b/parser/testdata/01456_min_negative_decimal_formatting/ast.json deleted file mode 100644 index b8e0b71f16..0000000000 --- a/parser/testdata/01456_min_negative_decimal_formatting/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal64", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01456_modify_column_type_via_add_drop_update/ast.json b/parser/testdata/01456_modify_column_type_via_add_drop_update/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/01456_modify_column_type_via_add_drop_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/01457_compile_expressions_fuzzer/ast.json b/parser/testdata/01457_compile_expressions_fuzzer/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/01457_compile_expressions_fuzzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01457_create_as_table_function_structure/ast.json b/parser/testdata/01457_create_as_table_function_structure/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01457_create_as_table_function_structure/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01457_int256_hashing/ast.json b/parser/testdata/01457_int256_hashing/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01457_int256_hashing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01457_min_index_granularity_bytes_setting/ast.json b/parser/testdata/01457_min_index_granularity_bytes_setting/ast.json deleted file mode 100644 index 9fa48a9e5d..0000000000 --- a/parser/testdata/01457_min_index_granularity_bytes_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "invalid_min_index_granularity_bytes_setting", - "tables": [ - { - "table": "invalid_min_index_granularity_bytes_setting" - } - ] -} diff --git a/parser/testdata/01457_order_by_limit/ast.json b/parser/testdata/01457_order_by_limit/ast.json deleted file mode 100644 index c1ea4e5e6f..0000000000 --- a/parser/testdata/01457_order_by_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order_by_another", - "tables": [ - { - "table": "order_by_another" - } - ] -} diff --git a/parser/testdata/01457_order_by_nulls_first/ast.json b/parser/testdata/01457_order_by_nulls_first/ast.json deleted file mode 100644 index 62e2a5f5fa..0000000000 --- a/parser/testdata/01457_order_by_nulls_first/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order_by_nulls_first", - "tables": [ - { - "table": "order_by_nulls_first" - } - ] -} diff --git a/parser/testdata/01458_count_digits/ast.json b/parser/testdata/01458_count_digits/ast.json deleted file mode 100644 index c48ad2675d..0000000000 --- a/parser/testdata/01458_count_digits/ast.json +++ /dev/null @@ -1,170 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 42 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 4.2 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Integer", - "value": 42 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Float", - "value": 4.2 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Integer", - "value": 42 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "name": "countDigits", - "arguments": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Float", - "value": 4.2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01458_is_decimal_overflow/ast.json b/parser/testdata/01458_is_decimal_overflow/ast.json deleted file mode 100644 index debee0d424..0000000000 --- a/parser/testdata/01458_is_decimal_overflow/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isDecimalOverflow", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "isDecimalOverflow", - "arguments": [ - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "isDecimalOverflow", - "arguments": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01458_named_tuple_millin/ast.json b/parser/testdata/01458_named_tuple_millin/ast.json deleted file mode 100644 index 6be904fb03..0000000000 --- a/parser/testdata/01458_named_tuple_millin/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tuple", - "tables": [ - { - "table": "tuple" - } - ] -} diff --git a/parser/testdata/01459_decimal_casts/ast.json b/parser/testdata/01459_decimal_casts/ast.json deleted file mode 100644 index 04b0cef2d6..0000000000 --- a/parser/testdata/01459_decimal_casts/ast.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "y" - }, - { - "name": "toDecimal32", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toDecimal64", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 5 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "name": "toDecimal256", - "arguments": [ - { - "parts": [ - "y" - ] - }, - { - "type": "Integer", - "value": 7 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/ast.json b/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/ast.json deleted file mode 100644 index 4b0dbf2f07..0000000000 --- a/parser/testdata/01459_default_value_of_argument_type_nullptr_dereference/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "defaultValueOfTypeName", - "arguments": [ - { - "name": "FQDN" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01460_allow_dollar_and_number_in_identifier/ast.json b/parser/testdata/01460_allow_dollar_and_number_in_identifier/ast.json deleted file mode 100644 index d44d96afb8..0000000000 --- a/parser/testdata/01460_allow_dollar_and_number_in_identifier/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "$alias$name$" - } - ], - "format": { - "parts": [ - "TSVWithNames" - ] - } - } - ] -} diff --git a/parser/testdata/01460_mark_inclusion_search_crash/ast.json b/parser/testdata/01460_mark_inclusion_search_crash/ast.json deleted file mode 100644 index c08cf9ed47..0000000000 --- a/parser/testdata/01460_mark_inclusion_search_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk", - "tables": [ - { - "table": "pk" - } - ] -} diff --git a/parser/testdata/01461_alter_table_function/ast.json b/parser/testdata/01461_alter_table_function/ast.json deleted file mode 100644 index fd5198fd73..0000000000 --- a/parser/testdata/01461_alter_table_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_from_remote", - "tables": [ - { - "table": "table_from_remote" - } - ] -} diff --git a/parser/testdata/01461_query_start_time_microseconds/ast.json b/parser/testdata/01461_query_start_time_microseconds/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01461_query_start_time_microseconds/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01462_test_codec_on_alias/ast.json b/parser/testdata/01462_test_codec_on_alias/ast.json deleted file mode 100644 index e3857ca50d..0000000000 --- a/parser/testdata/01462_test_codec_on_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "compression_codec_on_alias", - "tables": [ - { - "table": "compression_codec_on_alias" - } - ] -} diff --git a/parser/testdata/01463_resample_overflow/ast.json b/parser/testdata/01463_resample_overflow/ast.json deleted file mode 100644 index 1c074fa07d..0000000000 --- a/parser/testdata/01463_resample_overflow/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayResample", - "parameters": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "name": "toInt64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01465_ttl_recompression/ast.json b/parser/testdata/01465_ttl_recompression/ast.json deleted file mode 100644 index d817455710..0000000000 --- a/parser/testdata/01465_ttl_recompression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "recompression_table", - "tables": [ - { - "table": "recompression_table" - } - ] -} diff --git a/parser/testdata/01470_columns_transformers/ast.json b/parser/testdata/01470_columns_transformers/ast.json deleted file mode 100644 index 4cebbe6ab2..0000000000 --- a/parser/testdata/01470_columns_transformers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "columns_transformers", - "tables": [ - { - "table": "columns_transformers" - } - ] -} diff --git a/parser/testdata/01470_columns_transformers2/ast.json b/parser/testdata/01470_columns_transformers2/ast.json deleted file mode 100644 index 4cebbe6ab2..0000000000 --- a/parser/testdata/01470_columns_transformers2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "columns_transformers", - "tables": [ - { - "table": "columns_transformers" - } - ] -} diff --git a/parser/testdata/01470_show_databases_like/ast.json b/parser/testdata/01470_show_databases_like/ast.json deleted file mode 100644 index b5c19e98f6..0000000000 --- a/parser/testdata/01470_show_databases_like/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_01470", - "create_database": true -} diff --git a/parser/testdata/01470_test_insert_select_asterisk/ast.json b/parser/testdata/01470_test_insert_select_asterisk/ast.json deleted file mode 100644 index 305ada7a94..0000000000 --- a/parser/testdata/01470_test_insert_select_asterisk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "insert_select_dst", - "tables": [ - { - "table": "insert_select_dst" - } - ] -} diff --git a/parser/testdata/01471_calculate_ttl_during_merge/ast.json b/parser/testdata/01471_calculate_ttl_during_merge/ast.json deleted file mode 100644 index 055b675f0c..0000000000 --- a/parser/testdata/01471_calculate_ttl_during_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_ttl", - "tables": [ - { - "table": "table_for_ttl" - } - ] -} diff --git a/parser/testdata/01471_top_k_range_check/ast.json b/parser/testdata/01471_top_k_range_check/ast.json deleted file mode 100644 index ebf04772b8..0000000000 --- a/parser/testdata/01471_top_k_range_check/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "topKWeighted", - "parameters": [ - { - "type": "Integer", - "value": 2 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 1025 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01472_many_rows_in_totals/ast.json b/parser/testdata/01472_many_rows_in_totals/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/01472_many_rows_in_totals/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/ast.json b/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/ast.json deleted file mode 100644 index aac1b2795a..0000000000 --- a/parser/testdata/01472_toBoundsOfInterval_disallow_empty_tz_field/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfDay", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2017-12-31 00:00:00" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01473_event_time_microseconds/ast.json b/parser/testdata/01473_event_time_microseconds/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01473_event_time_microseconds/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01473_system_events_zeroes/ast.json b/parser/testdata/01473_system_events_zeroes/ast.json deleted file mode 100644 index eabe1a7c3d..0000000000 --- a/parser/testdata/01473_system_events_zeroes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "system_events_show_zero_values", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01474_bad_global_join/ast.json b/parser/testdata/01474_bad_global_join/ast.json deleted file mode 100644 index 3cf7f91498..0000000000 --- a/parser/testdata/01474_bad_global_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_table", - "tables": [ - { - "table": "local_table" - } - ] -} diff --git a/parser/testdata/01474_decimal_scale_bug/ast.json b/parser/testdata/01474_decimal_scale_bug/ast.json deleted file mode 100644 index 96160e09de..0000000000 --- a/parser/testdata/01474_decimal_scale_bug/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "op": "*", - "right": { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01474_executable_dictionary/ast.json b/parser/testdata/01474_executable_dictionary/ast.json deleted file mode 100644 index eab404670f..0000000000 --- a/parser/testdata/01474_executable_dictionary/ast.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "dictGet", - "arguments": [ - { - "type": "String", - "value": "executable_complex" - }, - { - "type": "String", - "value": "a" - }, - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "a" - }, - { - "name": "dictGet", - "arguments": [ - { - "type": "String", - "value": "executable_complex" - }, - { - "type": "String", - "value": "b" - }, - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "b" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 999999 - } - } - } - ] -} diff --git a/parser/testdata/01475_fix_bigint_shift/ast.json b/parser/testdata/01475_fix_bigint_shift/ast.json deleted file mode 100644 index ef3e34e5b0..0000000000 --- a/parser/testdata/01475_fix_bigint_shift/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitShiftLeft", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01475_mutation_with_if/ast.json b/parser/testdata/01475_mutation_with_if/ast.json deleted file mode 100644 index a6c08c935a..0000000000 --- a/parser/testdata/01475_mutation_with_if/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mutation_table", - "tables": [ - { - "table": "mutation_table" - } - ] -} diff --git a/parser/testdata/01475_read_subcolumns/ast.json b/parser/testdata/01475_read_subcolumns/ast.json deleted file mode 100644 index b0c9acd112..0000000000 --- a/parser/testdata/01475_read_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_uncompressed_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01475_read_subcolumns_2/ast.json b/parser/testdata/01475_read_subcolumns_2/ast.json deleted file mode 100644 index a610ef3a62..0000000000 --- a/parser/testdata/01475_read_subcolumns_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "subcolumns", - "tables": [ - { - "table": "subcolumns" - } - ] -} diff --git a/parser/testdata/01475_read_subcolumns_3/ast.json b/parser/testdata/01475_read_subcolumns_3/ast.json deleted file mode 100644 index 9fd1b25b1b..0000000000 --- a/parser/testdata/01475_read_subcolumns_3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_subcolumns", - "tables": [ - { - "table": "null_subcolumns" - } - ] -} diff --git a/parser/testdata/01476_right_full_join_switch/ast.json b/parser/testdata/01476_right_full_join_switch/ast.json deleted file mode 100644 index 42f92529ac..0000000000 --- a/parser/testdata/01476_right_full_join_switch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "auto" - } - } - ] -} diff --git a/parser/testdata/01479_cross_join_9855/ast.json b/parser/testdata/01479_cross_join_9855/ast.json deleted file mode 100644 index a1c86ef7af..0000000000 --- a/parser/testdata/01479_cross_join_9855/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cross_to_inner_join_rewrite", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01480_binary_operator_monotonicity/ast.json b/parser/testdata/01480_binary_operator_monotonicity/ast.json deleted file mode 100644 index 8ecd48c335..0000000000 --- a/parser/testdata/01480_binary_operator_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "binary_op_mono1", - "tables": [ - { - "table": "binary_op_mono1" - } - ] -} diff --git a/parser/testdata/01481_join_with_materialized/ast.json b/parser/testdata/01481_join_with_materialized/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01481_join_with_materialized/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01482_move_to_prewhere_and_cast/ast.json b/parser/testdata/01482_move_to_prewhere_and_cast/ast.json deleted file mode 100644 index e3340b9353..0000000000 --- a/parser/testdata/01482_move_to_prewhere_and_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "APPLICATION", - "tables": [ - { - "table": "APPLICATION" - } - ] -} diff --git a/parser/testdata/01483_merge_table_join_and_group_by/ast.json b/parser/testdata/01483_merge_table_join_and_group_by/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/01483_merge_table_join_and_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/01485_256_bit_multiply/ast.json b/parser/testdata/01485_256_bit_multiply/ast.json deleted file mode 100644 index 3b3f999e4e..0000000000 --- a/parser/testdata/01485_256_bit_multiply/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "100M" - } - } - ] -} diff --git a/parser/testdata/01486_json_array_output/ast.json b/parser/testdata/01486_json_array_output/ast.json deleted file mode 100644 index 3f518ac624..0000000000 --- a/parser/testdata/01486_json_array_output/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_array_of_rows", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01490_nullable_string_to_enum/ast.json b/parser/testdata/01490_nullable_string_to_enum/ast.json deleted file mode 100644 index 2f9771e1f6..0000000000 --- a/parser/testdata/01490_nullable_string_to_enum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_enum", - "tables": [ - { - "table": "t_enum" - } - ] -} diff --git a/parser/testdata/01492_array_join_crash_13829/ast.json b/parser/testdata/01492_array_join_crash_13829/ast.json deleted file mode 100644 index 2ef0464d27..0000000000 --- a/parser/testdata/01492_array_join_crash_13829/ast.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "=", - "right": { - "name": "countEqual", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "expr": { - "type": "Null", - "value": null - }, - "alias": "x" - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 255 - }, - { - "type": "Integer", - "value": 1025 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1048576 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01493_alter_remove_no_property_zookeeper_long/ast.json b/parser/testdata/01493_alter_remove_no_property_zookeeper_long/ast.json deleted file mode 100644 index fbc2b47774..0000000000 --- a/parser/testdata/01493_alter_remove_no_property_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "no_prop_table", - "tables": [ - { - "table": "no_prop_table" - } - ] -} diff --git a/parser/testdata/01493_alter_remove_properties/ast.json b/parser/testdata/01493_alter_remove_properties/ast.json deleted file mode 100644 index 844b4d874a..0000000000 --- a/parser/testdata/01493_alter_remove_properties/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prop_table", - "tables": [ - { - "table": "prop_table" - } - ] -} diff --git a/parser/testdata/01493_alter_remove_properties_zookeeper/ast.json b/parser/testdata/01493_alter_remove_properties_zookeeper/ast.json deleted file mode 100644 index 7d3777ba11..0000000000 --- a/parser/testdata/01493_alter_remove_properties_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "r_prop_table1", - "tables": [ - { - "table": "r_prop_table1" - } - ] -} diff --git a/parser/testdata/01493_alter_remove_wrong_default/ast.json b/parser/testdata/01493_alter_remove_wrong_default/ast.json deleted file mode 100644 index 38869443d4..0000000000 --- a/parser/testdata/01493_alter_remove_wrong_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "default_table", - "tables": [ - { - "table": "default_table" - } - ] -} diff --git a/parser/testdata/01493_storage_set_persistency/ast.json b/parser/testdata/01493_storage_set_persistency/ast.json deleted file mode 100644 index 9c2f169222..0000000000 --- a/parser/testdata/01493_storage_set_persistency/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set", - "tables": [ - { - "table": "set" - } - ] -} diff --git a/parser/testdata/01493_table_function_null/ast.json b/parser/testdata/01493_table_function_null/ast.json deleted file mode 100644 index 236287bdca..0000000000 --- a/parser/testdata/01493_table_function_null/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "function": { - "name": "null", - "arguments": [ - { - "type": "String", - "value": "number UInt64" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/01494_storage_join_persistency/ast.json b/parser/testdata/01494_storage_join_persistency/ast.json deleted file mode 100644 index a0704c201f..0000000000 --- a/parser/testdata/01494_storage_join_persistency/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join", - "tables": [ - { - "table": "join" - } - ] -} diff --git a/parser/testdata/01495_subqueries_in_with_statement/ast.json b/parser/testdata/01495_subqueries_in_with_statement/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01495_subqueries_in_with_statement/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01495_subqueries_in_with_statement_3/ast.json b/parser/testdata/01495_subqueries_in_with_statement_3/ast.json deleted file mode 100644 index 72a60e31a6..0000000000 --- a/parser/testdata/01495_subqueries_in_with_statement_3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cte1", - "tables": [ - { - "table": "cte1" - } - ] -} diff --git a/parser/testdata/01496_signedness_conversion_monotonicity/ast.json b/parser/testdata/01496_signedness_conversion_monotonicity/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01496_signedness_conversion_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01497_alias_on_default_array/ast.json b/parser/testdata/01497_alias_on_default_array/ast.json deleted file mode 100644 index 305b6c089c..0000000000 --- a/parser/testdata/01497_alias_on_default_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_new_col", - "tables": [ - { - "table": "test_new_col" - } - ] -} diff --git a/parser/testdata/01497_mutation_support_for_storage_memory/ast.json b/parser/testdata/01497_mutation_support_for_storage_memory/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/01497_mutation_support_for_storage_memory/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/01498_alter_column_storage_memory/ast.json b/parser/testdata/01498_alter_column_storage_memory/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/01498_alter_column_storage_memory/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/01499_json_named_tuples/ast.json b/parser/testdata/01499_json_named_tuples/ast.json deleted file mode 100644 index b463d637c1..0000000000 --- a/parser/testdata/01499_json_named_tuples/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "table": "named_tuples", - "engine": { - "name": "File", - "parameters": [ - { - "parts": [ - "JSONEachRow" - ] - } - ], - "has_parentheses": true - }, - "settings": [ - { - "name": "output_format_json_named_tuples_as_objects", - "value": { - "type": "Integer", - "value": 1 - } - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "name": "tuple", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - }, - "type": { - "name": "Tuple(a int, b int)" - } - }, - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/01499_log_deadlock/ast.json b/parser/testdata/01499_log_deadlock/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01499_log_deadlock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01501_cache_dictionary_all_fields/ast.json b/parser/testdata/01501_cache_dictionary_all_fields/ast.json deleted file mode 100644 index ae488067ed..0000000000 --- a/parser/testdata/01501_cache_dictionary_all_fields/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_01501", - "drop_database": true -} diff --git a/parser/testdata/01502_bar_overflow/ast.json b/parser/testdata/01502_bar_overflow/ast.json deleted file mode 100644 index e1b6219fe5..0000000000 --- a/parser/testdata/01502_bar_overflow/ast.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bar", - "arguments": [ - { - "left": { - "left": { - "name": "greatCircleAngle", - "arguments": [ - { - "type": "Integer", - "value": 100 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - }, - "op": "-", - "right": { - "parts": [ - "number" - ] - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Integer", - "value": 1023 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1048575 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01503_fixed_string_primary_key/ast.json b/parser/testdata/01503_fixed_string_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01503_fixed_string_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01503_if_const_optimization/ast.json b/parser/testdata/01503_if_const_optimization/ast.json deleted file mode 100644 index dca81ba089..0000000000 --- a/parser/testdata/01503_if_const_optimization/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - }, - { - "type": "String", - "value": "2.55" - }, - { - "type": "Null", - "value": null - } - ], - "alias": "x" - } - ] - } - ] -} diff --git a/parser/testdata/01504_compression_multiple_streams/ast.json b/parser/testdata/01504_compression_multiple_streams/ast.json deleted file mode 100644 index 61331957a6..0000000000 --- a/parser/testdata/01504_compression_multiple_streams/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "columns_with_multiple_streams", - "tables": [ - { - "table": "columns_with_multiple_streams" - } - ] -} diff --git a/parser/testdata/01504_rocksdb/ast.json b/parser/testdata/01504_rocksdb/ast.json deleted file mode 100644 index 9be234b74c..0000000000 --- a/parser/testdata/01504_rocksdb/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "01504_test", - "tables": [ - { - "table": "01504_test" - } - ] -} diff --git a/parser/testdata/01504_view_type_conversion/ast.json b/parser/testdata/01504_view_type_conversion/ast.json deleted file mode 100644 index 8c85c3eec6..0000000000 --- a/parser/testdata/01504_view_type_conversion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testv", - "tables": [ - { - "table": "testv" - } - ] -} diff --git a/parser/testdata/01505_distributed_local_type_conversion_enum/ast.json b/parser/testdata/01505_distributed_local_type_conversion_enum/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01505_distributed_local_type_conversion_enum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01505_log_distributed_deadlock/ast.json b/parser/testdata/01505_log_distributed_deadlock/ast.json deleted file mode 100644 index 24f6216d44..0000000000 --- a/parser/testdata/01505_log_distributed_deadlock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_local", - "tables": [ - { - "table": "t_local" - } - ] -} diff --git a/parser/testdata/01505_trivial_count_with_partition_predicate/ast.json b/parser/testdata/01505_trivial_count_with_partition_predicate/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01505_trivial_count_with_partition_predicate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01506_buffer_table_alter_block_structure/ast.json b/parser/testdata/01506_buffer_table_alter_block_structure/ast.json deleted file mode 100644 index 1ec9490432..0000000000 --- a/parser/testdata/01506_buffer_table_alter_block_structure/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "buf_dest", - "tables": [ - { - "table": "buf_dest" - } - ] -} diff --git a/parser/testdata/01506_buffer_table_alter_block_structure_2/ast.json b/parser/testdata/01506_buffer_table_alter_block_structure_2/ast.json deleted file mode 100644 index 1ec9490432..0000000000 --- a/parser/testdata/01506_buffer_table_alter_block_structure_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "buf_dest", - "tables": [ - { - "table": "buf_dest" - } - ] -} diff --git a/parser/testdata/01506_ttl_same_with_order_by/ast.json b/parser/testdata/01506_ttl_same_with_order_by/ast.json deleted file mode 100644 index 17b58962d6..0000000000 --- a/parser/testdata/01506_ttl_same_with_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "derived_metrics_local", - "tables": [ - { - "table": "derived_metrics_local" - } - ] -} diff --git a/parser/testdata/01507_multiversion_storage_for_storagememory/ast.json b/parser/testdata/01507_multiversion_storage_for_storagememory/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/01507_multiversion_storage_for_storagememory/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/01507_transform_null_in/ast.json b/parser/testdata/01507_transform_null_in/ast.json deleted file mode 100644 index 1bdb9f2f82..0000000000 --- a/parser/testdata/01507_transform_null_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "transform_null_in", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01508_explain_header/ast.json b/parser/testdata/01508_explain_header/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01508_explain_header/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01509_output_format_pretty_row_numbers/ast.json b/parser/testdata/01509_output_format_pretty_row_numbers/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/01509_output_format_pretty_row_numbers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/ast.json b/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/ast.json deleted file mode 100644 index 564cba0814..0000000000 --- a/parser/testdata/01509_parallel_quorum_insert_no_replicas_long/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "r1", - "tables": [ - { - "table": "r1" - } - ], - "sync": true -} diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/ast.json b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/ast.json deleted file mode 100644 index 99ca692f4d..0000000000 --- a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_version", - "tables": [ - { - "table": "table_with_version" - } - ] -} diff --git a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/ast.json b/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/ast.json deleted file mode 100644 index 268729fb0e..0000000000 --- a/parser/testdata/01511_alter_version_versioned_collapsing_merge_tree_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_version_replicated_1", - "tables": [ - { - "table": "table_with_version_replicated_1" - } - ] -} diff --git a/parser/testdata/01511_different_expression_with_same_alias/ast.json b/parser/testdata/01511_different_expression_with_same_alias/ast.json deleted file mode 100644 index 6060ead222..0000000000 --- a/parser/testdata/01511_different_expression_with_same_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "repro_hits", - "tables": [ - { - "table": "repro_hits" - } - ] -} diff --git a/parser/testdata/01511_prewhere_with_virtuals/ast.json b/parser/testdata/01511_prewhere_with_virtuals/ast.json deleted file mode 100644 index 7407251a7b..0000000000 --- a/parser/testdata/01511_prewhere_with_virtuals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_not_found_column_nothing", - "tables": [ - { - "table": "test_not_found_column_nothing" - } - ] -} diff --git a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/ast.json b/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01513_count_without_select_sequence_consistency_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01513_defaults_on_defaults_no_column/ast.json b/parser/testdata/01513_defaults_on_defaults_no_column/ast.json deleted file mode 100644 index 7c72a556cc..0000000000 --- a/parser/testdata/01513_defaults_on_defaults_no_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults_on_defaults", - "tables": [ - { - "table": "defaults_on_defaults" - } - ] -} diff --git a/parser/testdata/01513_ilike_like_cache/ast.json b/parser/testdata/01513_ilike_like_cache/ast.json deleted file mode 100644 index 0fd6661d71..0000000000 --- a/parser/testdata/01513_ilike_like_cache/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "hello" - }, - "pattern": { - "type": "String", - "value": "hell%" - } - } - ] - } - ] -} diff --git a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/ast.json b/parser/testdata/01513_optimize_aggregation_in_order_memory_long/ast.json deleted file mode 100644 index 1ba408c92c..0000000000 --- a/parser/testdata/01513_optimize_aggregation_in_order_memory_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01513", - "tables": [ - { - "table": "data_01513" - } - ] -} diff --git a/parser/testdata/01514_empty_buffer_different_types/ast.json b/parser/testdata/01514_empty_buffer_different_types/ast.json deleted file mode 100644 index 4f46873637..0000000000 --- a/parser/testdata/01514_empty_buffer_different_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "error" - } - } - ] -} diff --git a/parser/testdata/01514_input_format_csv_enum_as_number_setting/ast.json b/parser/testdata/01514_input_format_csv_enum_as_number_setting/ast.json deleted file mode 100644 index ab06bcb9f5..0000000000 --- a/parser/testdata/01514_input_format_csv_enum_as_number_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_enum_column_for_csv_insert", - "tables": [ - { - "table": "table_with_enum_column_for_csv_insert" - } - ] -} diff --git a/parser/testdata/01514_input_format_json_enum_as_number/ast.json b/parser/testdata/01514_input_format_json_enum_as_number/ast.json deleted file mode 100644 index 90b2479231..0000000000 --- a/parser/testdata/01514_input_format_json_enum_as_number/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_enum_column_for_json_insert", - "tables": [ - { - "table": "table_with_enum_column_for_json_insert" - } - ] -} diff --git a/parser/testdata/01514_input_format_tsv_enum_as_number_setting/ast.json b/parser/testdata/01514_input_format_tsv_enum_as_number_setting/ast.json deleted file mode 100644 index 559ec43c72..0000000000 --- a/parser/testdata/01514_input_format_tsv_enum_as_number_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_enum_column_for_tsv_insert", - "tables": [ - { - "table": "table_with_enum_column_for_tsv_insert" - } - ] -} diff --git a/parser/testdata/01514_parallel_formatting/ast.json b/parser/testdata/01514_parallel_formatting/ast.json deleted file mode 100644 index 4907c2984d..0000000000 --- a/parser/testdata/01514_parallel_formatting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tsv", - "tables": [ - { - "table": "tsv" - } - ] -} diff --git a/parser/testdata/01514_tid_function/ast.json b/parser/testdata/01514_tid_function/ast.json deleted file mode 100644 index 3fcb6b4831..0000000000 --- a/parser/testdata/01514_tid_function/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tid" - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01515_force_data_skipping_indices/ast.json b/parser/testdata/01515_force_data_skipping_indices/ast.json deleted file mode 100644 index 2688118f9c..0000000000 --- a/parser/testdata/01515_force_data_skipping_indices/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01515", - "tables": [ - { - "table": "data_01515" - } - ] -} diff --git a/parser/testdata/01515_mv_and_array_join_optimisation_bag/ast.json b/parser/testdata/01515_mv_and_array_join_optimisation_bag/ast.json deleted file mode 100644 index 8147637cb8..0000000000 --- a/parser/testdata/01515_mv_and_array_join_optimisation_bag/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "visits", - "columns": [ - { - "name": "CounterID", - "type": { - "name": "UInt32" - } - }, - { - "name": "StartDate", - "type": { - "name": "Date" - } - }, - { - "name": "StartTime", - "type": { - "name": "DateTime" - } - }, - { - "name": "GoalsID", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt32" - } - ], - "has_parentheses": true - } - }, - { - "name": "Sign", - "type": { - "name": "Int8" - } - } - ], - "engine": { - "name": "Null" - } -} diff --git a/parser/testdata/01515_with_global_and_with_propagation/ast.json b/parser/testdata/01515_with_global_and_with_propagation/ast.json deleted file mode 100644 index 73b8d35028..0000000000 --- a/parser/testdata/01515_with_global_and_with_propagation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_global_with_statement", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01516_create_table_primary_key/ast.json b/parser/testdata/01516_create_table_primary_key/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01516_create_table_primary_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01516_date_time_output_format/ast.json b/parser/testdata/01516_date_time_output_format/ast.json deleted file mode 100644 index 92e68846fe..0000000000 --- a/parser/testdata/01516_date_time_output_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_datetime", - "tables": [ - { - "table": "test_datetime" - } - ] -} diff --git a/parser/testdata/01517_drop_mv_with_inner_table/ast.json b/parser/testdata/01517_drop_mv_with_inner_table/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01517_drop_mv_with_inner_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01517_select_final_distributed/ast.json b/parser/testdata/01517_select_final_distributed/ast.json deleted file mode 100644 index 3eb390e577..0000000000 --- a/parser/testdata/01517_select_final_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01518_cast_nullable_virtual_system_column/ast.json b/parser/testdata/01518_cast_nullable_virtual_system_column/ast.json deleted file mode 100644 index cf300af3b1..0000000000 --- a/parser/testdata/01518_cast_nullable_virtual_system_column/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "database" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "database" - ] - }, - "pattern": { - "type": "String", - "value": "%" - } - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01518_filtering_aliased_materialized_column/ast.json b/parser/testdata/01518_filtering_aliased_materialized_column/ast.json deleted file mode 100644 index ec6efce326..0000000000 --- a/parser/testdata/01518_filtering_aliased_materialized_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "logs", - "tables": [ - { - "table": "logs" - } - ] -} diff --git a/parser/testdata/01518_nullable_aggregate_states2/ast.json b/parser/testdata/01518_nullable_aggregate_states2/ast.json deleted file mode 100644 index 16f3091e23..0000000000 --- a/parser/testdata/01518_nullable_aggregate_states2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testNullableStates", - "tables": [ - { - "table": "testNullableStates" - } - ] -} diff --git a/parser/testdata/01518_select_in_null/ast.json b/parser/testdata/01518_select_in_null/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01518_select_in_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01519_topK_distributed_parametrized/ast.json b/parser/testdata/01519_topK_distributed_parametrized/ast.json deleted file mode 100644 index a8145767eb..0000000000 --- a/parser/testdata/01519_topK_distributed_parametrized/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_not_exists": true, - "table": "topXtest", - "columns": [ - { - "name": "A", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/01521_alter_enum_and_reverse_read/ast.json b/parser/testdata/01521_alter_enum_and_reverse_read/ast.json deleted file mode 100644 index d53d70e3b7..0000000000 --- a/parser/testdata/01521_alter_enum_and_reverse_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_test", - "tables": [ - { - "table": "enum_test" - } - ] -} diff --git a/parser/testdata/01521_distributed_query_hang/ast.json b/parser/testdata/01521_distributed_query_hang/ast.json deleted file mode 100644 index d9dec1eb1b..0000000000 --- a/parser/testdata/01521_distributed_query_hang/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "connections_with_failover_max_tries", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01521_format_readable_time_delta2/ast.json b/parser/testdata/01521_format_readable_time_delta2/ast.json deleted file mode 100644 index 8fa034edaf..0000000000 --- a/parser/testdata/01521_format_readable_time_delta2/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatReadableTimeDelta", - "arguments": [ - { - "op": "-", - "operand": { - "left": { - "left": { - "left": { - "left": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 60 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 3600 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 86400 - } - }, - "op": "+", - "right": { - "left": { - "type": "Float", - "value": 30.5 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 86400 - } - } - }, - "op": "+", - "right": { - "left": { - "type": "Integer", - "value": 365 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 86400 - } - } - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01521_global_in_prewhere_15792/ast.json b/parser/testdata/01521_global_in_prewhere_15792/ast.json deleted file mode 100644 index c2add3d6ae..0000000000 --- a/parser/testdata/01521_global_in_prewhere_15792/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "xp", - "tables": [ - { - "table": "xp" - } - ] -} diff --git a/parser/testdata/01521_max_length_alias/ast.json b/parser/testdata/01521_max_length_alias/ast.json deleted file mode 100644 index da5e7bf3e0..0000000000 --- a/parser/testdata/01521_max_length_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "max_length_alias_14053", - "tables": [ - { - "table": "max_length_alias_14053" - } - ] -} diff --git a/parser/testdata/01522_validate_alter_default/ast.json b/parser/testdata/01522_validate_alter_default/ast.json deleted file mode 100644 index 93e6e77fe0..0000000000 --- a/parser/testdata/01522_validate_alter_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table2", - "tables": [ - { - "table": "table2" - } - ] -} diff --git a/parser/testdata/01523_date_time_compare_with_date_literal/ast.json b/parser/testdata/01523_date_time_compare_with_date_literal/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01523_date_time_compare_with_date_literal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01523_interval_operator_support_string_literal/ast.json b/parser/testdata/01523_interval_operator_support_string_literal/ast.json deleted file mode 100644 index fce6075d58..0000000000 --- a/parser/testdata/01523_interval_operator_support_string_literal/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "value": { - "type": "Integer", - "value": 2 - }, - "unit": "YEAR" - } - ] - } - ] -} diff --git a/parser/testdata/01524_do_not_merge_across_partitions_select_final/ast.json b/parser/testdata/01524_do_not_merge_across_partitions_select_final/ast.json deleted file mode 100644 index 5c041b2629..0000000000 --- a/parser/testdata/01524_do_not_merge_across_partitions_select_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "select_final", - "tables": [ - { - "table": "select_final" - } - ] -} diff --git a/parser/testdata/01525_select_with_offset_fetch_clause/ast.json b/parser/testdata/01525_select_with_offset_fetch_clause/ast.json deleted file mode 100644 index 81ea3fcc95..0000000000 --- a/parser/testdata/01525_select_with_offset_fetch_clause/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 3 - }, - "offset": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01526_alter_add_and_modify_order_zookeeper/ast.json b/parser/testdata/01526_alter_add_and_modify_order_zookeeper/ast.json deleted file mode 100644 index 5c06716578..0000000000 --- a/parser/testdata/01526_alter_add_and_modify_order_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_alter", - "tables": [ - { - "table": "table_for_alter" - } - ] -} diff --git a/parser/testdata/01526_complex_key_dict_direct_layout/ast.json b/parser/testdata/01526_complex_key_dict_direct_layout/ast.json deleted file mode 100644 index b46db6b587..0000000000 --- a/parser/testdata/01526_complex_key_dict_direct_layout/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_01526", - "drop_database": true -} diff --git a/parser/testdata/01527_bad_aggregation_in_lambda/ast.json b/parser/testdata/01527_bad_aggregation_in_lambda/ast.json deleted file mode 100644 index 1f59ee6077..0000000000 --- a/parser/testdata/01527_bad_aggregation_in_lambda/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "*", - "right": { - "name": "sum", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - } - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01527_dist_sharding_key_dictGet_reload/ast.json b/parser/testdata/01527_dist_sharding_key_dictGet_reload/ast.json deleted file mode 100644 index 103aca07bd..0000000000 --- a/parser/testdata/01527_dist_sharding_key_dictGet_reload/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_nondeterministic_optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01527_materialized_view_stack_overflow/ast.json b/parser/testdata/01527_materialized_view_stack_overflow/ast.json deleted file mode 100644 index 80532b40b3..0000000000 --- a/parser/testdata/01527_materialized_view_stack_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_materialized_view_with_bad_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/ast.json b/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/ast.json deleted file mode 100644 index 390a2a1b30..0000000000 --- a/parser/testdata/01528_allow_nondeterministic_optimize_skip_unused_shards/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_01528", - "tables": [ - { - "table": "dist_01528" - } - ] -} diff --git a/parser/testdata/01528_setting_aggregate_functions_null_for_empty/ast.json b/parser/testdata/01528_setting_aggregate_functions_null_for_empty/ast.json deleted file mode 100644 index bc27a854ce..0000000000 --- a/parser/testdata/01528_setting_aggregate_functions_null_for_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "defaults", - "tables": [ - { - "table": "defaults" - } - ] -} diff --git a/parser/testdata/01528_to_uuid_or_null_or_zero/ast.json b/parser/testdata/01528_to_uuid_or_null_or_zero/ast.json deleted file mode 100644 index d2e2449d89..0000000000 --- a/parser/testdata/01528_to_uuid_or_null_or_zero/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "to_uuid_test", - "tables": [ - { - "table": "to_uuid_test" - } - ] -} diff --git a/parser/testdata/01529_union_distinct_and_setting_union_default_mode/ast.json b/parser/testdata/01529_union_distinct_and_setting_union_default_mode/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/01529_union_distinct_and_setting_union_default_mode/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/01530_drop_database_atomic_sync/ast.json b/parser/testdata/01530_drop_database_atomic_sync/ast.json deleted file mode 100644 index c10e024a81..0000000000 --- a/parser/testdata/01530_drop_database_atomic_sync/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "if_exists": true, - "database": "db_01530_atomic", - "drop_database": true, - "sync": true -} diff --git a/parser/testdata/01531_query_log_query_comment/ast.json b/parser/testdata/01531_query_log_query_comment/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01531_query_log_query_comment/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01532_collate_in_low_cardinality/ast.json b/parser/testdata/01532_collate_in_low_cardinality/ast.json deleted file mode 100644 index d3d4d5f9f8..0000000000 --- a/parser/testdata/01532_collate_in_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_collate", - "tables": [ - { - "table": "test_collate" - } - ] -} diff --git a/parser/testdata/01532_execute_merges_on_single_replica_long/ast.json b/parser/testdata/01532_execute_merges_on_single_replica_long/ast.json deleted file mode 100644 index 84db367d49..0000000000 --- a/parser/testdata/01532_execute_merges_on_single_replica_long/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "execute_on_single_replica_r1", - "tables": [ - { - "table": "execute_on_single_replica_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/01532_having_with_totals/ast.json b/parser/testdata/01532_having_with_totals/ast.json deleted file mode 100644 index 6c73cbea7f..0000000000 --- a/parser/testdata/01532_having_with_totals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_t", - "tables": [ - { - "table": "local_t" - } - ] -} diff --git a/parser/testdata/01532_min_max_with_modifiers/ast.json b/parser/testdata/01532_min_max_with_modifiers/ast.json deleted file mode 100644 index be9a29992d..0000000000 --- a/parser/testdata/01532_min_max_with_modifiers/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "totals" - } - ] - } - ] -} diff --git a/parser/testdata/01532_primary_key_without_order_by_zookeeper/ast.json b/parser/testdata/01532_primary_key_without_order_by_zookeeper/ast.json deleted file mode 100644 index d9a3444345..0000000000 --- a/parser/testdata/01532_primary_key_without_order_by_zookeeper/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree_pk", - "tables": [ - { - "table": "merge_tree_pk" - } - ], - "sync": true -} diff --git a/parser/testdata/01532_tuple_with_name_type/ast.json b/parser/testdata/01532_tuple_with_name_type/ast.json deleted file mode 100644 index a6780b12d6..0000000000 --- a/parser/testdata/01532_tuple_with_name_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01532_1", - "tables": [ - { - "table": "test_01532_1" - } - ] -} diff --git a/parser/testdata/01533_collate_in_nullable/ast.json b/parser/testdata/01533_collate_in_nullable/ast.json deleted file mode 100644 index d3d4d5f9f8..0000000000 --- a/parser/testdata/01533_collate_in_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_collate", - "tables": [ - { - "table": "test_collate" - } - ] -} diff --git a/parser/testdata/01533_distinct_depends_on_max_threads/ast.json b/parser/testdata/01533_distinct_depends_on_max_threads/ast.json deleted file mode 100644 index 0901fcf363..0000000000 --- a/parser/testdata/01533_distinct_depends_on_max_threads/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bug_13492", - "tables": [ - { - "table": "bug_13492" - } - ] -} diff --git a/parser/testdata/01533_distinct_nullable_uuid/ast.json b/parser/testdata/01533_distinct_nullable_uuid/ast.json deleted file mode 100644 index fd4bb747be..0000000000 --- a/parser/testdata/01533_distinct_nullable_uuid/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bug_14144", - "tables": [ - { - "table": "bug_14144" - } - ] -} diff --git a/parser/testdata/01533_multiple_nested/ast.json b/parser/testdata/01533_multiple_nested/ast.json deleted file mode 100644 index c5d0ecd7c8..0000000000 --- a/parser/testdata/01533_multiple_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested", - "tables": [ - { - "table": "nested" - } - ] -} diff --git a/parser/testdata/01533_optimize_skip_merged_partitions/ast.json b/parser/testdata/01533_optimize_skip_merged_partitions/ast.json deleted file mode 100644 index f60012ed58..0000000000 --- a/parser/testdata/01533_optimize_skip_merged_partitions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "optimize_final", - "tables": [ - { - "table": "optimize_final" - } - ] -} diff --git a/parser/testdata/01533_quantile_deterministic_assert/ast.json b/parser/testdata/01533_quantile_deterministic_assert/ast.json deleted file mode 100644 index 484d7b356c..0000000000 --- a/parser/testdata/01533_quantile_deterministic_assert/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileDeterministic", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "name": "sipHash64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 8193 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01533_sum_if_nullable_bug/ast.json b/parser/testdata/01533_sum_if_nullable_bug/ast.json deleted file mode 100644 index dc60b9fe50..0000000000 --- a/parser/testdata/01533_sum_if_nullable_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "T", - "tables": [ - { - "table": "T" - } - ] -} diff --git a/parser/testdata/01534_lambda_array_join/ast.json b/parser/testdata/01534_lambda_array_join/ast.json deleted file mode 100644 index 8e5965ecd4..0000000000 --- a/parser/testdata/01534_lambda_array_join/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "concat", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "name": "concat", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "parts": [ - "x" - ] - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "String", - "value": "" - } - ] - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01535_decimal_round_scale_overflow_check/ast.json b/parser/testdata/01535_decimal_round_scale_overflow_check/ast.json deleted file mode 100644 index 60e84d54c9..0000000000 --- a/parser/testdata/01535_decimal_round_scale_overflow_check/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775806 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01536_fuzz_cast/ast.json b/parser/testdata/01536_fuzz_cast/ast.json deleted file mode 100644 index 5d9909b85e..0000000000 --- a/parser/testdata/01536_fuzz_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01537_fuzz_count_equal/ast.json b/parser/testdata/01537_fuzz_count_equal/ast.json deleted file mode 100644 index 08d02c342d..0000000000 --- a/parser/testdata/01537_fuzz_count_equal/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "=", - "right": { - "name": "countEqual", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "expr": { - "type": "Null", - "value": null - }, - "alias": "x" - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 255 - }, - { - "type": "Integer", - "value": 1025 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1048576 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01540_verbatim_partition_pruning/ast.json b/parser/testdata/01540_verbatim_partition_pruning/ast.json deleted file mode 100644 index b2c69cd093..0000000000 --- a/parser/testdata/01540_verbatim_partition_pruning/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "xy", - "tables": [ - { - "table": "xy" - } - ] -} diff --git a/parser/testdata/01542_collate_in_array/ast.json b/parser/testdata/01542_collate_in_array/ast.json deleted file mode 100644 index 0391415500..0000000000 --- a/parser/testdata/01542_collate_in_array/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "collate_test1", - "tables": [ - { - "table": "collate_test1" - } - ] -} diff --git a/parser/testdata/01543_collate_in_tuple/ast.json b/parser/testdata/01543_collate_in_tuple/ast.json deleted file mode 100644 index 0391415500..0000000000 --- a/parser/testdata/01543_collate_in_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "collate_test1", - "tables": [ - { - "table": "collate_test1" - } - ] -} diff --git a/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/ast.json b/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/ast.json deleted file mode 100644 index d91089c51b..0000000000 --- a/parser/testdata/01543_parse_datetime_besteffort_or_null_empty_string/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffortOrNull", - "arguments": [ - { - "type": "String", - "value": "2010-01-01" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01543_toModifiedJulianDay/ast.json b/parser/testdata/01543_toModifiedJulianDay/ast.json deleted file mode 100644 index 986020ac75..0000000000 --- a/parser/testdata/01543_toModifiedJulianDay/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Invocation with constant" - } - ] - } - ] -} diff --git a/parser/testdata/01544_errorCodeToName/ast.json b/parser/testdata/01544_errorCodeToName/ast.json deleted file mode 100644 index cc0e91e00c..0000000000 --- a/parser/testdata/01544_errorCodeToName/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "errorCodeToName", - "arguments": [ - { - "name": "toUInt32", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01544_fromModifiedJulianDay/ast.json b/parser/testdata/01544_fromModifiedJulianDay/ast.json deleted file mode 100644 index 986020ac75..0000000000 --- a/parser/testdata/01544_fromModifiedJulianDay/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Invocation with constant" - } - ] - } - ] -} diff --git a/parser/testdata/01545_url_file_format_settings/ast.json b/parser/testdata/01545_url_file_format_settings/ast.json deleted file mode 100644 index 182876e91c..0000000000 --- a/parser/testdata/01545_url_file_format_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_hive_partitioning", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01546_log_queries_min_query_duration_ms/ast.json b/parser/testdata/01546_log_queries_min_query_duration_ms/ast.json deleted file mode 100644 index a3b684bc86..0000000000 --- a/parser/testdata/01546_log_queries_min_query_duration_ms/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries_min_query_duration_ms", - "value": { - "type": "Integer", - "value": 300000 - } - } - ] -} diff --git a/parser/testdata/01547_query_log_current_database/ast.json b/parser/testdata/01547_query_log_current_database/ast.json deleted file mode 100644 index 2a24c2ba12..0000000000 --- a/parser/testdata/01547_query_log_current_database/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_query_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01548_lzy305/ast.json b/parser/testdata/01548_lzy305/ast.json deleted file mode 100644 index f8b3e250f1..0000000000 --- a/parser/testdata/01548_lzy305/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fct_rt_dc_shop_sku_vender_day", - "tables": [ - { - "table": "fct_rt_dc_shop_sku_vender_day" - } - ] -} diff --git a/parser/testdata/01548_uncomparable_columns_in_keys/ast.json b/parser/testdata/01548_uncomparable_columns_in_keys/ast.json deleted file mode 100644 index 69e0938cb5..0000000000 --- a/parser/testdata/01548_uncomparable_columns_in_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uncomparable_keys", - "tables": [ - { - "table": "uncomparable_keys" - } - ] -} diff --git a/parser/testdata/01548_with_totals_having/ast.json b/parser/testdata/01548_with_totals_having/ast.json deleted file mode 100644 index 453045a878..0000000000 --- a/parser/testdata/01548_with_totals_having/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 4 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "having": { - "left": { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "\u003c=", - "right": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": null - } - ] - } - } - } - ] -} diff --git a/parser/testdata/01549_low_cardinality_materialized_view/ast.json b/parser/testdata/01549_low_cardinality_materialized_view/ast.json deleted file mode 100644 index 4a5db73941..0000000000 --- a/parser/testdata/01549_low_cardinality_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "HASH_MV", - "tables": [ - { - "table": "HASH_MV" - } - ] -} diff --git a/parser/testdata/01549_low_cardinality_mv_fuzz/ast.json b/parser/testdata/01549_low_cardinality_mv_fuzz/ast.json deleted file mode 100644 index 4af534029b..0000000000 --- a/parser/testdata/01549_low_cardinality_mv_fuzz/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "extremes", - "value": { - "type": "String", - "value": "1" - } - } - ] -} diff --git a/parser/testdata/01550_create_map_type/ast.json b/parser/testdata/01550_create_map_type/ast.json deleted file mode 100644 index a0169426a5..0000000000 --- a/parser/testdata/01550_create_map_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_map", - "tables": [ - { - "table": "table_map" - } - ] -} diff --git a/parser/testdata/01550_mutation_subquery/ast.json b/parser/testdata/01550_mutation_subquery/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01550_mutation_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01550_type_map_formats/ast.json b/parser/testdata/01550_type_map_formats/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/01550_type_map_formats/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01551_context_uaf/ast.json b/parser/testdata/01551_context_uaf/ast.json deleted file mode 100644 index 4ffda95c96..0000000000 --- a/parser/testdata/01551_context_uaf/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "f", - "tables": [ - { - "table": "f" - } - ] -} diff --git a/parser/testdata/01551_mergetree_read_in_order_spread/ast.json b/parser/testdata/01551_mergetree_read_in_order_spread/ast.json deleted file mode 100644 index 69f400f008..0000000000 --- a/parser/testdata/01551_mergetree_read_in_order_spread/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01551", - "tables": [ - { - "table": "data_01551" - } - ] -} diff --git a/parser/testdata/01552_alter_name_collision/ast.json b/parser/testdata/01552_alter_name_collision/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01552_alter_name_collision/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01552_dict_fixedstring/ast.json b/parser/testdata/01552_dict_fixedstring/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/01552_dict_fixedstring/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/01552_impl_aggfunc_cloneresize/ast.json b/parser/testdata/01552_impl_aggfunc_cloneresize/ast.json deleted file mode 100644 index 6a4b15263d..0000000000 --- a/parser/testdata/01552_impl_aggfunc_cloneresize/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_bm", - "tables": [ - { - "table": "test_bm" - } - ] -} diff --git a/parser/testdata/01553_datetime64_comparison/ast.json b/parser/testdata/01553_datetime64_comparison/ast.json deleted file mode 100644 index 2bb6fcc6df..0000000000 --- a/parser/testdata/01553_datetime64_comparison/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "table": "datetime64_cmp", - "columns": [ - { - "name": "dt6", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 6 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "dt3", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/01553_settings_early_apply/ast.json b/parser/testdata/01553_settings_early_apply/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/01553_settings_early_apply/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/ast.json b/parser/testdata/01554_bloom_filter_index_big_integer_uuid/ast.json deleted file mode 100644 index 54f0f7d5e9..0000000000 --- a/parser/testdata/01554_bloom_filter_index_big_integer_uuid/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "table": "01154_test", - "columns": [ - { - "name": "x", - "type": { - "name": "Int128" - } - } - ], - "indexes": [ - { - "name": "ix_x", - "expression": { - "parts": [ - "x" - ] - }, - "type": { - "name": "bloom_filter", - "arguments": [ - { - "type": "Float", - "value": 0.01 - } - ] - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/01554_interpreter_integer_float/ast.json b/parser/testdata/01554_interpreter_integer_float/ast.json deleted file mode 100644 index 4f903b4c0e..0000000000 --- a/parser/testdata/01554_interpreter_integer_float/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reinterpretAsFloat32", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 123456 - }, - "type": { - "name": "UInt32" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01555_system_distribution_queue_mask/ast.json b/parser/testdata/01555_system_distribution_queue_mask/ast.json deleted file mode 100644 index 321151ca01..0000000000 --- a/parser/testdata/01555_system_distribution_queue_mask/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_compact_format_in_distributed_parts_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01556_accurate_cast_or_null/ast.json b/parser/testdata/01556_accurate_cast_or_null/ast.json deleted file mode 100644 index 681e1267bf..0000000000 --- a/parser/testdata/01556_accurate_cast_or_null/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "accurateCastOrNull", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "String", - "value": "UInt8" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01556_explain_select_with_union_query/ast.json b/parser/testdata/01556_explain_select_with_union_query/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01556_explain_select_with_union_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01557_max_parallel_replicas_no_sample/ast.json b/parser/testdata/01557_max_parallel_replicas_no_sample/ast.json deleted file mode 100644 index 956e503a99..0000000000 --- a/parser/testdata/01557_max_parallel_replicas_no_sample/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01558_enum_as_num_in_tsv_csv_input/ast.json b/parser/testdata/01558_enum_as_num_in_tsv_csv_input/ast.json deleted file mode 100644 index b661f17e8d..0000000000 --- a/parser/testdata/01558_enum_as_num_in_tsv_csv_input/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_as_num", - "tables": [ - { - "table": "enum_as_num" - } - ] -} diff --git a/parser/testdata/01558_transform_null_in/ast.json b/parser/testdata/01558_transform_null_in/ast.json deleted file mode 100644 index 1bdb9f2f82..0000000000 --- a/parser/testdata/01558_transform_null_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "transform_null_in", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01558_ttest/ast.json b/parser/testdata/01558_ttest/ast.json deleted file mode 100644 index ae5e09b6fa..0000000000 --- a/parser/testdata/01558_ttest/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "welch_ttest", - "tables": [ - { - "table": "welch_ttest" - } - ] -} diff --git a/parser/testdata/01559_aggregate_null_for_empty_fix/ast.json b/parser/testdata/01559_aggregate_null_for_empty_fix/ast.json deleted file mode 100644 index 9f37bb34f6..0000000000 --- a/parser/testdata/01559_aggregate_null_for_empty_fix/ast.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "MAX", - "arguments": [ - { - "parts": [ - "aggr" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "MAX", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "aggr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "where": { - "op": "NOT", - "operand": { - "type": "Integer", - "value": 1 - } - } - }, - { - "columns": [ - { - "name": "MAX", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "aggr" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 1 - } - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/ast.json b/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/ast.json deleted file mode 100644 index 838fefbd08..0000000000 --- a/parser/testdata/01560_cancel_agg_func_combinator_native_name_constraint/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "Sum", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01560_crash_in_agg_empty_arglist/ast.json b/parser/testdata/01560_crash_in_agg_empty_arglist/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/01560_crash_in_agg_empty_arglist/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/01560_mann_whitney/ast.json b/parser/testdata/01560_mann_whitney/ast.json deleted file mode 100644 index 87c859c837..0000000000 --- a/parser/testdata/01560_mann_whitney/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mann_whitney_test", - "tables": [ - { - "table": "mann_whitney_test" - } - ] -} diff --git a/parser/testdata/01560_merge_distributed_join/ast.json b/parser/testdata/01560_merge_distributed_join/ast.json deleted file mode 100644 index d19099d79a..0000000000 --- a/parser/testdata/01560_merge_distributed_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cat_hist", - "tables": [ - { - "table": "cat_hist" - } - ] -} diff --git a/parser/testdata/01560_optimize_on_insert_long/ast.json b/parser/testdata/01560_optimize_on_insert_long/ast.json deleted file mode 100644 index 305745d11b..0000000000 --- a/parser/testdata/01560_optimize_on_insert_long/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Replacing Merge Tree" - } - ] - } - ] -} diff --git a/parser/testdata/01560_optimize_on_insert_zookeeper/ast.json b/parser/testdata/01560_optimize_on_insert_zookeeper/ast.json deleted file mode 100644 index 27d4ee9934..0000000000 --- a/parser/testdata/01560_optimize_on_insert_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "empty1", - "tables": [ - { - "table": "empty1" - } - ] -} diff --git a/parser/testdata/01561_aggregate_functions_of_key_with_join/ast.json b/parser/testdata/01561_aggregate_functions_of_key_with_join/ast.json deleted file mode 100644 index bb977abdf9..0000000000 --- a/parser/testdata/01561_aggregate_functions_of_key_with_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_aggregators_of_group_by_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01562_agg_null_for_empty_ahead/ast.json b/parser/testdata/01562_agg_null_for_empty_ahead/ast.json deleted file mode 100644 index 85a3aa1e2d..0000000000 --- a/parser/testdata/01562_agg_null_for_empty_ahead/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumMerge", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sumState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01566_negate_formatting/ast.json b/parser/testdata/01566_negate_formatting/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01566_negate_formatting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01567_system_processes_current_database/ast.json b/parser/testdata/01567_system_processes_current_database/ast.json deleted file mode 100644 index b8f1a28fb2..0000000000 --- a/parser/testdata/01567_system_processes_current_database/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "processes" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "current_database" - ] - }, - "op": "=", - "right": { - "name": "currentDatabase" - } - } - } - ] -} diff --git a/parser/testdata/01570_aggregator_combinator_simple_state/ast.json b/parser/testdata/01570_aggregator_combinator_simple_state/ast.json deleted file mode 100644 index 6a12c0c91d..0000000000 --- a/parser/testdata/01570_aggregator_combinator_simple_state/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "c", - "query": { - "name": "anySimpleState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - } - ], - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "c" - ] - } - ] - }, - { - "parts": [ - "c" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01571_window_functions/ast.json b/parser/testdata/01571_window_functions/ast.json deleted file mode 100644 index 3950366eb6..0000000000 --- a/parser/testdata/01571_window_functions/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "table": "order_by_const", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - }, - { - "name": "b", - "type": { - "name": "UInt64" - } - }, - { - "name": "c", - "type": { - "name": "UInt64" - } - }, - { - "name": "d", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/01575_disable_detach_table_of_dictionary/ast.json b/parser/testdata/01575_disable_detach_table_of_dictionary/ast.json deleted file mode 100644 index 71d7af0a54..0000000000 --- a/parser/testdata/01575_disable_detach_table_of_dictionary/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "database_for_dict", - "drop_database": true -} diff --git a/parser/testdata/01576_alias_column_rewrite/ast.json b/parser/testdata/01576_alias_column_rewrite/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01576_alias_column_rewrite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01576_if_null_external_aggregation/ast.json b/parser/testdata/01576_if_null_external_aggregation/ast.json deleted file mode 100644 index f9d8ffd29c..0000000000 --- a/parser/testdata/01576_if_null_external_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 200000000 - } - } - ] -} diff --git a/parser/testdata/01579_date_datetime_index_comparison/ast.json b/parser/testdata/01579_date_datetime_index_comparison/ast.json deleted file mode 100644 index 2340f74ede..0000000000 --- a/parser/testdata/01579_date_datetime_index_comparison/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_index", - "tables": [ - { - "table": "test_index" - } - ] -} diff --git a/parser/testdata/01580_column_const_comparision/ast.json b/parser/testdata/01580_column_const_comparision/ast.json deleted file mode 100644 index 66a661989e..0000000000 --- a/parser/testdata/01580_column_const_comparision/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "1111" - }, - "alias": "name" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers_mt" - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 10000 - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01581_deduplicate_by_columns_replicated_long/ast.json b/parser/testdata/01581_deduplicate_by_columns_replicated_long/ast.json deleted file mode 100644 index c8a572ba05..0000000000 --- a/parser/testdata/01581_deduplicate_by_columns_replicated_long/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_deduplicate_by_columns_r1", - "tables": [ - { - "table": "replicated_deduplicate_by_columns_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/01582_any_join_supertype/ast.json b/parser/testdata/01582_any_join_supertype/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/01582_any_join_supertype/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/01582_deterministic_function_with_predicate/ast.json b/parser/testdata/01582_deterministic_function_with_predicate/ast.json deleted file mode 100644 index 1d7315f2a3..0000000000 --- a/parser/testdata/01582_deterministic_function_with_predicate/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "name": "rand64" - }, - "op": "\u003c", - "right": { - "left": { - "type": "Float", - "value": 0.01 - }, - "op": "*", - "right": { - "type": "Float", - "value": 18446744073709552000 - } - } - } - } - ] - } - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/01582_distinct_subquery_groupby/ast.json b/parser/testdata/01582_distinct_subquery_groupby/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01582_distinct_subquery_groupby/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01582_move_to_prewhere_compact_parts/ast.json b/parser/testdata/01582_move_to_prewhere_compact_parts/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/01582_move_to_prewhere_compact_parts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01583_const_column_in_set_index/ast.json b/parser/testdata/01583_const_column_in_set_index/ast.json deleted file mode 100644 index fd9065ddd4..0000000000 --- a/parser/testdata/01583_const_column_in_set_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "insub", - "tables": [ - { - "table": "insub" - } - ] -} diff --git a/parser/testdata/01584_distributed_buffer_cannot_find_column/ast.json b/parser/testdata/01584_distributed_buffer_cannot_find_column/ast.json deleted file mode 100644 index ab13d89b54..0000000000 --- a/parser/testdata/01584_distributed_buffer_cannot_find_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "realtimedrep", - "tables": [ - { - "table": "realtimedrep" - } - ] -} diff --git a/parser/testdata/01585_fuzz_bits_with_bugfix/ast.json b/parser/testdata/01585_fuzz_bits_with_bugfix/ast.json deleted file mode 100644 index 77ba433881..0000000000 --- a/parser/testdata/01585_fuzz_bits_with_bugfix/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "fuzzBits", - "arguments": [ - { - "type": "String", - "value": "stringstring" - }, - { - "type": "Float", - "value": 0.5 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01585_use_index_for_global_in/ast.json b/parser/testdata/01585_use_index_for_global_in/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/01585_use_index_for_global_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01585_use_index_for_global_in_with_null/ast.json b/parser/testdata/01585_use_index_for_global_in_with_null/ast.json deleted file mode 100644 index c2add3d6ae..0000000000 --- a/parser/testdata/01585_use_index_for_global_in_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "xp", - "tables": [ - { - "table": "xp" - } - ] -} diff --git a/parser/testdata/01586_columns_pruning/ast.json b/parser/testdata/01586_columns_pruning/ast.json deleted file mode 100644 index aeeced93bd..0000000000 --- a/parser/testdata/01586_columns_pruning/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 10000000000 - } - } - ] -} diff --git a/parser/testdata/01586_replicated_mutations_empty_partition/ast.json b/parser/testdata/01586_replicated_mutations_empty_partition/ast.json deleted file mode 100644 index a6bc1d819f..0000000000 --- a/parser/testdata/01586_replicated_mutations_empty_partition/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_mutations_empty_partitions", - "tables": [ - { - "table": "replicated_mutations_empty_partitions" - } - ], - "sync": true -} diff --git a/parser/testdata/01586_storage_join_low_cardinality_key/ast.json b/parser/testdata/01586_storage_join_low_cardinality_key/ast.json deleted file mode 100644 index 7bcea79831..0000000000 --- a/parser/testdata/01586_storage_join_low_cardinality_key/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "low_card", - "columns": [ - { - "name": "lc", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Join", - "parameters": [ - { - "parts": [ - "ANY" - ] - }, - { - "parts": [ - "LEFT" - ] - }, - { - "parts": [ - "lc" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/01590_countSubstrings/ast.json b/parser/testdata/01590_countSubstrings/ast.json deleted file mode 100644 index b5b4669fce..0000000000 --- a/parser/testdata/01590_countSubstrings/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "" - } - ] - } - ] -} diff --git a/parser/testdata/01591_window_functions/ast.json b/parser/testdata/01591_window_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01591_window_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01592_length_map/ast.json b/parser/testdata/01592_length_map/ast.json deleted file mode 100644 index 7b2b535d74..0000000000 --- a/parser/testdata/01592_length_map/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01592_long_window_functions1/ast.json b/parser/testdata/01592_long_window_functions1/ast.json deleted file mode 100644 index cff704d237..0000000000 --- a/parser/testdata/01592_long_window_functions1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_sort", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01592_toUnixTimestamp_Date/ast.json b/parser/testdata/01592_toUnixTimestamp_Date/ast.json deleted file mode 100644 index e64a464d57..0000000000 --- a/parser/testdata/01592_toUnixTimestamp_Date/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUnixTimestamp", - "arguments": [ - { - "name": "makeDate", - "arguments": [ - { - "type": "Integer", - "value": 2023 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01592_window_functions/ast.json b/parser/testdata/01592_window_functions/ast.json deleted file mode 100644 index 7253082313..0000000000 --- a/parser/testdata/01592_window_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "product_groups", - "tables": [ - { - "table": "product_groups" - } - ] -} diff --git a/parser/testdata/01593_insert_settings/ast.json b/parser/testdata/01593_insert_settings/ast.json deleted file mode 100644 index faa88f0b23..0000000000 --- a/parser/testdata/01593_insert_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01593", - "tables": [ - { - "table": "data_01593" - } - ] -} diff --git a/parser/testdata/01594_storage_join_uuid/ast.json b/parser/testdata/01594_storage_join_uuid/ast.json deleted file mode 100644 index db8b6eb436..0000000000 --- a/parser/testdata/01594_storage_join_uuid/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "joint", - "tables": [ - { - "table": "joint" - } - ] -} diff --git a/parser/testdata/01595_countMatches/ast.json b/parser/testdata/01595_countMatches/ast.json deleted file mode 100644 index 6c4a0b8a55..0000000000 --- a/parser/testdata/01595_countMatches/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "count_matches_stop_at_empty_match", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01596_full_join_chertus/ast.json b/parser/testdata/01596_full_join_chertus/ast.json deleted file mode 100644 index 9e1f67d317..0000000000 --- a/parser/testdata/01596_full_join_chertus/ast.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "js1", - "k" - ] - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "js2", - "k" - ] - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "js1", - "s" - ] - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "js2", - "s" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "k" - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "js1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "k" - }, - { - "name": "toString", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "js2" - }, - "join": { - "type": "FULL", - "on": { - "left": { - "parts": [ - "js1", - "k" - ] - }, - "op": "=", - "right": { - "parts": [ - "js2", - "k" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "js1", - "k" - ] - } - }, - { - "expression": { - "parts": [ - "js2", - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01596_null_as_default_nullable/ast.json b/parser/testdata/01596_null_as_default_nullable/ast.json deleted file mode 100644 index 206bf4909e..0000000000 --- a/parser/testdata/01596_null_as_default_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_null_as_default", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01596_setting_limit_offset/ast.json b/parser/testdata/01596_setting_limit_offset/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01596_setting_limit_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01598_memory_limit_zeros/ast.json b/parser/testdata/01598_memory_limit_zeros/ast.json deleted file mode 100644 index b1961a34d2..0000000000 --- a/parser/testdata/01598_memory_limit_zeros/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_untracked_memory", - "value": { - "type": "Integer", - "value": 1000000 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 40 - } - } - ] -} diff --git a/parser/testdata/01600_encode_XML/ast.json b/parser/testdata/01600_encode_XML/ast.json deleted file mode 100644 index cf0d91c977..0000000000 --- a/parser/testdata/01600_encode_XML/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "encodeXMLComponent", - "arguments": [ - { - "type": "String", - "value": "Hello, \"world\"!" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01600_min_max_compress_block_size/ast.json b/parser/testdata/01600_min_max_compress_block_size/ast.json deleted file mode 100644 index 227c0cdf9b..0000000000 --- a/parser/testdata/01600_min_max_compress_block_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ms", - "tables": [ - { - "table": "ms" - } - ] -} diff --git a/parser/testdata/01600_multiple_left_join_with_aliases/ast.json b/parser/testdata/01600_multiple_left_join_with_aliases/ast.json deleted file mode 100644 index e021aaf981..0000000000 --- a/parser/testdata/01600_multiple_left_join_with_aliases/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "table": "base", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "id2", - "type": { - "name": "UInt64" - } - }, - { - "name": "d", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "id2" - ] - }, - { - "parts": [ - "d" - ] - } - ] - } - ], - "partition_by": { - "parts": [ - "d" - ] - } -} diff --git a/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/ast.json b/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/ast.json deleted file mode 100644 index a0e1d0f02e..0000000000 --- a/parser/testdata/01600_remerge_sort_lowered_memory_bytes_ratio/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "200Mi" - } - } - ] -} diff --git a/parser/testdata/01600_select_in_different_types/ast.json b/parser/testdata/01600_select_in_different_types/ast.json deleted file mode 100644 index 1d51fc87d2..0000000000 --- a/parser/testdata/01600_select_in_different_types/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01601_accurate_cast/ast.json b/parser/testdata/01601_accurate_cast/ast.json deleted file mode 100644 index 63f6006587..0000000000 --- a/parser/testdata/01601_accurate_cast/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "accurateCast", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "String", - "value": "UInt8" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01601_detach_permanently/ast.json b/parser/testdata/01601_detach_permanently/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01601_detach_permanently/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01602_array_aggregation/ast.json b/parser/testdata/01602_array_aggregation/ast.json deleted file mode 100644 index 6de2b5b5ef..0000000000 --- a/parser/testdata/01602_array_aggregation/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Array min " - }, - { - "name": "arrayMin", - "arguments": [ - { - "name": "array", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01602_insert_into_table_function_cluster/ast.json b/parser/testdata/01602_insert_into_table_function_cluster/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01602_insert_into_table_function_cluster/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01602_runningConcurrency/ast.json b/parser/testdata/01602_runningConcurrency/ast.json deleted file mode 100644 index 3d5f89f17c..0000000000 --- a/parser/testdata/01602_runningConcurrency/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Invocation with Date columns" - } - ] - } - ] -} diff --git a/parser/testdata/01602_temporary_table_in_system_tables/ast.json b/parser/testdata/01602_temporary_table_in_system_tables/ast.json deleted file mode 100644 index af600bb0f2..0000000000 --- a/parser/testdata/01602_temporary_table_in_system_tables/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_01602a", - "tables": [ - { - "table": "test_01602a" - } - ], - "temporary": true -} diff --git a/parser/testdata/01603_decimal_mult_float/ast.json b/parser/testdata/01603_decimal_mult_float/ast.json deleted file mode 100644 index 2ed1ecbc99..0000000000 --- a/parser/testdata/01603_decimal_mult_float/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_arithmetic_operations_in_aggregate_functions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01603_insert_select_too_many_parts/ast.json b/parser/testdata/01603_insert_select_too_many_parts/ast.json deleted file mode 100644 index de6006cfc0..0000000000 --- a/parser/testdata/01603_insert_select_too_many_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "too_many_parts", - "tables": [ - { - "table": "too_many_parts" - } - ] -} diff --git a/parser/testdata/01603_read_with_backoff_bug/ast.json b/parser/testdata/01603_read_with_backoff_bug/ast.json deleted file mode 100644 index e0c20bb11b..0000000000 --- a/parser/testdata/01603_read_with_backoff_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_filesystem_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01603_remove_column_ttl/ast.json b/parser/testdata/01603_remove_column_ttl/ast.json deleted file mode 100644 index 274c4fd16f..0000000000 --- a/parser/testdata/01603_remove_column_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_column_ttl", - "tables": [ - { - "table": "table_with_column_ttl" - } - ] -} diff --git a/parser/testdata/01603_rename_overwrite_bug/ast.json b/parser/testdata/01603_rename_overwrite_bug/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01603_rename_overwrite_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01605_adaptive_granularity_block_borders/ast.json b/parser/testdata/01605_adaptive_granularity_block_borders/ast.json deleted file mode 100644 index b0c9acd112..0000000000 --- a/parser/testdata/01605_adaptive_granularity_block_borders/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_uncompressed_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01605_dictinct_two_level/ast.json b/parser/testdata/01605_dictinct_two_level/ast.json deleted file mode 100644 index 542374dceb..0000000000 --- a/parser/testdata/01605_dictinct_two_level/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "group_by_two_level_threshold_bytes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01605_key_condition_enum_int/ast.json b/parser/testdata/01605_key_condition_enum_int/ast.json deleted file mode 100644 index 9d83278d30..0000000000 --- a/parser/testdata/01605_key_condition_enum_int/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum", - "tables": [ - { - "table": "enum" - } - ] -} diff --git a/parser/testdata/01605_skip_idx_compact_parts/ast.json b/parser/testdata/01605_skip_idx_compact_parts/ast.json deleted file mode 100644 index a037b0b51b..0000000000 --- a/parser/testdata/01605_skip_idx_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "skip_idx_comp_parts", - "tables": [ - { - "table": "skip_idx_comp_parts" - } - ] -} diff --git a/parser/testdata/01606_merge_from_wide_to_compact/ast.json b/parser/testdata/01606_merge_from_wide_to_compact/ast.json deleted file mode 100644 index 47029394f7..0000000000 --- a/parser/testdata/01606_merge_from_wide_to_compact/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "wide_to_comp", - "tables": [ - { - "table": "wide_to_comp" - } - ] -} diff --git a/parser/testdata/01611_string_to_low_cardinality_key_alter/ast.json b/parser/testdata/01611_string_to_low_cardinality_key_alter/ast.json deleted file mode 100644 index a9af433186..0000000000 --- a/parser/testdata/01611_string_to_low_cardinality_key_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_lc_key", - "tables": [ - { - "table": "table_with_lc_key" - } - ] -} diff --git a/parser/testdata/01615_random_one_shard_insertion/ast.json b/parser/testdata/01615_random_one_shard_insertion/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/01615_random_one_shard_insertion/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/01615_two_args_function_index_fix/ast.json b/parser/testdata/01615_two_args_function_index_fix/ast.json deleted file mode 100644 index 24e32ad179..0000000000 --- a/parser/testdata/01615_two_args_function_index_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bad_date_time", - "tables": [ - { - "table": "bad_date_time" - } - ] -} diff --git a/parser/testdata/01616_untuple_access_field/ast.json b/parser/testdata/01616_untuple_access_field/ast.json deleted file mode 100644 index d9887860af..0000000000 --- a/parser/testdata/01616_untuple_access_field/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "untuple", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01620_fix_simple_state_arg_type/ast.json b/parser/testdata/01620_fix_simple_state_arg_type/ast.json deleted file mode 100644 index 28815e7bf1..0000000000 --- a/parser/testdata/01620_fix_simple_state_arg_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ay", - "tables": [ - { - "table": "ay" - } - ] -} diff --git a/parser/testdata/01621_decode_XML/ast.json b/parser/testdata/01621_decode_XML/ast.json deleted file mode 100644 index d2c96b67b8..0000000000 --- a/parser/testdata/01621_decode_XML/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "decodeXMLComponent", - "arguments": [ - { - "type": "String", - "value": "Hello, \u0026quot;world\u0026quot;!" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01621_sort_after_join_pipeline_stuck/ast.json b/parser/testdata/01621_sort_after_join_pipeline_stuck/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/01621_sort_after_join_pipeline_stuck/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01621_summap_check_types/ast.json b/parser/testdata/01621_summap_check_types/ast.json deleted file mode 100644 index ed0c77a5ed..0000000000 --- a/parser/testdata/01621_summap_check_types/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "sumMap" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01622_byte_size/ast.json b/parser/testdata/01622_byte_size/ast.json deleted file mode 100644 index b5b4669fce..0000000000 --- a/parser/testdata/01622_byte_size/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "" - } - ] - } - ] -} diff --git a/parser/testdata/01622_codec_zstd_long/ast.json b/parser/testdata/01622_codec_zstd_long/ast.json deleted file mode 100644 index 209fd34c55..0000000000 --- a/parser/testdata/01622_codec_zstd_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "zstd_1_00", - "tables": [ - { - "table": "zstd_1_00" - } - ] -} diff --git a/parser/testdata/01622_constraints_simple_optimization/ast.json b/parser/testdata/01622_constraints_simple_optimization/ast.json deleted file mode 100644 index 4da17cacbc..0000000000 --- a/parser/testdata/01622_constraints_simple_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "constraint_test_assumption", - "tables": [ - { - "table": "constraint_test_assumption" - } - ] -} diff --git a/parser/testdata/01622_constraints_where_optimization/ast.json b/parser/testdata/01622_constraints_where_optimization/ast.json deleted file mode 100644 index 63aa89acae..0000000000 --- a/parser/testdata/01622_constraints_where_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01622_defaults_for_file_engine/ast.json b/parser/testdata/01622_defaults_for_file_engine/ast.json deleted file mode 100644 index d85ee691dc..0000000000 --- a/parser/testdata/01622_defaults_for_file_engine/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "data1622.json" - ] - }, - { - "parts": [ - "TSV" - ] - }, - { - "parts": [ - "value String" - ] - } - ] - } -} diff --git a/parser/testdata/01622_multiple_ttls/ast.json b/parser/testdata/01622_multiple_ttls/ast.json deleted file mode 100644 index a1a1f6ec75..0000000000 --- a/parser/testdata/01622_multiple_ttls/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TTL WHERE" - } - ] - } - ] -} diff --git a/parser/testdata/01623_byte_size_const/ast.json b/parser/testdata/01623_byte_size_const/ast.json deleted file mode 100644 index 8322809aed..0000000000 --- a/parser/testdata/01623_byte_size_const/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "byteSize", - "arguments": [ - { - "type": "Integer", - "value": 123 - }, - { - "type": "Float", - "value": 456.7 - } - ], - "alias": "x" - }, - { - "name": "isConstant", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01623_constraints_column_swap/ast.json b/parser/testdata/01623_constraints_column_swap/ast.json deleted file mode 100644 index 63aa89acae..0000000000 --- a/parser/testdata/01623_constraints_column_swap/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01625_constraints_index_append/ast.json b/parser/testdata/01625_constraints_index_append/ast.json deleted file mode 100644 index 0ddf42e2db..0000000000 --- a/parser/testdata/01625_constraints_index_append/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_memory_01625", - "drop_database": true -} diff --git a/parser/testdata/01626_cnf_test/ast.json b/parser/testdata/01626_cnf_test/ast.json deleted file mode 100644 index 63aa89acae..0000000000 --- a/parser/testdata/01626_cnf_test/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01630_disallow_floating_point_as_partition_key/ast.json b/parser/testdata/01630_disallow_floating_point_as_partition_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01630_disallow_floating_point_as_partition_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/ast.json b/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/ast.json deleted file mode 100644 index 379cd4a0e4..0000000000 --- a/parser/testdata/01630_simple_aggregate_all_functions_in_aggregating_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_agf_summing_mt", - "tables": [ - { - "table": "simple_agf_summing_mt" - } - ] -} diff --git a/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/ast.json b/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/ast.json deleted file mode 100644 index 82057f4f2c..0000000000 --- a/parser/testdata/01630_simple_aggregate_all_functions_in_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_agf_aggregating_mt", - "tables": [ - { - "table": "simple_agf_aggregating_mt" - } - ] -} diff --git a/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/ast.json b/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/ast.json deleted file mode 100644 index d418e5f195..0000000000 --- a/parser/testdata/01630_simple_aggregate_function_in_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_smt", - "tables": [ - { - "table": "test_smt" - } - ] -} diff --git a/parser/testdata/01631_date_overflow_as_partition_key/ast.json b/parser/testdata/01631_date_overflow_as_partition_key/ast.json deleted file mode 100644 index ec65cfbf2f..0000000000 --- a/parser/testdata/01631_date_overflow_as_partition_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dt_overflow", - "tables": [ - { - "table": "dt_overflow" - } - ] -} diff --git a/parser/testdata/01632_group_array_msan/ast.json b/parser/testdata/01632_group_array_msan/ast.json deleted file mode 100644 index 78964fdba7..0000000000 --- a/parser/testdata/01632_group_array_msan/ast.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayMerge", - "parameters": [ - { - "type": "Integer", - "value": 1048577 - } - ], - "arguments": [ - { - "left": { - "parts": [ - "y" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 1048576 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupArrayState", - "parameters": [ - { - "type": "Integer", - "value": 9223372036854775807 - } - ], - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1048576 - }, - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01632_max_partitions_to_read/ast.json b/parser/testdata/01632_max_partitions_to_read/ast.json deleted file mode 100644 index c7b5da8629..0000000000 --- a/parser/testdata/01632_max_partitions_to_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "p", - "tables": [ - { - "table": "p" - } - ] -} diff --git a/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/ast.json b/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/ast.json deleted file mode 100644 index d4be2b74dd..0000000000 --- a/parser/testdata/01632_nullable_string_type_convert_to_decimal_type/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "42.1" - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 2 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/01632_select_all_syntax/ast.json b/parser/testdata/01632_select_all_syntax/ast.json deleted file mode 100644 index 480274f392..0000000000 --- a/parser/testdata/01632_select_all_syntax/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "a" - } - ] - } - ] -} diff --git a/parser/testdata/01633_limit_fuzz/ast.json b/parser/testdata/01633_limit_fuzz/ast.json deleted file mode 100644 index 6448671759..0000000000 --- a/parser/testdata/01633_limit_fuzz/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "k" - ] - } - }, - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1023 - }, - "offset": { - "type": "Integer", - "value": 1025 - }, - "format": { - "parts": [ - "Values" - ] - } - } - ] -} diff --git a/parser/testdata/01634_sum_map_nulls/ast.json b/parser/testdata/01634_sum_map_nulls/ast.json deleted file mode 100644 index ded8f6fe83..0000000000 --- a/parser/testdata/01634_sum_map_nulls/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "sumMap" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01634_summap_nullable/ast.json b/parser/testdata/01634_summap_nullable/ast.json deleted file mode 100644 index f695d28169..0000000000 --- a/parser/testdata/01634_summap_nullable/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumMap", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01634_uuid_fuzz/ast.json b/parser/testdata/01634_uuid_fuzz/ast.json deleted file mode 100644 index 19d001a92f..0000000000 --- a/parser/testdata/01634_uuid_fuzz/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUUID", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 1.1 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01635_sum_map_fuzz/ast.json b/parser/testdata/01635_sum_map_fuzz/ast.json deleted file mode 100644 index 16b566fb35..0000000000 --- a/parser/testdata/01635_sum_map_fuzz/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "sumMapState" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01636_nullable_fuzz2/ast.json b/parser/testdata/01636_nullable_fuzz2/ast.json deleted file mode 100644 index a1cc3ddcd5..0000000000 --- a/parser/testdata/01636_nullable_fuzz2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "open_events_tmp", - "tables": [ - { - "table": "open_events_tmp" - } - ] -} diff --git a/parser/testdata/01637_nullable_fuzz3/ast.json b/parser/testdata/01637_nullable_fuzz3/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01637_nullable_fuzz3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01638_div_mod_ambiguities/ast.json b/parser/testdata/01638_div_mod_ambiguities/ast.json deleted file mode 100644 index 66de865bf9..0000000000 --- a/parser/testdata/01638_div_mod_ambiguities/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "DIV" - ], - "alias": "MOD" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "DIV" - } - ] - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "TSVWithNames" - ] - } - } - ] -} diff --git a/parser/testdata/01639_distributed_sync_insert_zero_rows/ast.json b/parser/testdata/01639_distributed_sync_insert_zero_rows/ast.json deleted file mode 100644 index fdd46f73a7..0000000000 --- a/parser/testdata/01639_distributed_sync_insert_zero_rows/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local", - "tables": [ - { - "table": "local" - } - ] -} diff --git a/parser/testdata/01640_distributed_async_insert_compression/ast.json b/parser/testdata/01640_distributed_async_insert_compression/ast.json deleted file mode 100644 index fdd46f73a7..0000000000 --- a/parser/testdata/01640_distributed_async_insert_compression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local", - "tables": [ - { - "table": "local" - } - ] -} diff --git a/parser/testdata/01640_marks_corruption_regression/ast.json b/parser/testdata/01640_marks_corruption_regression/ast.json deleted file mode 100644 index b3a04c1276..0000000000 --- a/parser/testdata/01640_marks_corruption_regression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "adaptive_table", - "tables": [ - { - "table": "adaptive_table" - } - ] -} diff --git a/parser/testdata/01641_memory_tracking_insert_optimize/ast.json b/parser/testdata/01641_memory_tracking_insert_optimize/ast.json deleted file mode 100644 index 35aec348c5..0000000000 --- a/parser/testdata/01641_memory_tracking_insert_optimize/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01641", - "tables": [ - { - "table": "data_01641" - } - ] -} diff --git a/parser/testdata/01643_merge_tree_fsync_smoke/ast.json b/parser/testdata/01643_merge_tree_fsync_smoke/ast.json deleted file mode 100644 index 4581e31a8c..0000000000 --- a/parser/testdata/01643_merge_tree_fsync_smoke/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01643", - "tables": [ - { - "table": "data_01643" - } - ] -} diff --git a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/ast.json b/parser/testdata/01643_replicated_merge_tree_fsync_smoke/ast.json deleted file mode 100644 index 4f46873637..0000000000 --- a/parser/testdata/01643_replicated_merge_tree_fsync_smoke/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "error" - } - } - ] -} diff --git a/parser/testdata/01644_distributed_async_insert_fsync_smoke/ast.json b/parser/testdata/01644_distributed_async_insert_fsync_smoke/ast.json deleted file mode 100644 index 37fbae179c..0000000000 --- a/parser/testdata/01644_distributed_async_insert_fsync_smoke/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_01643", - "tables": [ - { - "table": "dist_01643" - } - ] -} diff --git a/parser/testdata/01646_fix_window_funnel_inconistency/ast.json b/parser/testdata/01646_fix_window_funnel_inconistency/ast.json deleted file mode 100644 index 19918d5cb0..0000000000 --- a/parser/testdata/01646_fix_window_funnel_inconistency/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "trend", - "tables": [ - { - "table": "trend" - } - ] -} diff --git a/parser/testdata/01646_rewrite_sum_if/ast.json b/parser/testdata/01646_rewrite_sum_if/ast.json deleted file mode 100644 index a3f8c4a6c0..0000000000 --- a/parser/testdata/01646_rewrite_sum_if/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_rewrite_sum_if_to_count_if", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01646_rewrite_sum_if_bug/ast.json b/parser/testdata/01646_rewrite_sum_if_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01646_rewrite_sum_if_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01646_system_restart_replicas_smoke/ast.json b/parser/testdata/01646_system_restart_replicas_smoke/ast.json deleted file mode 100644 index 7c69286a51..0000000000 --- a/parser/testdata/01646_system_restart_replicas_smoke/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01646", - "tables": [ - { - "table": "data_01646" - } - ] -} diff --git a/parser/testdata/01648_mutations_and_escaping/ast.json b/parser/testdata/01648_mutations_and_escaping/ast.json deleted file mode 100644 index 5b356ff14d..0000000000 --- a/parser/testdata/01648_mutations_and_escaping/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mutations_and_escaping_1648", - "tables": [ - { - "table": "mutations_and_escaping_1648" - } - ] -} diff --git a/parser/testdata/01649_with_alias_key_condition/ast.json b/parser/testdata/01649_with_alias_key_condition/ast.json deleted file mode 100644 index 7d3348596b..0000000000 --- a/parser/testdata/01649_with_alias_key_condition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alias_key_condition", - "tables": [ - { - "table": "alias_key_condition" - } - ] -} diff --git a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/ast.json b/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/01650_drop_part_and_deduplication_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/ast.json b/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/ast.json deleted file mode 100644 index cbfe2640dd..0000000000 --- a/parser/testdata/01650_fetch_patition_with_macro_in_zk_path_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01640", - "tables": [ - { - "table": "test_01640" - } - ] -} diff --git a/parser/testdata/01651_bugs_from_15889/ast.json b/parser/testdata/01651_bugs_from_15889/ast.json deleted file mode 100644 index c2add3d6ae..0000000000 --- a/parser/testdata/01651_bugs_from_15889/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "xp", - "tables": [ - { - "table": "xp" - } - ] -} diff --git a/parser/testdata/01651_lc_insert_tiny_log_1/ast.json b/parser/testdata/01651_lc_insert_tiny_log_1/ast.json deleted file mode 100644 index 21b5a4c67b..0000000000 --- a/parser/testdata/01651_lc_insert_tiny_log_1/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "31M" - } - } - ] -} diff --git a/parser/testdata/01651_lc_insert_tiny_log_2/ast.json b/parser/testdata/01651_lc_insert_tiny_log_2/ast.json deleted file mode 100644 index 21b5a4c67b..0000000000 --- a/parser/testdata/01651_lc_insert_tiny_log_2/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "31M" - } - } - ] -} diff --git a/parser/testdata/01651_lc_insert_tiny_log_3/ast.json b/parser/testdata/01651_lc_insert_tiny_log_3/ast.json deleted file mode 100644 index 21b5a4c67b..0000000000 --- a/parser/testdata/01651_lc_insert_tiny_log_3/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "31M" - } - } - ] -} diff --git a/parser/testdata/01651_map_functions/ast.json b/parser/testdata/01651_map_functions/ast.json deleted file mode 100644 index a0169426a5..0000000000 --- a/parser/testdata/01651_map_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_map", - "tables": [ - { - "table": "table_map" - } - ] -} diff --git a/parser/testdata/01652_ignore_and_low_cardinality/ast.json b/parser/testdata/01652_ignore_and_low_cardinality/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/01652_ignore_and_low_cardinality/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01652_ttl_old_syntax/ast.json b/parser/testdata/01652_ttl_old_syntax/ast.json deleted file mode 100644 index 0ddbbca191..0000000000 --- a/parser/testdata/01652_ttl_old_syntax/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_old_syntax", - "tables": [ - { - "table": "ttl_old_syntax" - } - ] -} diff --git a/parser/testdata/01653_tuple_hamming_distance_2/ast.json b/parser/testdata/01653_tuple_hamming_distance_2/ast.json deleted file mode 100644 index da362999ca..0000000000 --- a/parser/testdata/01653_tuple_hamming_distance_2/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleHammingDistance", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01655_agg_if_nullable/ast.json b/parser/testdata/01655_agg_if_nullable/ast.json deleted file mode 100644 index 14adfc2e4a..0000000000 --- a/parser/testdata/01655_agg_if_nullable/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumIf", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01655_plan_optimizations_merge_filters/ast.json b/parser/testdata/01655_plan_optimizations_merge_filters/ast.json deleted file mode 100644 index c38a611be7..0000000000 --- a/parser/testdata/01655_plan_optimizations_merge_filters/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_merge_filters", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01655_quarter_modificator_for_formatDateTime/ast.json b/parser/testdata/01655_quarter_modificator_for_formatDateTime/ast.json deleted file mode 100644 index 309707502b..0000000000 --- a/parser/testdata/01655_quarter_modificator_for_formatDateTime/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2010-01-04" - } - ] - }, - { - "type": "String", - "value": "%Q" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01655_test_isnull_mysql_dialect/ast.json b/parser/testdata/01655_test_isnull_mysql_dialect/ast.json deleted file mode 100644 index 7d86270a93..0000000000 --- a/parser/testdata/01655_test_isnull_mysql_dialect/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ISNULL", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01655_window_functions_cume_dist/ast.json b/parser/testdata/01655_window_functions_cume_dist/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01655_window_functions_cume_dist/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01656_ipv4_bad_formatting/ast.json b/parser/testdata/01656_ipv4_bad_formatting/ast.json deleted file mode 100644 index 1e99b589f5..0000000000 --- a/parser/testdata/01656_ipv4_bad_formatting/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "1.1.1.1" - }, - { - "type": "String", - "value": "255.255.255.255" - } - ] - } - ], - "alias": "x" - }, - { - "name": "toIPv4", - "arguments": [ - { - "parts": [ - "x" - ] - } - ], - "alias": "y" - }, - { - "name": "toUInt32", - "arguments": [ - { - "parts": [ - "y" - ] - } - ], - "alias": "z" - } - ], - "format": { - "parts": [ - "PrettyCompactNoEscapes" - ] - } - } - ] -} diff --git a/parser/testdata/01656_sequence_next_node_distinct/ast.json b/parser/testdata/01656_sequence_next_node_distinct/ast.json deleted file mode 100644 index 4cb25a9918..0000000000 --- a/parser/testdata/01656_sequence_next_node_distinct/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_funnel_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01656_sequence_next_node_long/ast.json b/parser/testdata/01656_sequence_next_node_long/ast.json deleted file mode 100644 index 4cb25a9918..0000000000 --- a/parser/testdata/01656_sequence_next_node_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_funnel_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01656_test_hex_mysql_dialect/ast.json b/parser/testdata/01656_test_hex_mysql_dialect/ast.json deleted file mode 100644 index 61d6fe9717..0000000000 --- a/parser/testdata/01656_test_hex_mysql_dialect/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "HEX", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01656_test_query_log_factories_info/ast.json b/parser/testdata/01656_test_query_log_factories_info/ast.json deleted file mode 100644 index 162d3742f3..0000000000 --- a/parser/testdata/01656_test_query_log_factories_info/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "database_atomic_wait_for_drop_and_detach_synchronously", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01657_array_element_ubsan/ast.json b/parser/testdata/01657_array_element_ubsan/ast.json deleted file mode 100644 index 2cad30b85a..0000000000 --- a/parser/testdata/01657_array_element_ubsan/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - } - ] - }, - "index": { - "type": "Integer", - "value": 10000000000 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01657_test_toHour_mysql_compatibility/ast.json b/parser/testdata/01657_test_toHour_mysql_compatibility/ast.json deleted file mode 100644 index 81de88918f..0000000000 --- a/parser/testdata/01657_test_toHour_mysql_compatibility/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "HOUR", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01658_test_base64Encode_mysql_compatibility/ast.json b/parser/testdata/01658_test_base64Encode_mysql_compatibility/ast.json deleted file mode 100644 index 85aa4c5183..0000000000 --- a/parser/testdata/01658_test_base64Encode_mysql_compatibility/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "TO_BASE64", - "arguments": [ - { - "type": "String", - "value": "test string" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01658_values_ubsan/ast.json b/parser/testdata/01658_values_ubsan/ast.json deleted file mode 100644 index f5fb175281..0000000000 --- a/parser/testdata/01658_values_ubsan/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "VALUES", - "arguments": [ - { - "type": "String", - "value": "x UInt8, y UInt16" - }, - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "String", - "value": "Hello" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01659_array_aggregation_ubsan/ast.json b/parser/testdata/01659_array_aggregation_ubsan/ast.json deleted file mode 100644 index c998f8fb90..0000000000 --- a/parser/testdata/01659_array_aggregation_ubsan/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySum", - "arguments": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9000000000000000000 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9000000000000000000 - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01659_h3_buffer_overflow/ast.json b/parser/testdata/01659_h3_buffer_overflow/ast.json deleted file mode 100644 index 389d3d102c..0000000000 --- a/parser/testdata/01659_h3_buffer_overflow/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "h3kRing", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Integer", - "value": 1000 - } - ] - } - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01659_test_base64Decode_mysql_compatibility/ast.json b/parser/testdata/01659_test_base64Decode_mysql_compatibility/ast.json deleted file mode 100644 index 2d6bed0087..0000000000 --- a/parser/testdata/01659_test_base64Decode_mysql_compatibility/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "FROM_BASE64", - "arguments": [ - { - "type": "String", - "value": "dGVzdCBzdHJpbmc=" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01660_join_or_all/ast.json b/parser/testdata/01660_join_or_all/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01660_join_or_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01660_join_or_any/ast.json b/parser/testdata/01660_join_or_any/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01660_join_or_any/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01660_join_or_inner/ast.json b/parser/testdata/01660_join_or_inner/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01660_join_or_inner/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01660_join_or_subqueries/ast.json b/parser/testdata/01660_join_or_subqueries/ast.json deleted file mode 100644 index 6dabb796e8..0000000000 --- a/parser/testdata/01660_join_or_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01660_second_extremes_bug/ast.json b/parser/testdata/01660_second_extremes_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01660_second_extremes_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01660_sum_ubsan/ast.json b/parser/testdata/01660_sum_ubsan/ast.json deleted file mode 100644 index 8d5b2036fe..0000000000 --- a/parser/testdata/01660_sum_ubsan/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 8000000000000000000 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 11 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01660_system_parts_smoke/ast.json b/parser/testdata/01660_system_parts_smoke/ast.json deleted file mode 100644 index 45dfa14769..0000000000 --- a/parser/testdata/01660_system_parts_smoke/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "parts" - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/ast.json b/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/ast.json deleted file mode 100644 index 5d0047566e..0000000000 --- a/parser/testdata/01660_test_toDayOfYear_mysql_compatibility/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "DAYOFYEAR", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01661_arraySlice_ubsan/ast.json b/parser/testdata/01661_arraySlice_ubsan/ast.json deleted file mode 100644 index 5b065e1c8e..0000000000 --- a/parser/testdata/01661_arraySlice_ubsan/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySlice", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01661_extract_all_groups_throw_fast/ast.json b/parser/testdata/01661_extract_all_groups_throw_fast/ast.json deleted file mode 100644 index 6d0522ad8d..0000000000 --- a/parser/testdata/01661_extract_all_groups_throw_fast/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "abcdefghijklmnopqrstuvwxyz" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 100 - } - } - ], - "alias": "haystack" - }, - { - "name": "extractAllGroupsHorizontal", - "arguments": [ - { - "parts": [ - "haystack" - ] - }, - { - "type": "String", - "value": "(\\w)" - } - ], - "alias": "matches" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1023 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/ast.json b/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/ast.json deleted file mode 100644 index 78b05959d9..0000000000 --- a/parser/testdata/01661_test_toDayOfWeek_mysql_compatibility/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "DAYOFWEEK", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01661_week_functions_string_args/ast.json b/parser/testdata/01661_week_functions_string_args/ast.json deleted file mode 100644 index 41aa8284c0..0000000000 --- a/parser/testdata/01661_week_functions_string_args/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Constant argument" - } - ] - } - ] -} diff --git a/parser/testdata/01662_date_ubsan/ast.json b/parser/testdata/01662_date_ubsan/ast.json deleted file mode 100644 index c63a04816e..0000000000 --- a/parser/testdata/01662_date_ubsan/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "addMinutes", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-01 00:00:00" - }, - { - "type": "String", - "value": "GMT" - } - ] - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01662_join_mixed/ast.json b/parser/testdata/01662_join_mixed/ast.json deleted file mode 100644 index ee7dab4697..0000000000 --- a/parser/testdata/01662_join_mixed/ast.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "a" - }, - { - "expr": { - "type": "String", - "value": "b" - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 42 - }, - "alias": "forty_two" - } - ] - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "a" - }, - { - "expr": { - "type": "String", - "value": "b" - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 42 - }, - "alias": "forty_two" - } - ] - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "left": { - "parts": [ - "t1", - "b" - ] - }, - "op": "=", - "right": { - "parts": [ - "t2", - "a" - ] - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "t1", - "forty_two" - ] - }, - "op": "=", - "right": { - "parts": [ - "t2", - "forty_two" - ] - } - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/ast.json b/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/ast.json deleted file mode 100644 index 59e1fe91fc..0000000000 --- a/parser/testdata/01662_test_toDayOfMonth_mysql_compatibility/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "DAYOFMONTH", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01663_aes_msan/ast.json b/parser/testdata/01663_aes_msan/ast.json deleted file mode 100644 index 144eb83c95..0000000000 --- a/parser/testdata/01663_aes_msan/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "encrypt", - "arguments": [ - { - "type": "String", - "value": "aes-128-cbc" - }, - { - "type": "String", - "value": "text" - }, - { - "type": "String", - "value": "keykeykeykeykeyk" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01663_quantile_weighted_overflow/ast.json b/parser/testdata/01663_quantile_weighted_overflow/ast.json deleted file mode 100644 index e8099c537b..0000000000 --- a/parser/testdata/01663_quantile_weighted_overflow/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileExactWeighted", - "parameters": [ - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 6 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01663_test_toDate_mysql_compatibility/ast.json b/parser/testdata/01663_test_toDate_mysql_compatibility/ast.json deleted file mode 100644 index 18b2143476..0000000000 --- a/parser/testdata/01663_test_toDate_mysql_compatibility/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "DATE", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01664_array_slice_ubsan/ast.json b/parser/testdata/01664_array_slice_ubsan/ast.json deleted file mode 100644 index 7f7366ef44..0000000000 --- a/parser/testdata/01664_array_slice_ubsan/ast.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySlice", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "type": "Null", - "value": null - } - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "6553.5" - }, - { - "name": "uniqState", - "arguments": [ - { - "type": "Null", - "value": null - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01664_ntoa_aton_mysql_compatibility/ast.json b/parser/testdata/01664_ntoa_aton_mysql_compatibility/ast.json deleted file mode 100644 index 28a26c9900..0000000000 --- a/parser/testdata/01664_ntoa_aton_mysql_compatibility/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "INET6_NTOA", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "2A0206B8000000000000000000000011" - } - ] - }, - { - "type": "Integer", - "value": 16 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01665_merge_tree_min_for_concurrent_read/ast.json b/parser/testdata/01665_merge_tree_min_for_concurrent_read/ast.json deleted file mode 100644 index 76720f016e..0000000000 --- a/parser/testdata/01665_merge_tree_min_for_concurrent_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01655", - "tables": [ - { - "table": "data_01655" - } - ] -} diff --git a/parser/testdata/01665_running_difference_ubsan/ast.json b/parser/testdata/01665_running_difference_ubsan/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/01665_running_difference_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01665_substring_ubsan/ast.json b/parser/testdata/01665_substring_ubsan/ast.json deleted file mode 100644 index 14f8d6c9c5..0000000000 --- a/parser/testdata/01665_substring_ubsan/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "substringUTF8", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01666_date_lut_buffer_overflow/ast.json b/parser/testdata/01666_date_lut_buffer_overflow/ast.json deleted file mode 100644 index a8d63fd8f3..0000000000 --- a/parser/testdata/01666_date_lut_buffer_overflow/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2105-12-31" - } - ] - }, - "op": "+", - "right": { - "value": { - "parts": [ - "number" - ] - }, - "unit": "MONTH" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 25000 - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01666_gcd_ubsan/ast.json b/parser/testdata/01666_gcd_ubsan/ast.json deleted file mode 100644 index a4fe1bebf0..0000000000 --- a/parser/testdata/01666_gcd_ubsan/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "gcd", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01666_great_circle_distance_ubsan/ast.json b/parser/testdata/01666_great_circle_distance_ubsan/ast.json deleted file mode 100644 index d4cbe64a1a..0000000000 --- a/parser/testdata/01666_great_circle_distance_ubsan/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "greatCircleAngle", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01666_lcm_ubsan/ast.json b/parser/testdata/01666_lcm_ubsan/ast.json deleted file mode 100644 index d77b427e37..0000000000 --- a/parser/testdata/01666_lcm_ubsan/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "lcm", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01667_aes_args_check/ast.json b/parser/testdata/01667_aes_args_check/ast.json deleted file mode 100644 index e2998cd44d..0000000000 --- a/parser/testdata/01667_aes_args_check/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "encrypt", - "arguments": [ - { - "type": "String", - "value": "aes-128-ecb" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "String", - "value": "text" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01668_test_toMonth_mysql_dialect/ast.json b/parser/testdata/01668_test_toMonth_mysql_dialect/ast.json deleted file mode 100644 index bad2382d2b..0000000000 --- a/parser/testdata/01668_test_toMonth_mysql_dialect/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "MONTH", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01669_join_or_duplicates/ast.json b/parser/testdata/01669_join_or_duplicates/ast.json deleted file mode 100644 index 7f8efa1c26..0000000000 --- a/parser/testdata/01669_join_or_duplicates/ast.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "1 left" - }, - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "y" - } - ] - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "xx" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "yy" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "LEFT", - "on": { - "left": { - "left": { - "parts": [ - "x" - ] - }, - "op": "=", - "right": { - "parts": [ - "xx" - ] - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "y" - ] - }, - "op": "=", - "right": { - "parts": [ - "yy" - ] - } - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01669_test_toYear_mysql_dialect/ast.json b/parser/testdata/01669_test_toYear_mysql_dialect/ast.json deleted file mode 100644 index bbe295fd6c..0000000000 --- a/parser/testdata/01669_test_toYear_mysql_dialect/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "YEAR", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01670_dictionary_create_key_expression/ast.json b/parser/testdata/01670_dictionary_create_key_expression/ast.json deleted file mode 100644 index ac46de4ecc..0000000000 --- a/parser/testdata/01670_dictionary_create_key_expression/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "database": "database_dictionary_test_key_expression", - "create_database": true -} diff --git a/parser/testdata/01670_distributed_bytes_to_throw_insert/ast.json b/parser/testdata/01670_distributed_bytes_to_throw_insert/ast.json deleted file mode 100644 index b671095183..0000000000 --- a/parser/testdata/01670_distributed_bytes_to_throw_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_01670", - "tables": [ - { - "table": "dist_01670" - } - ] -} diff --git a/parser/testdata/01670_log_comment/ast.json b/parser/testdata/01670_log_comment/ast.json deleted file mode 100644 index b1c5f823e2..0000000000 --- a/parser/testdata/01670_log_comment/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "log_comment", - "value": { - "type": "String", - "value": "log_comment test" - } - }, - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01670_neighbor_lc_bug/ast.json b/parser/testdata/01670_neighbor_lc_bug/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/01670_neighbor_lc_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01670_sign_function/ast.json b/parser/testdata/01670_sign_function/ast.json deleted file mode 100644 index 7e84f2a01d..0000000000 --- a/parser/testdata/01670_sign_function/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sign", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01670_test_repeat_mysql_dialect/ast.json b/parser/testdata/01670_test_repeat_mysql_dialect/ast.json deleted file mode 100644 index 5fc6555d8f..0000000000 --- a/parser/testdata/01670_test_repeat_mysql_dialect/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "REPEAT", - "arguments": [ - { - "type": "String", - "value": "Test" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01671_aggregate_function_group_bitmap_data/ast.json b/parser/testdata/01671_aggregate_function_group_bitmap_data/ast.json deleted file mode 100644 index 8c5fd5a201..0000000000 --- a/parser/testdata/01671_aggregate_function_group_bitmap_data/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 10000 - } - } - ] -} diff --git a/parser/testdata/01671_merge_join_and_constants/ast.json b/parser/testdata/01671_merge_join_and_constants/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/01671_merge_join_and_constants/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01671_test_toQuarter_mysql_dialect/ast.json b/parser/testdata/01671_test_toQuarter_mysql_dialect/ast.json deleted file mode 100644 index 9273219f85..0000000000 --- a/parser/testdata/01671_test_toQuarter_mysql_dialect/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "QUARTER", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01672_test_toSecond_mysql_dialect/ast.json b/parser/testdata/01672_test_toSecond_mysql_dialect/ast.json deleted file mode 100644 index 49c08e7226..0000000000 --- a/parser/testdata/01672_test_toSecond_mysql_dialect/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "SECOND", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01673_test_toMinute_mysql_dialect/ast.json b/parser/testdata/01673_test_toMinute_mysql_dialect/ast.json deleted file mode 100644 index 3534a9a60b..0000000000 --- a/parser/testdata/01673_test_toMinute_mysql_dialect/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "MINUTE", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2016-06-15 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01674_executable_dictionary_implicit_key/ast.json b/parser/testdata/01674_executable_dictionary_implicit_key/ast.json deleted file mode 100644 index 003c36beb0..0000000000 --- a/parser/testdata/01674_executable_dictionary_implicit_key/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dictGet", - "arguments": [ - { - "type": "String", - "value": "simple_executable_cache_dictionary_no_implicit_key" - }, - { - "type": "String", - "value": "value" - }, - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01674_filter_by_uint8/ast.json b/parser/testdata/01674_filter_by_uint8/ast.json deleted file mode 100644 index 7f958ea065..0000000000 --- a/parser/testdata/01674_filter_by_uint8/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 256 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 255 - } - ] - } - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 257 - } - ] - } - ] - } - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01674_htm_xml_coarse_parse/ast.json b/parser/testdata/01674_htm_xml_coarse_parse/ast.json deleted file mode 100644 index 195cf3e3c0..0000000000 --- a/parser/testdata/01674_htm_xml_coarse_parse/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractTextFromHTML", - "arguments": [ - { - "type": "String", - "value": "\u003cscript\u003eHere is script.\u003c/script\u003e" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01674_where_prewhere_array_crash/ast.json b/parser/testdata/01674_where_prewhere_array_crash/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01674_where_prewhere_array_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01676_dictget_in_default_expression/ast.json b/parser/testdata/01676_dictget_in_default_expression/ast.json deleted file mode 100644 index 1dc73e7ae0..0000000000 --- a/parser/testdata/01676_dictget_in_default_expression/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "if_exists": true, - "database": "test_01676", - "drop_database": true, - "sync": true -} diff --git a/parser/testdata/01676_range_hashed_dictionary/ast.json b/parser/testdata/01676_range_hashed_dictionary/ast.json deleted file mode 100644 index 476a152288..0000000000 --- a/parser/testdata/01676_range_hashed_dictionary/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "table": "date_table", - "columns": [ - { - "name": "CountryID", - "type": { - "name": "UInt64" - } - }, - { - "name": "StartDate", - "type": { - "name": "Date" - } - }, - { - "name": "EndDate", - "type": { - "name": "Date" - } - }, - { - "name": "Tax", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "CountryID" - ] - } - ] -} diff --git a/parser/testdata/01676_reinterpret_as/ast.json b/parser/testdata/01676_reinterpret_as/ast.json deleted file mode 100644 index f97a168c43..0000000000 --- a/parser/testdata/01676_reinterpret_as/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Into String" - } - ] - } - ] -} diff --git a/parser/testdata/01676_round_int_ubsan/ast.json b/parser/testdata/01676_round_int_ubsan/ast.json deleted file mode 100644 index 38a76d43ef..0000000000 --- a/parser/testdata/01676_round_int_ubsan/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01677_array_enumerate_bug/ast.json b/parser/testdata/01677_array_enumerate_bug/ast.json deleted file mode 100644 index d04234a77d..0000000000 --- a/parser/testdata/01677_array_enumerate_bug/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "name": "arrayEnumerateUniq", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - }, - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 1023 - } - ] - }, - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01678_great_circle_angle/ast.json b/parser/testdata/01678_great_circle_angle/ast.json deleted file mode 100644 index 8b865b485c..0000000000 --- a/parser/testdata/01678_great_circle_angle/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "geo_distance_returns_float64_on_float64_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01680_date_time_add_ubsan/ast.json b/parser/testdata/01680_date_time_add_ubsan/ast.json deleted file mode 100644 index 986ddb814f..0000000000 --- a/parser/testdata/01680_date_time_add_ubsan/ast.json +++ /dev/null @@ -1,119 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "result" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toStartOfFifteenMinutes", - "arguments": [ - { - "left": { - "name": "toDateTime", - "arguments": [ - { - "name": "toStartOfFifteenMinutes", - "arguments": [ - { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "Float", - "value": 1000.0001220703125 - } - ] - }, - "op": "+", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 65536 - } - } - } - ] - } - ] - }, - "op": "+", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 9223372036854775807 - } - } - } - ], - "alias": "result" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1048576 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "result" - ] - }, - "descending": true, - "nulls_first": true - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/ast.json b/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/ast.json deleted file mode 100644 index 013926f66f..0000000000 --- a/parser/testdata/01680_predicate_pushdown_union_distinct_subquery/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2000 - }, - "alias": "d_year" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2000 - }, - "alias": "d_year" - } - ] - } - ], - "union_modes": [ - "UNION DISTINCT" - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "d_year" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2002 - } - } - } - ] -} diff --git a/parser/testdata/01681_bloom_filter_nullable_column/ast.json b/parser/testdata/01681_bloom_filter_nullable_column/ast.json deleted file mode 100644 index b037b329b3..0000000000 --- a/parser/testdata/01681_bloom_filter_nullable_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_nullable_index", - "tables": [ - { - "table": "bloom_filter_nullable_index" - } - ] -} diff --git a/parser/testdata/01681_cache_dictionary_simple_key/ast.json b/parser/testdata/01681_cache_dictionary_simple_key/ast.json deleted file mode 100644 index 5d395ae99e..0000000000 --- a/parser/testdata/01681_cache_dictionary_simple_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01681_database_for_cache_dictionary", - "drop_database": true -} diff --git a/parser/testdata/01682_cache_dictionary_complex_key/ast.json b/parser/testdata/01682_cache_dictionary_complex_key/ast.json deleted file mode 100644 index 6c3f0c4477..0000000000 --- a/parser/testdata/01682_cache_dictionary_complex_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01682_database_for_cache_dictionary", - "drop_database": true -} diff --git a/parser/testdata/01682_gather_utils_ubsan/ast.json b/parser/testdata/01682_gather_utils_ubsan/ast.json deleted file mode 100644 index ceb8617750..0000000000 --- a/parser/testdata/01682_gather_utils_ubsan/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayResize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01683_codec_encrypted/ast.json b/parser/testdata/01683_codec_encrypted/ast.json deleted file mode 100644 index 950f4fd48b..0000000000 --- a/parser/testdata/01683_codec_encrypted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "encryption_test", - "tables": [ - { - "table": "encryption_test" - } - ] -} diff --git a/parser/testdata/01683_dist_INSERT_block_structure_mismatch/ast.json b/parser/testdata/01683_dist_INSERT_block_structure_mismatch/ast.json deleted file mode 100644 index 916a5b51e5..0000000000 --- a/parser/testdata/01683_dist_INSERT_block_structure_mismatch/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp_01683", - "tables": [ - { - "table": "tmp_01683" - } - ] -} diff --git a/parser/testdata/01683_flat_dictionary/ast.json b/parser/testdata/01683_flat_dictionary/ast.json deleted file mode 100644 index f3680114eb..0000000000 --- a/parser/testdata/01683_flat_dictionary/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01681_database_for_flat_dictionary", - "drop_database": true -} diff --git a/parser/testdata/01684_geohash_ubsan/ast.json b/parser/testdata/01684_geohash_ubsan/ast.json deleted file mode 100644 index ecbe013b50..0000000000 --- a/parser/testdata/01684_geohash_ubsan/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "geohashesInBox", - "arguments": [ - { - "type": "Float", - "value": 100.0000991821289 - }, - { - "type": "Float", - "value": 100.0000991821289 - }, - { - "type": "Float", - "value": 1000.0001220703125 - }, - { - "type": "Float", - "value": 1000.0001220703125 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01684_insert_specify_shard_id/ast.json b/parser/testdata/01684_insert_specify_shard_id/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01684_insert_specify_shard_id/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01686_rocksdb/ast.json b/parser/testdata/01686_rocksdb/ast.json deleted file mode 100644 index 0c1fd2c117..0000000000 --- a/parser/testdata/01686_rocksdb/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "01686_test", - "tables": [ - { - "table": "01686_test" - } - ] -} diff --git a/parser/testdata/01690_quantilesTiming_ubsan/ast.json b/parser/testdata/01690_quantilesTiming_ubsan/ast.json deleted file mode 100644 index 154833adbd..0000000000 --- a/parser/testdata/01690_quantilesTiming_ubsan/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilesTimingWeighted", - "parameters": [ - { - "type": "Float", - "value": 0.1 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01691_DateTime64_clamp/ast.json b/parser/testdata/01691_DateTime64_clamp/ast.json deleted file mode 100644 index 85346288ef..0000000000 --- a/parser/testdata/01691_DateTime64_clamp/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTimeZone", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01692_DateTime64_from_DateTime/ast.json b/parser/testdata/01692_DateTime64_from_DateTime/ast.json deleted file mode 100644 index 6f268bece8..0000000000 --- a/parser/testdata/01692_DateTime64_from_DateTime/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01698_map_populate_overflow/ast.json b/parser/testdata/01698_map_populate_overflow/ast.json deleted file mode 100644 index 18eabd9e23..0000000000 --- a/parser/testdata/01698_map_populate_overflow/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mapPopulateSeries", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01700_deltasum/ast.json b/parser/testdata/01700_deltasum/ast.json deleted file mode 100644 index 4f5ddce2a1..0000000000 --- a/parser/testdata/01700_deltasum/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "deltaSum", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01700_mod_negative_type_promotion/ast.json b/parser/testdata/01700_mod_negative_type_promotion/ast.json deleted file mode 100644 index 7f13331b11..0000000000 --- a/parser/testdata/01700_mod_negative_type_promotion/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "name": "toInt32", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 199 - } - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 200 - } - }, - "alias": "k" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "k" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01700_system_zookeeper_path_in/ast.json b/parser/testdata/01700_system_zookeeper_path_in/ast.json deleted file mode 100644 index 570e5593f6..0000000000 --- a/parser/testdata/01700_system_zookeeper_path_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sample_table", - "tables": [ - { - "table": "sample_table" - } - ] -} diff --git a/parser/testdata/01701_clear_projection_and_part_remove/ast.json b/parser/testdata/01701_clear_projection_and_part_remove/ast.json deleted file mode 100644 index 34a0490624..0000000000 --- a/parser/testdata/01701_clear_projection_and_part_remove/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp_1", - "tables": [ - { - "table": "tp_1" - } - ] -} diff --git a/parser/testdata/01701_if_tuple_segfault/ast.json b/parser/testdata/01701_if_tuple_segfault/ast.json deleted file mode 100644 index 7ed6498aaa..0000000000 --- a/parser/testdata/01701_if_tuple_segfault/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "agg_table", - "tables": [ - { - "table": "agg_table" - } - ] -} diff --git a/parser/testdata/01702_bitmap_native_integers/ast.json b/parser/testdata/01702_bitmap_native_integers/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01702_bitmap_native_integers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/ast.json b/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/ast.json deleted file mode 100644 index b3ea2bad96..0000000000 --- a/parser/testdata/01702_rewrite_avg_for_algebraic_optimization/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "SELECT avg(number + 2) FROM numbers(10)" - } - ] - } - ] -} diff --git a/parser/testdata/01702_system_numbers_scientific_notation/ast.json b/parser/testdata/01702_system_numbers_scientific_notation/ast.json deleted file mode 100644 index a7c0effc28..0000000000 --- a/parser/testdata/01702_system_numbers_scientific_notation/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 100 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01702_system_query_log/ast.json b/parser/testdata/01702_system_query_log/ast.json deleted file mode 100644 index 4c39950e94..0000000000 --- a/parser/testdata/01702_system_query_log/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_comment", - "value": { - "type": "String", - "value": "system.query_log logging test" - } - } - ] -} diff --git a/parser/testdata/01702_toDateTime_from_string_clamping/ast.json b/parser/testdata/01702_toDateTime_from_string_clamping/ast.json deleted file mode 100644 index a29dd59de2..0000000000 --- a/parser/testdata/01702_toDateTime_from_string_clamping/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "-922337203.6854775808" - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/ast.json b/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/ast.json deleted file mode 100644 index 68fffeee56..0000000000 --- a/parser/testdata/01703_rewrite_aggregate_function_case_insensitive/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "/", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01704_transform_with_float_key/ast.json b/parser/testdata/01704_transform_with_float_key/ast.json deleted file mode 100644 index 8ab347d186..0000000000 --- a/parser/testdata/01704_transform_with_float_key/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "/", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 1.5 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "String", - "value": "World" - } - ] - }, - { - "type": "String", - "value": "-" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01705_normalize_case_insensitive_function_names/ast.json b/parser/testdata/01705_normalize_case_insensitive_function_names/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01705_normalize_case_insensitive_function_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01705_normalize_create_alter_function_names/ast.json b/parser/testdata/01705_normalize_create_alter_function_names/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01705_normalize_create_alter_function_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01706_optimize_normalize_count_variants/ast.json b/parser/testdata/01706_optimize_normalize_count_variants/ast.json deleted file mode 100644 index 4bc44db6b3..0000000000 --- a/parser/testdata/01706_optimize_normalize_count_variants/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_normalize_count_variants", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01707_join_use_nulls/ast.json b/parser/testdata/01707_join_use_nulls/ast.json deleted file mode 100644 index 26e34cc2e5..0000000000 --- a/parser/testdata/01707_join_use_nulls/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "X", - "tables": [ - { - "table": "X" - } - ] -} diff --git a/parser/testdata/01709_inactive_parts_to_throw_insert/ast.json b/parser/testdata/01709_inactive_parts_to_throw_insert/ast.json deleted file mode 100644 index eeb818f949..0000000000 --- a/parser/testdata/01709_inactive_parts_to_throw_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01709", - "tables": [ - { - "table": "data_01709" - } - ] -} diff --git a/parser/testdata/01710_aggregate_projection_with_grouping_set/ast.json b/parser/testdata/01710_aggregate_projection_with_grouping_set/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01710_aggregate_projection_with_grouping_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01710_aggregate_projection_with_hashing/ast.json b/parser/testdata/01710_aggregate_projection_with_hashing/ast.json deleted file mode 100644 index d7cbe3b99f..0000000000 --- a/parser/testdata/01710_aggregate_projection_with_hashing/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_use_projections", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "force_optimize_projection", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/ast.json b/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01710_aggregate_projection_with_monotonic_key_expr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01710_aggregate_projection_with_normalized_states/ast.json b/parser/testdata/01710_aggregate_projection_with_normalized_states/ast.json deleted file mode 100644 index 73dfbc9980..0000000000 --- a/parser/testdata/01710_aggregate_projection_with_normalized_states/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "r", - "tables": [ - { - "table": "r" - } - ] -} diff --git a/parser/testdata/01710_force_use_projection/ast.json b/parser/testdata/01710_force_use_projection/ast.json deleted file mode 100644 index 1e0f923590..0000000000 --- a/parser/testdata/01710_force_use_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp", - "tables": [ - { - "table": "tp" - } - ] -} diff --git a/parser/testdata/01710_minmax_count_projection/ast.json b/parser/testdata/01710_minmax_count_projection/ast.json deleted file mode 100644 index 721e12752c..0000000000 --- a/parser/testdata/01710_minmax_count_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "d", - "tables": [ - { - "table": "d" - } - ] -} diff --git a/parser/testdata/01710_minmax_count_projection_constant_query/ast.json b/parser/testdata/01710_minmax_count_projection_constant_query/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_minmax_count_projection_constant_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_minmax_count_projection_count_nullable/ast.json b/parser/testdata/01710_minmax_count_projection_count_nullable/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01710_minmax_count_projection_count_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01710_minmax_count_projection_distributed_query/ast.json b/parser/testdata/01710_minmax_count_projection_distributed_query/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_minmax_count_projection_distributed_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_minmax_count_projection_modify_partition_key/ast.json b/parser/testdata/01710_minmax_count_projection_modify_partition_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01710_minmax_count_projection_modify_partition_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01710_normal_projection_fix1/ast.json b/parser/testdata/01710_normal_projection_fix1/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_normal_projection_fix1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_normal_projection_format/ast.json b/parser/testdata/01710_normal_projection_format/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01710_normal_projection_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01710_normal_projection_join_plan_fix/ast.json b/parser/testdata/01710_normal_projection_join_plan_fix/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01710_normal_projection_join_plan_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01710_normal_projection_with_query_plan_optimization/ast.json b/parser/testdata/01710_normal_projection_with_query_plan_optimization/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_normal_projection_with_query_plan_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_order_by_projections_complete/ast.json b/parser/testdata/01710_order_by_projections_complete/ast.json deleted file mode 100644 index adaeef75b3..0000000000 --- a/parser/testdata/01710_order_by_projections_complete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_order_by_proj_comp", - "tables": [ - { - "table": "data_order_by_proj_comp" - } - ] -} diff --git a/parser/testdata/01710_order_by_projections_incomplete/ast.json b/parser/testdata/01710_order_by_projections_incomplete/ast.json deleted file mode 100644 index 34093c85f4..0000000000 --- a/parser/testdata/01710_order_by_projections_incomplete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_order_by_proj_incomp", - "tables": [ - { - "table": "data_order_by_proj_incomp" - } - ] -} diff --git a/parser/testdata/01710_projection_additional_filters/ast.json b/parser/testdata/01710_projection_additional_filters/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_additional_filters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_aggregate_functions_null_for_empty/ast.json b/parser/testdata/01710_projection_aggregate_functions_null_for_empty/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01710_projection_aggregate_functions_null_for_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01710_projection_aggregation_in_order/ast.json b/parser/testdata/01710_projection_aggregation_in_order/ast.json deleted file mode 100644 index 7280de9500..0000000000 --- a/parser/testdata/01710_projection_aggregation_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "normal", - "tables": [ - { - "table": "normal" - } - ] -} diff --git a/parser/testdata/01710_projection_array_join/ast.json b/parser/testdata/01710_projection_array_join/ast.json deleted file mode 100644 index 9dcab88739..0000000000 --- a/parser/testdata/01710_projection_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_use_projections", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01710_projection_detach_part/ast.json b/parser/testdata/01710_projection_detach_part/ast.json deleted file mode 100644 index 9dcab88739..0000000000 --- a/parser/testdata/01710_projection_detach_part/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_use_projections", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01710_projection_drop_if_exists/ast.json b/parser/testdata/01710_projection_drop_if_exists/ast.json deleted file mode 100644 index 1e0f923590..0000000000 --- a/parser/testdata/01710_projection_drop_if_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp", - "tables": [ - { - "table": "tp" - } - ] -} diff --git a/parser/testdata/01710_projection_external_aggregate/ast.json b/parser/testdata/01710_projection_external_aggregate/ast.json deleted file mode 100644 index 7d5511211b..0000000000 --- a/parser/testdata/01710_projection_external_aggregate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "agg", - "tables": [ - { - "table": "agg" - } - ] -} diff --git a/parser/testdata/01710_projection_fetch_long/ast.json b/parser/testdata/01710_projection_fetch_long/ast.json deleted file mode 100644 index 34a0490624..0000000000 --- a/parser/testdata/01710_projection_fetch_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp_1", - "tables": [ - { - "table": "tp_1" - } - ] -} diff --git a/parser/testdata/01710_projection_group_by_order_by/ast.json b/parser/testdata/01710_projection_group_by_order_by/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_group_by_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_in_index/ast.json b/parser/testdata/01710_projection_in_index/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/01710_projection_in_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01710_projection_in_set/ast.json b/parser/testdata/01710_projection_in_set/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01710_projection_in_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01710_projection_materialize_with_missing_columns/ast.json b/parser/testdata/01710_projection_materialize_with_missing_columns/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01710_projection_materialize_with_missing_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01710_projection_mutation/ast.json b/parser/testdata/01710_projection_mutation/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/ast.json b/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/ast.json deleted file mode 100644 index 4fdadece6e..0000000000 --- a/parser/testdata/01710_projection_optimize_aggregators_of_group_by_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "proj", - "tables": [ - { - "table": "proj" - } - ] -} diff --git a/parser/testdata/01710_projection_optimize_group_by_function_keys/ast.json b/parser/testdata/01710_projection_optimize_group_by_function_keys/ast.json deleted file mode 100644 index 4fdadece6e..0000000000 --- a/parser/testdata/01710_projection_optimize_group_by_function_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "proj", - "tables": [ - { - "table": "proj" - } - ] -} diff --git a/parser/testdata/01710_projection_optimize_materialize/ast.json b/parser/testdata/01710_projection_optimize_materialize/ast.json deleted file mode 100644 index c596d16a26..0000000000 --- a/parser/testdata/01710_projection_optimize_materialize/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "z", - "tables": [ - { - "table": "z" - } - ] -} diff --git a/parser/testdata/01710_projection_part_check/ast.json b/parser/testdata/01710_projection_part_check/ast.json deleted file mode 100644 index 1e0f923590..0000000000 --- a/parser/testdata/01710_projection_part_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp", - "tables": [ - { - "table": "tp" - } - ] -} diff --git a/parser/testdata/01710_projection_pk_trivial_count/ast.json b/parser/testdata/01710_projection_pk_trivial_count/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/01710_projection_pk_trivial_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/01710_projection_query_plan_optimization_misc/ast.json b/parser/testdata/01710_projection_query_plan_optimization_misc/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_query_plan_optimization_misc/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_row_policy/ast.json b/parser/testdata/01710_projection_row_policy/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_row_policy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_vertical_merges/ast.json b/parser/testdata/01710_projection_vertical_merges/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_vertical_merges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_with_alter_conversions/ast.json b/parser/testdata/01710_projection_with_alter_conversions/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_with_alter_conversions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_with_ast_rewrite_settings/ast.json b/parser/testdata/01710_projection_with_ast_rewrite_settings/ast.json deleted file mode 100644 index 57ca344341..0000000000 --- a/parser/testdata/01710_projection_with_ast_rewrite_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "aggregate_functions_null_for_empty", - "tables": [ - { - "table": "aggregate_functions_null_for_empty" - } - ] -} diff --git a/parser/testdata/01710_projection_with_column_transformers/ast.json b/parser/testdata/01710_projection_with_column_transformers/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/01710_projection_with_column_transformers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/01710_projection_with_joins/ast.json b/parser/testdata/01710_projection_with_joins/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_with_joins/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_with_mixed_pipeline/ast.json b/parser/testdata/01710_projection_with_mixed_pipeline/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01710_projection_with_mixed_pipeline/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01710_projection_with_nullable_keys/ast.json b/parser/testdata/01710_projection_with_nullable_keys/ast.json deleted file mode 100644 index 45241a89cf..0000000000 --- a/parser/testdata/01710_projection_with_nullable_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sales", - "tables": [ - { - "table": "sales" - } - ] -} diff --git a/parser/testdata/01710_projections/ast.json b/parser/testdata/01710_projections/ast.json deleted file mode 100644 index 135e8e434d..0000000000 --- a/parser/testdata/01710_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "projection_test", - "tables": [ - { - "table": "projection_test" - } - ] -} diff --git a/parser/testdata/01710_projections_and_duplicate_columms/ast.json b/parser/testdata/01710_projections_and_duplicate_columms/ast.json deleted file mode 100644 index d7f507e523..0000000000 --- a/parser/testdata/01710_projections_and_duplicate_columms/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "projection_test__fuzz_0", - "tables": [ - { - "table": "projection_test__fuzz_0" - } - ] -} diff --git a/parser/testdata/01710_projections_group_by_no_key/ast.json b/parser/testdata/01710_projections_group_by_no_key/ast.json deleted file mode 100644 index 3bb0554647..0000000000 --- a/parser/testdata/01710_projections_group_by_no_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "projection_without_key", - "tables": [ - { - "table": "projection_without_key" - } - ] -} diff --git a/parser/testdata/01710_projections_in_distributed_query/ast.json b/parser/testdata/01710_projections_in_distributed_query/ast.json deleted file mode 100644 index e0ffff1924..0000000000 --- a/parser/testdata/01710_projections_in_distributed_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_memory_bound_merging_of_aggregation_results", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01710_projections_order_by_complete/ast.json b/parser/testdata/01710_projections_order_by_complete/ast.json deleted file mode 100644 index 9478b86e2d..0000000000 --- a/parser/testdata/01710_projections_order_by_complete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_proj_order_by_comp", - "tables": [ - { - "table": "data_proj_order_by_comp" - } - ] -} diff --git a/parser/testdata/01710_projections_order_by_incomplete/ast.json b/parser/testdata/01710_projections_order_by_incomplete/ast.json deleted file mode 100644 index 08df2c3ce5..0000000000 --- a/parser/testdata/01710_projections_order_by_incomplete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_proj_order_by_incomp", - "tables": [ - { - "table": "data_proj_order_by_incomp" - } - ] -} diff --git a/parser/testdata/01710_query_log_with_projection_info/ast.json b/parser/testdata/01710_query_log_with_projection_info/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01710_query_log_with_projection_info/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01711_cte_subquery_fix/ast.json b/parser/testdata/01711_cte_subquery_fix/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01711_cte_subquery_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01711_decimal_multiplication/ast.json b/parser/testdata/01711_decimal_multiplication/ast.json deleted file mode 100644 index 51d2b8bd46..0000000000 --- a/parser/testdata/01711_decimal_multiplication/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "materialize", - "arguments": [ - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - }, - "op": "-", - "right": { - "name": "materialize", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01712_no_adaptive_granularity_vertical_merge/ast.json b/parser/testdata/01712_no_adaptive_granularity_vertical_merge/ast.json deleted file mode 100644 index 676eaa0ea7..0000000000 --- a/parser/testdata/01712_no_adaptive_granularity_vertical_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "old_school_table", - "tables": [ - { - "table": "old_school_table" - } - ] -} diff --git a/parser/testdata/01713_table_ttl_old_syntax_zookeeper/ast.json b/parser/testdata/01713_table_ttl_old_syntax_zookeeper/ast.json deleted file mode 100644 index 7969279fc9..0000000000 --- a/parser/testdata/01713_table_ttl_old_syntax_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_table", - "tables": [ - { - "table": "ttl_table" - } - ] -} diff --git a/parser/testdata/01714_alter_drop_version/ast.json b/parser/testdata/01714_alter_drop_version/ast.json deleted file mode 100644 index 3f97516e36..0000000000 --- a/parser/testdata/01714_alter_drop_version/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_drop_version", - "tables": [ - { - "table": "alter_drop_version" - } - ] -} diff --git a/parser/testdata/01715_background_checker_blather_zookeeper_long/ast.json b/parser/testdata/01715_background_checker_blather_zookeeper_long/ast.json deleted file mode 100644 index 29a8326ff6..0000000000 --- a/parser/testdata/01715_background_checker_blather_zookeeper_long/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "i20203_1", - "tables": [ - { - "table": "i20203_1" - } - ], - "sync": true -} diff --git a/parser/testdata/01715_tuple_insert_null_as_default/ast.json b/parser/testdata/01715_tuple_insert_null_as_default/ast.json deleted file mode 100644 index b2df79e429..0000000000 --- a/parser/testdata/01715_tuple_insert_null_as_default/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Tuple" - } - ] - } - ] -} diff --git a/parser/testdata/01716_array_difference_overflow/ast.json b/parser/testdata/01716_array_difference_overflow/ast.json deleted file mode 100644 index 6559f3d2dc..0000000000 --- a/parser/testdata/01716_array_difference_overflow/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDifference", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 65536 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01716_decimal_comparison_ubsan/ast.json b/parser/testdata/01716_decimal_comparison_ubsan/ast.json deleted file mode 100644 index 2033a81513..0000000000 --- a/parser/testdata/01716_decimal_comparison_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "decimal_check_overflow", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01716_drop_rename_sign_column/ast.json b/parser/testdata/01716_drop_rename_sign_column/ast.json deleted file mode 100644 index efe846cfcf..0000000000 --- a/parser/testdata/01716_drop_rename_sign_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "signed_table", - "tables": [ - { - "table": "signed_table" - } - ] -} diff --git a/parser/testdata/01717_int_div_float_too_large_ubsan/ast.json b/parser/testdata/01717_int_div_float_too_large_ubsan/ast.json deleted file mode 100644 index 0cebf39a27..0000000000 --- a/parser/testdata/01717_int_div_float_too_large_ubsan/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "type": "Integer", - "value": 18446744073709551615 - }, - { - "type": "Float", - "value": 0.9998999834060669 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01718_subtract_seconds_date/ast.json b/parser/testdata/01718_subtract_seconds_date/ast.json deleted file mode 100644 index ae87776105..0000000000 --- a/parser/testdata/01718_subtract_seconds_date/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "subtractSeconds", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2021-02-15" - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01719_join_timezone/ast.json b/parser/testdata/01719_join_timezone/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01719_join_timezone/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01720_constraints_complex_types/ast.json b/parser/testdata/01720_constraints_complex_types/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/01720_constraints_complex_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01720_dictionary_create_source_with_functions/ast.json b/parser/testdata/01720_dictionary_create_source_with_functions/ast.json deleted file mode 100644 index adb385b2fd..0000000000 --- a/parser/testdata/01720_dictionary_create_source_with_functions/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01720_dictionary_db", - "drop_database": true -} diff --git a/parser/testdata/01720_engine_file_empty_if_not_exists/ast.json b/parser/testdata/01720_engine_file_empty_if_not_exists/ast.json deleted file mode 100644 index ca26203896..0000000000 --- a/parser/testdata/01720_engine_file_empty_if_not_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "file_engine_table", - "tables": [ - { - "table": "file_engine_table" - } - ] -} diff --git a/parser/testdata/01720_type_map_and_casts/ast.json b/parser/testdata/01720_type_map_and_casts/ast.json deleted file mode 100644 index 16e0d989d0..0000000000 --- a/parser/testdata/01720_type_map_and_casts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_map_with_key_integer", - "tables": [ - { - "table": "table_map_with_key_integer" - } - ] -} diff --git a/parser/testdata/01720_union_distinct_with_limit/ast.json b/parser/testdata/01720_union_distinct_with_limit/ast.json deleted file mode 100644 index 51898b7ad8..0000000000 --- a/parser/testdata/01720_union_distinct_with_limit/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "union_modes": [ - "UNION DISTINCT" - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01721_constraints_constant_expressions/ast.json b/parser/testdata/01721_constraints_constant_expressions/ast.json deleted file mode 100644 index c3c7083333..0000000000 --- a/parser/testdata/01721_constraints_constant_expressions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "constraint_constant_number_expression", - "tables": [ - { - "table": "constraint_constant_number_expression" - } - ] -} diff --git a/parser/testdata/01721_dictionary_decimal_p_s/ast.json b/parser/testdata/01721_dictionary_decimal_p_s/ast.json deleted file mode 100644 index 08d08612dd..0000000000 --- a/parser/testdata/01721_dictionary_decimal_p_s/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_decimal_dict", - "tables": [ - { - "table": "table_decimal_dict" - } - ] -} diff --git a/parser/testdata/01721_engine_file_truncate_on_insert/ast.json b/parser/testdata/01721_engine_file_truncate_on_insert/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01721_engine_file_truncate_on_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/ast.json b/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/ast.json deleted file mode 100644 index d28a4230ba..0000000000 --- a/parser/testdata/01730_distributed_group_by_no_merge_order_by_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01730", - "tables": [ - { - "table": "data_01730" - } - ] -} diff --git a/parser/testdata/01732_alters_bad_conversions/ast.json b/parser/testdata/01732_alters_bad_conversions/ast.json deleted file mode 100644 index 82d0dc1723..0000000000 --- a/parser/testdata/01732_alters_bad_conversions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bad_conversions", - "tables": [ - { - "table": "bad_conversions" - } - ] -} diff --git a/parser/testdata/01732_bigint_ubsan/ast.json b/parser/testdata/01732_bigint_ubsan/ast.json deleted file mode 100644 index cd034d1faa..0000000000 --- a/parser/testdata/01732_bigint_ubsan/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "temporary": true, - "table": "decimal", - "columns": [ - { - "name": "f", - "type": { - "name": "dec", - "parameters": [ - { - "type": "Integer", - "value": 38 - }, - { - "type": "Integer", - "value": 38 - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/01732_more_consistent_datetime64_parsing/ast.json b/parser/testdata/01732_more_consistent_datetime64_parsing/ast.json deleted file mode 100644 index e9d6b0d23e..0000000000 --- a/parser/testdata/01732_more_consistent_datetime64_parsing/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "temporary": true, - "table": "t", - "columns": [ - { - "name": "i", - "type": { - "name": "UInt8" - } - }, - { - "name": "x", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/01732_union_and_union_all/ast.json b/parser/testdata/01732_union_and_union_all/ast.json deleted file mode 100644 index 83599444ad..0000000000 --- a/parser/testdata/01732_union_and_union_all/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ", - "UNION ALL" - ] -} diff --git a/parser/testdata/01734_datetime64_from_float/ast.json b/parser/testdata/01734_datetime64_from_float/ast.json deleted file mode 100644 index 0dd0c6bbbb..0000000000 --- a/parser/testdata/01734_datetime64_from_float/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Float", - "value": 1111111111.222 - }, - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/01735_join_get_low_card_fix/ast.json b/parser/testdata/01735_join_get_low_card_fix/ast.json deleted file mode 100644 index f79ae52bbd..0000000000 --- a/parser/testdata/01735_join_get_low_card_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_tbl", - "tables": [ - { - "table": "join_tbl" - } - ] -} diff --git a/parser/testdata/01735_to_datetime64/ast.json b/parser/testdata/01735_to_datetime64/ast.json deleted file mode 100644 index 4643bc0823..0000000000 --- a/parser/testdata/01735_to_datetime64/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDate", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "name": "today" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - }, - "op": "=", - "right": { - "name": "toDate", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "name": "today" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01736_null_as_default/ast.json b/parser/testdata/01736_null_as_default/ast.json deleted file mode 100644 index 3e31854201..0000000000 --- a/parser/testdata/01736_null_as_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_enum", - "tables": [ - { - "table": "test_enum" - } - ] -} diff --git a/parser/testdata/01737_move_order_key_to_prewhere_select_final/ast.json b/parser/testdata/01737_move_order_key_to_prewhere_select_final/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/01737_move_order_key_to_prewhere_select_final/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01739_index_hint/ast.json b/parser/testdata/01739_index_hint/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/01739_index_hint/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/01745_alter_delete_view/ast.json b/parser/testdata/01745_alter_delete_view/ast.json deleted file mode 100644 index a7f52cf17e..0000000000 --- a/parser/testdata/01745_alter_delete_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_view", - "tables": [ - { - "table": "test_view" - } - ] -} diff --git a/parser/testdata/01746_convert_type_with_default/ast.json b/parser/testdata/01746_convert_type_with_default/ast.json deleted file mode 100644 index 1a4679fa1b..0000000000 --- a/parser/testdata/01746_convert_type_with_default/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt8OrDefault", - "arguments": [ - { - "type": "String", - "value": "1" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "type": { - "name": "UInt8" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01746_executable_pool_dictionary/ast.json b/parser/testdata/01746_executable_pool_dictionary/ast.json deleted file mode 100644 index 059dada6a7..0000000000 --- a/parser/testdata/01746_executable_pool_dictionary/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "executable_pool_simple" - } - ] - } - ] -} diff --git a/parser/testdata/01746_extract_text_from_html/ast.json b/parser/testdata/01746_extract_text_from_html/ast.json deleted file mode 100644 index eab80aad54..0000000000 --- a/parser/testdata/01746_extract_text_from_html/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "extractTextFromHTML", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01746_forbid_drop_column_referenced_by_mv/ast.json b/parser/testdata/01746_forbid_drop_column_referenced_by_mv/ast.json deleted file mode 100644 index ab69fa1484..0000000000 --- a/parser/testdata/01746_forbid_drop_column_referenced_by_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "01746_merge_tree", - "tables": [ - { - "table": "01746_merge_tree" - } - ] -} diff --git a/parser/testdata/01746_lc_values_format_bug/ast.json b/parser/testdata/01746_lc_values_format_bug/ast.json deleted file mode 100644 index 1d6c1a01a5..0000000000 --- a/parser/testdata/01746_lc_values_format_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_test", - "tables": [ - { - "table": "lc_test" - } - ] -} diff --git a/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/ast.json b/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/ast.json deleted file mode 100644 index 115d0c4d0b..0000000000 --- a/parser/testdata/01746_test_for_tupleElement_must_be_constant_issue/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttt01746", - "tables": [ - { - "table": "ttt01746" - } - ] -} diff --git a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/ast.json b/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/ast.json deleted file mode 100644 index 8423e7ae4f..0000000000 --- a/parser/testdata/01747_alter_partition_key_enum_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "report", - "tables": [ - { - "table": "report" - } - ] -} diff --git a/parser/testdata/01747_executable_pool_dictionary_implicit_key/ast.json b/parser/testdata/01747_executable_pool_dictionary_implicit_key/ast.json deleted file mode 100644 index 1958471a0d..0000000000 --- a/parser/testdata/01747_executable_pool_dictionary_implicit_key/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "executable_pool_simple_implicit_key" - } - ] - } - ] -} diff --git a/parser/testdata/01747_join_view_filter_dictionary/ast.json b/parser/testdata/01747_join_view_filter_dictionary/ast.json deleted file mode 100644 index 2b862b02d3..0000000000 --- a/parser/testdata/01747_join_view_filter_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_table01747", - "tables": [ - { - "table": "summing_table01747" - } - ] -} diff --git a/parser/testdata/01747_transform_empty_arrays/ast.json b/parser/testdata/01747_transform_empty_arrays/ast.json deleted file mode 100644 index 4c9e2bbd4d..0000000000 --- a/parser/testdata/01747_transform_empty_arrays/ast.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "with": [ - { - "name": "keys", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - } - }, - { - "name": "values", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "a" - } - ] - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - ], - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "name": "transform", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "keys" - ] - }, - { - "parts": [ - "values" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - } - ] - } - }, - "alias": "wrap" - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01748_dictionary_table_dot/ast.json b/parser/testdata/01748_dictionary_table_dot/ast.json deleted file mode 100644 index e9d6cb7fb7..0000000000 --- a/parser/testdata/01748_dictionary_table_dot/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_01748", - "drop_database": true -} diff --git a/parser/testdata/01748_partition_id_pruning/ast.json b/parser/testdata/01748_partition_id_pruning/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/01748_partition_id_pruning/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01752_distributed_query_sigsegv/ast.json b/parser/testdata/01752_distributed_query_sigsegv/ast.json deleted file mode 100644 index 6df42383a1..0000000000 --- a/parser/testdata/01752_distributed_query_sigsegv/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "throwIf", - "arguments": [ - { - "left": { - "parts": [ - "dummy" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01753_direct_dictionary_simple_key/ast.json b/parser/testdata/01753_direct_dictionary_simple_key/ast.json deleted file mode 100644 index c7c08181fc..0000000000 --- a/parser/testdata/01753_direct_dictionary_simple_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01753_dictionary_db", - "drop_database": true -} diff --git a/parser/testdata/01753_mutate_table_predicated_with_table/ast.json b/parser/testdata/01753_mutate_table_predicated_with_table/ast.json deleted file mode 100644 index 96c5271603..0000000000 --- a/parser/testdata/01753_mutate_table_predicated_with_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mmm", - "tables": [ - { - "table": "mmm" - } - ] -} diff --git a/parser/testdata/01754_cluster_all_replicas_shard_num/ast.json b/parser/testdata/01754_cluster_all_replicas_shard_num/ast.json deleted file mode 100644 index ca440c15da..0000000000 --- a/parser/testdata/01754_cluster_all_replicas_shard_num/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "_shard_num" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "cluster", - "arguments": [ - { - "type": "String", - "value": "test_shard_localhost" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01754_direct_dictionary_complex_key/ast.json b/parser/testdata/01754_direct_dictionary_complex_key/ast.json deleted file mode 100644 index 5ad4eeb2c4..0000000000 --- a/parser/testdata/01754_direct_dictionary_complex_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01754_dictionary_db", - "drop_database": true -} diff --git a/parser/testdata/01755_shard_pruning_with_literal/ast.json b/parser/testdata/01755_shard_pruning_with_literal/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01755_shard_pruning_with_literal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/ast.json b/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/ast.json deleted file mode 100644 index e0596362d4..0000000000 --- a/parser/testdata/01756_optimize_skip_unused_shards_rewrite_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_01756", - "tables": [ - { - "table": "dist_01756" - } - ] -} diff --git a/parser/testdata/01757_optimize_skip_unused_shards_limit/ast.json b/parser/testdata/01757_optimize_skip_unused_shards_limit/ast.json deleted file mode 100644 index e4392b02b0..0000000000 --- a/parser/testdata/01757_optimize_skip_unused_shards_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_01757", - "tables": [ - { - "table": "dist_01757" - } - ] -} diff --git a/parser/testdata/01759_dictionary_unique_attribute_names/ast.json b/parser/testdata/01759_dictionary_unique_attribute_names/ast.json deleted file mode 100644 index 3adbf6892d..0000000000 --- a/parser/testdata/01759_dictionary_unique_attribute_names/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01759_db", - "drop_database": true -} diff --git a/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/ast.json b/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/ast.json deleted file mode 100644 index 7ff4e2cb29..0000000000 --- a/parser/testdata/01759_optimize_skip_unused_shards_zero_shards/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,2}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - }, - { - "parts": [ - "dummy" - ] - } - ] - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 0 - }, - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "force_optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01760_ddl_dictionary_use_current_database_name/ast.json b/parser/testdata/01760_ddl_dictionary_use_current_database_name/ast.json deleted file mode 100644 index 9e73553d36..0000000000 --- a/parser/testdata/01760_ddl_dictionary_use_current_database_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ddl_dictonary_test_source", - "tables": [ - { - "table": "ddl_dictonary_test_source" - } - ] -} diff --git a/parser/testdata/01760_modulo_negative/ast.json b/parser/testdata/01760_modulo_negative/ast.json deleted file mode 100644 index 5c18bf7fd1..0000000000 --- a/parser/testdata/01760_modulo_negative/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "op": "-", - "operand": { - "parts": [ - "number" - ] - } - }, - "op": "%", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01760_polygon_dictionaries/ast.json b/parser/testdata/01760_polygon_dictionaries/ast.json deleted file mode 100644 index 8f2bb7614b..0000000000 --- a/parser/testdata/01760_polygon_dictionaries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01760_db", - "drop_database": true -} diff --git a/parser/testdata/01760_system_dictionaries/ast.json b/parser/testdata/01760_system_dictionaries/ast.json deleted file mode 100644 index 8f2bb7614b..0000000000 --- a/parser/testdata/01760_system_dictionaries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01760_db", - "drop_database": true -} diff --git a/parser/testdata/01761_alter_decimal_zookeeper_long/ast.json b/parser/testdata/01761_alter_decimal_zookeeper_long/ast.json deleted file mode 100644 index e3e5531d10..0000000000 --- a/parser/testdata/01761_alter_decimal_zookeeper_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_decimal", - "tables": [ - { - "table": "test_alter_decimal" - } - ] -} diff --git a/parser/testdata/01761_round_year_bounds/ast.json b/parser/testdata/01761_round_year_bounds/ast.json deleted file mode 100644 index 4f52201ad5..0000000000 --- a/parser/testdata/01761_round_year_bounds/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfInterval", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - }, - { - "name": "toIntervalYear", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01762_datetime64_extended_parsing/ast.json b/parser/testdata/01762_datetime64_extended_parsing/ast.json deleted file mode 100644 index 4d74a076ea..0000000000 --- a/parser/testdata/01762_datetime64_extended_parsing/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1925-01-02 03:04:05.678901" - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01763_filter_push_down_bugs/ast.json b/parser/testdata/01763_filter_push_down_bugs/ast.json deleted file mode 100644 index 84bcf25f7f..0000000000 --- a/parser/testdata/01763_filter_push_down_bugs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_statistics_optimize", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01763_long_ttl_group_by/ast.json b/parser/testdata/01763_long_ttl_group_by/ast.json deleted file mode 100644 index 901c7ab723..0000000000 --- a/parser/testdata/01763_long_ttl_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_ttl_group_by01763", - "tables": [ - { - "table": "test_ttl_group_by01763" - } - ] -} diff --git a/parser/testdata/01763_max_distributed_depth/ast.json b/parser/testdata/01763_max_distributed_depth/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01763_max_distributed_depth/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01763_support_map_lowcardinality_type/ast.json b/parser/testdata/01763_support_map_lowcardinality_type/ast.json deleted file mode 100644 index a68ad6fb3c..0000000000 --- a/parser/testdata/01763_support_map_lowcardinality_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_lc", - "tables": [ - { - "table": "map_lc" - } - ] -} diff --git a/parser/testdata/01764_collapsing_merge_adaptive_granularity/ast.json b/parser/testdata/01764_collapsing_merge_adaptive_granularity/ast.json deleted file mode 100644 index 14749b4a89..0000000000 --- a/parser/testdata/01764_collapsing_merge_adaptive_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "collapsing_table", - "tables": [ - { - "table": "collapsing_table" - } - ] -} diff --git a/parser/testdata/01764_prefer_column_name_to_alias/ast.json b/parser/testdata/01764_prefer_column_name_to_alias/ast.json deleted file mode 100644 index 8f168771f2..0000000000 --- a/parser/testdata/01764_prefer_column_name_to_alias/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "avg", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "number" - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01764_table_function_dictionary/ast.json b/parser/testdata/01764_table_function_dictionary/ast.json deleted file mode 100644 index fa6ebe042d..0000000000 --- a/parser/testdata/01764_table_function_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_function_dictionary_source_table", - "tables": [ - { - "table": "table_function_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/01765_hashed_dictionary_simple_key/ast.json b/parser/testdata/01765_hashed_dictionary_simple_key/ast.json deleted file mode 100644 index db74462db2..0000000000 --- a/parser/testdata/01765_hashed_dictionary_simple_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01765_db", - "drop_database": true -} diff --git a/parser/testdata/01765_move_to_table_overlapping_block_number/ast.json b/parser/testdata/01765_move_to_table_overlapping_block_number/ast.json deleted file mode 100644 index be46309074..0000000000 --- a/parser/testdata/01765_move_to_table_overlapping_block_number/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_src", - "tables": [ - { - "table": "t_src" - } - ] -} diff --git a/parser/testdata/01765_tehran_dst/ast.json b/parser/testdata/01765_tehran_dst/ast.json deleted file mode 100644 index f3b662796f..0000000000 --- a/parser/testdata/01765_tehran_dst/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTimeZone", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2021-03-22 18:45:11" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "type": "String", - "value": "Asia/Tehran" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01766_hashed_dictionary_complex_key/ast.json b/parser/testdata/01766_hashed_dictionary_complex_key/ast.json deleted file mode 100644 index 7cca59c321..0000000000 --- a/parser/testdata/01766_hashed_dictionary_complex_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01766_db", - "drop_database": true -} diff --git a/parser/testdata/01766_todatetime64_no_timezone_arg/ast.json b/parser/testdata/01766_todatetime64_no_timezone_arg/ast.json deleted file mode 100644 index 582bfbc3fc..0000000000 --- a/parser/testdata/01766_todatetime64_no_timezone_arg/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2021-03-23" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01768_array_product/ast.json b/parser/testdata/01768_array_product/ast.json deleted file mode 100644 index f5a994198d..0000000000 --- a/parser/testdata/01768_array_product/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Array product with constant column" - } - ] - } - ] -} diff --git a/parser/testdata/01768_extended_range/ast.json b/parser/testdata/01768_extended_range/ast.json deleted file mode 100644 index ec233f2c4a..0000000000 --- a/parser/testdata/01768_extended_range/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toYear", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1968-12-12 11:22:33" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01769_extended_range_2/ast.json b/parser/testdata/01769_extended_range_2/ast.json deleted file mode 100644 index e931140e4a..0000000000 --- a/parser/testdata/01769_extended_range_2/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1969-12-31 18:00:12" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "America/Phoenix" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01770_add_months_ubsan/ast.json b/parser/testdata/01770_add_months_ubsan/ast.json deleted file mode 100644 index ef11170cab..0000000000 --- a/parser/testdata/01770_add_months_ubsan/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "left": { - "name": "now" - }, - "op": "+", - "right": { - "value": { - "type": "Integer", - "value": 9223372036854775807 - }, - "unit": "MONTH" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01770_extended_range_3/ast.json b/parser/testdata/01770_extended_range_3/ast.json deleted file mode 100644 index 7edfa7e8d0..0000000000 --- a/parser/testdata/01770_extended_range_3/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "addHours", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1984-03-31 23:00:00" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "Asia/Novosibirsk" - } - ] - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01771_bloom_filter_not_has/ast.json b/parser/testdata/01771_bloom_filter_not_has/ast.json deleted file mode 100644 index 407a2afd21..0000000000 --- a/parser/testdata/01771_bloom_filter_not_has/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_null_array", - "tables": [ - { - "table": "bloom_filter_null_array" - } - ] -} diff --git a/parser/testdata/01771_datetime64_no_time_part/ast.json b/parser/testdata/01771_datetime64_no_time_part/ast.json deleted file mode 100644 index 827611b29d..0000000000 --- a/parser/testdata/01771_datetime64_no_time_part/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1985-03-31" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "Europe/Helsinki" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01772_intdiv_minus_one_ubsan/ast.json b/parser/testdata/01772_intdiv_minus_one_ubsan/ast.json deleted file mode 100644 index 1625708e98..0000000000 --- a/parser/testdata/01772_intdiv_minus_one_ubsan/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01772_to_start_of_hour_align/ast.json b/parser/testdata/01772_to_start_of_hour_align/ast.json deleted file mode 100644 index 1a9e3a9ef8..0000000000 --- a/parser/testdata/01772_to_start_of_hour_align/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfInterval", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2021-03-23 03:58:00" - } - ] - }, - { - "value": { - "type": "Integer", - "value": 11 - }, - "unit": "HOUR" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01773_case_sensitive_revision/ast.json b/parser/testdata/01773_case_sensitive_revision/ast.json deleted file mode 100644 index 27b73e6970..0000000000 --- a/parser/testdata/01773_case_sensitive_revision/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "revision" - }, - "op": "=", - "right": { - "name": "Revision" - } - }, - { - "left": { - "name": "REVISION" - }, - "op": "=", - "right": { - "name": "Revision" - } - }, - { - "left": { - "name": "revisiON" - }, - "op": "=", - "right": { - "name": "reVision" - } - } - ] - } - ] -} diff --git a/parser/testdata/01773_case_sensitive_version/ast.json b/parser/testdata/01773_case_sensitive_version/ast.json deleted file mode 100644 index 81b8ddbe84..0000000000 --- a/parser/testdata/01773_case_sensitive_version/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "version" - }, - "op": "=", - "right": { - "name": "Version" - } - }, - { - "left": { - "name": "VERSION" - }, - "op": "=", - "right": { - "name": "Version" - } - }, - { - "left": { - "name": "vErSiOn" - }, - "op": "=", - "right": { - "name": "VeRsIoN" - } - } - ] - } - ] -} diff --git a/parser/testdata/01773_min_max_time_system_parts_datetime64/ast.json b/parser/testdata/01773_min_max_time_system_parts_datetime64/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01773_min_max_time_system_parts_datetime64/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01774_case_sensitive_connection_id/ast.json b/parser/testdata/01774_case_sensitive_connection_id/ast.json deleted file mode 100644 index a1a50bacaa..0000000000 --- a/parser/testdata/01774_case_sensitive_connection_id/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "connection_id" - }, - { - "name": "CONNECTION_ID" - }, - { - "name": "CoNnEcTiOn_Id" - }, - { - "name": "connectionid" - }, - { - "name": "CONNECTIONID" - }, - { - "name": "CoNnEcTiOnId" - } - ] - } - ] -} diff --git a/parser/testdata/01774_ip_address_in_range/ast.json b/parser/testdata/01774_ip_address_in_range/ast.json deleted file mode 100644 index e6d5f02d7a..0000000000 --- a/parser/testdata/01774_ip_address_in_range/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "# Invocation with constants" - } - ] - } - ] -} diff --git a/parser/testdata/01774_ip_address_in_range_2/ast.json b/parser/testdata/01774_ip_address_in_range_2/ast.json deleted file mode 100644 index e6d5f02d7a..0000000000 --- a/parser/testdata/01774_ip_address_in_range_2/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "# Invocation with constants" - } - ] - } - ] -} diff --git a/parser/testdata/01776_decrypt_aead_size_check/ast.json b/parser/testdata/01776_decrypt_aead_size_check/ast.json deleted file mode 100644 index bcfb501e9f..0000000000 --- a/parser/testdata/01776_decrypt_aead_size_check/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "decrypt", - "arguments": [ - { - "type": "String", - "value": "aes-128-gcm" - }, - { - "type": "String", - "value": "text" - }, - { - "type": "String", - "value": "key" - }, - { - "type": "String", - "value": "IV" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01777_map_populate_series_ubsan/ast.json b/parser/testdata/01777_map_populate_series_ubsan/ast.json deleted file mode 100644 index 26956cd118..0000000000 --- a/parser/testdata/01777_map_populate_series_ubsan/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mapPopulateSeries", - "arguments": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - }, - { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 1023 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01778_hierarchical_dictionaries/ast.json b/parser/testdata/01778_hierarchical_dictionaries/ast.json deleted file mode 100644 index 868cb7204d..0000000000 --- a/parser/testdata/01778_hierarchical_dictionaries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01778_db", - "drop_database": true -} diff --git a/parser/testdata/01778_mmap_cache_infra/ast.json b/parser/testdata/01778_mmap_cache_infra/ast.json deleted file mode 100644 index 8bdedd2ab2..0000000000 --- a/parser/testdata/01778_mmap_cache_infra/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP MMAP CACHE" -} diff --git a/parser/testdata/01778_test_LowCardinality_FixedString_pk/ast.json b/parser/testdata/01778_test_LowCardinality_FixedString_pk/ast.json deleted file mode 100644 index 07af3015f7..0000000000 --- a/parser/testdata/01778_test_LowCardinality_FixedString_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01778", - "tables": [ - { - "table": "test_01778" - } - ] -} diff --git a/parser/testdata/01778_where_with_column_name/ast.json b/parser/testdata/01778_where_with_column_name/ast.json deleted file mode 100644 index faa0a776da..0000000000 --- a/parser/testdata/01778_where_with_column_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttt01778", - "tables": [ - { - "table": "ttt01778" - } - ] -} diff --git a/parser/testdata/01779_quantile_deterministic_msan/ast.json b/parser/testdata/01779_quantile_deterministic_msan/ast.json deleted file mode 100644 index b1a17ec56c..0000000000 --- a/parser/testdata/01779_quantile_deterministic_msan/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "name": "quantileDeterministicState", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "name": "sipHash64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 8193 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01780_clickhouse_dictionary_source_loop/ast.json b/parser/testdata/01780_clickhouse_dictionary_source_loop/ast.json deleted file mode 100644 index e33cf79e1a..0000000000 --- a/parser/testdata/01780_clickhouse_dictionary_source_loop/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01780_db", - "drop_database": true -} diff --git a/parser/testdata/01780_column_sparse/ast.json b/parser/testdata/01780_column_sparse/ast.json deleted file mode 100644 index 3ab7297144..0000000000 --- a/parser/testdata/01780_column_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse", - "tables": [ - { - "table": "t_sparse" - } - ] -} diff --git a/parser/testdata/01780_column_sparse_alter/ast.json b/parser/testdata/01780_column_sparse_alter/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/01780_column_sparse_alter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/01780_column_sparse_distinct/ast.json b/parser/testdata/01780_column_sparse_distinct/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/01780_column_sparse_distinct/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01780_column_sparse_filter/ast.json b/parser/testdata/01780_column_sparse_filter/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/01780_column_sparse_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01780_column_sparse_full/ast.json b/parser/testdata/01780_column_sparse_full/ast.json deleted file mode 100644 index e450092ad7..0000000000 --- a/parser/testdata/01780_column_sparse_full/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_full", - "tables": [ - { - "table": "t_sparse_full" - } - ] -} diff --git a/parser/testdata/01780_column_sparse_materialize/ast.json b/parser/testdata/01780_column_sparse_materialize/ast.json deleted file mode 100644 index 11445a570b..0000000000 --- a/parser/testdata/01780_column_sparse_materialize/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sparse_t", - "tables": [ - { - "table": "sparse_t" - } - ] -} diff --git a/parser/testdata/01780_column_sparse_pk/ast.json b/parser/testdata/01780_column_sparse_pk/ast.json deleted file mode 100644 index ff89a01082..0000000000 --- a/parser/testdata/01780_column_sparse_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_pk", - "tables": [ - { - "table": "t_sparse_pk" - } - ] -} diff --git a/parser/testdata/01780_column_sparse_tuple/ast.json b/parser/testdata/01780_column_sparse_tuple/ast.json deleted file mode 100644 index 140dceaf49..0000000000 --- a/parser/testdata/01780_column_sparse_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sparse_tuple", - "tables": [ - { - "table": "sparse_tuple" - } - ] -} diff --git a/parser/testdata/01780_dict_get_or_null/ast.json b/parser/testdata/01780_dict_get_or_null/ast.json deleted file mode 100644 index b4d672eadf..0000000000 --- a/parser/testdata/01780_dict_get_or_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_key_dictionary_source_table", - "tables": [ - { - "table": "simple_key_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/01780_range_msan/ast.json b/parser/testdata/01780_range_msan/ast.json deleted file mode 100644 index d6a2b15239..0000000000 --- a/parser/testdata/01780_range_msan/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01781_map_op_ubsan/ast.json b/parser/testdata/01781_map_op_ubsan/ast.json deleted file mode 100644 index 1c9cb06dee..0000000000 --- a/parser/testdata/01781_map_op_ubsan/ast.json +++ /dev/null @@ -1,306 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "name": "mapSubtract", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 256 - } - ] - }, - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - }, - { - "type": "Integer", - "value": 1025 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 65535 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toInt16", - "arguments": [ - { - "type": "Float", - "value": 0 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "name": "toInt32", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 255 - } - ] - }, - { - "type": "Integer", - "value": 65536 - } - ] - } - ] - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "toUInt8", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 9223372036854775807 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toFloat32", - "arguments": [ - { - "type": "String", - "value": "0.0000065536" - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 1024 - } - ] - }, - { - "type": "Integer", - "value": 255 - } - ] - }, - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toInt16", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01781_merge_tree_deduplication/ast.json b/parser/testdata/01781_merge_tree_deduplication/ast.json deleted file mode 100644 index eea0bbacc7..0000000000 --- a/parser/testdata/01781_merge_tree_deduplication/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree_deduplication", - "tables": [ - { - "table": "merge_tree_deduplication" - } - ] -} diff --git a/parser/testdata/01781_token_extractor_buffer_overflow/ast.json b/parser/testdata/01781_token_extractor_buffer_overflow/ast.json deleted file mode 100644 index 617c5da276..0000000000 --- a/parser/testdata/01781_token_extractor_buffer_overflow/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "min_insert_block_size_rows", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_insert_block_size_bytes", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/01782_field_oom/ast.json b/parser/testdata/01782_field_oom/ast.json deleted file mode 100644 index 01dd74f71f..0000000000 --- a/parser/testdata/01782_field_oom/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "500M" - } - } - ] -} diff --git a/parser/testdata/01783_merge_engine_join_key_condition/ast.json b/parser/testdata/01783_merge_engine_join_key_condition/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/01783_merge_engine_join_key_condition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/01784_parallel_formatting_memory/ast.json b/parser/testdata/01784_parallel_formatting_memory/ast.json deleted file mode 100644 index cb1966be4f..0000000000 --- a/parser/testdata/01784_parallel_formatting_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "1G" - } - } - ] -} diff --git a/parser/testdata/01785_dictionary_element_count/ast.json b/parser/testdata/01785_dictionary_element_count/ast.json deleted file mode 100644 index c134093b6c..0000000000 --- a/parser/testdata/01785_dictionary_element_count/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01785_db", - "drop_database": true -} diff --git a/parser/testdata/01785_pmj_lc_bug/ast.json b/parser/testdata/01785_pmj_lc_bug/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/01785_pmj_lc_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/01786_group_by_pk_many_streams/ast.json b/parser/testdata/01786_group_by_pk_many_streams/ast.json deleted file mode 100644 index f5b368ab7b..0000000000 --- a/parser/testdata/01786_group_by_pk_many_streams/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "group_by_pk", - "tables": [ - { - "table": "group_by_pk" - } - ] -} diff --git a/parser/testdata/01787_arena_assert_column_nothing/ast.json b/parser/testdata/01787_arena_assert_column_nothing/ast.json deleted file mode 100644 index ecf633d4a6..0000000000 --- a/parser/testdata/01787_arena_assert_column_nothing/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "group_by": [ - { - "name": "emptyArrayToSingle", - "arguments": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01787_map_remote/ast.json b/parser/testdata/01787_map_remote/ast.json deleted file mode 100644 index e7e96ff595..0000000000 --- a/parser/testdata/01787_map_remote/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "map", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "b" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01788_update_nested_type_subcolumn_check/ast.json b/parser/testdata/01788_update_nested_type_subcolumn_check/ast.json deleted file mode 100644 index b0b8a91518..0000000000 --- a/parser/testdata/01788_update_nested_type_subcolumn_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_nested", - "tables": [ - { - "table": "test_wide_nested" - } - ] -} diff --git a/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/ast.json b/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/ast.json deleted file mode 100644 index d1c224fe7f..0000000000 --- a/parser/testdata/01790_dist_INSERT_block_structure_mismatch_types_and_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp_01781", - "tables": [ - { - "table": "tmp_01781" - } - ] -} diff --git a/parser/testdata/01795_TinyLog_rwlock_ub/ast.json b/parser/testdata/01795_TinyLog_rwlock_ub/ast.json deleted file mode 100644 index b56a10b7fd..0000000000 --- a/parser/testdata/01795_TinyLog_rwlock_ub/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "underlying_01795", - "tables": [ - { - "table": "underlying_01795" - } - ] -} diff --git a/parser/testdata/01796_Log_rwlock_ub/ast.json b/parser/testdata/01796_Log_rwlock_ub/ast.json deleted file mode 100644 index 21c9a2e170..0000000000 --- a/parser/testdata/01796_Log_rwlock_ub/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "underlying_01796", - "tables": [ - { - "table": "underlying_01796" - } - ] -} diff --git a/parser/testdata/01797_StripeLog_rwlock_ub/ast.json b/parser/testdata/01797_StripeLog_rwlock_ub/ast.json deleted file mode 100644 index 866400dc6e..0000000000 --- a/parser/testdata/01797_StripeLog_rwlock_ub/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "underlying_01797", - "tables": [ - { - "table": "underlying_01797" - } - ] -} diff --git a/parser/testdata/01798_having_push_down/ast.json b/parser/testdata/01798_having_push_down/ast.json deleted file mode 100644 index 3ccd684a67..0000000000 --- a/parser/testdata/01798_having_push_down/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_having", - "tables": [ - { - "table": "t_having" - } - ] -} diff --git a/parser/testdata/01798_uniq_theta_sketch/ast.json b/parser/testdata/01798_uniq_theta_sketch/ast.json deleted file mode 100644 index 585e011091..0000000000 --- a/parser/testdata/01798_uniq_theta_sketch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65505 - } - } - ] -} diff --git a/parser/testdata/01798_uniq_theta_union_intersect_not/ast.json b/parser/testdata/01798_uniq_theta_union_intersect_not/ast.json deleted file mode 100644 index 9cc30ec98f..0000000000 --- a/parser/testdata/01798_uniq_theta_union_intersect_not/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "uniqTheta union test" - } - ] - } - ] -} diff --git a/parser/testdata/01799_long_uniq_theta_sketch/ast.json b/parser/testdata/01799_long_uniq_theta_sketch/ast.json deleted file mode 100644 index 6a925e5bf3..0000000000 --- a/parser/testdata/01799_long_uniq_theta_sketch/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_ratio_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01800_log_nested/ast.json b/parser/testdata/01800_log_nested/ast.json deleted file mode 100644 index f420f2bd2e..0000000000 --- a/parser/testdata/01800_log_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_01800_tiny_log", - "tables": [ - { - "table": "nested_01800_tiny_log" - } - ] -} diff --git a/parser/testdata/01801_approx_total_rows_mergetree_reverse/ast.json b/parser/testdata/01801_approx_total_rows_mergetree_reverse/ast.json deleted file mode 100644 index fd30d80d69..0000000000 --- a/parser/testdata/01801_approx_total_rows_mergetree_reverse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01801", - "tables": [ - { - "table": "data_01801" - } - ] -} diff --git a/parser/testdata/01801_dateDiff_DateTime64/ast.json b/parser/testdata/01801_dateDiff_DateTime64/ast.json deleted file mode 100644 index b30301b44a..0000000000 --- a/parser/testdata/01801_dateDiff_DateTime64/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "second" - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1927-01-01 00:00:00" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1927-01-01 00:00:10" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01801_distinct_group_by_shard/ast.json b/parser/testdata/01801_distinct_group_by_shard/ast.json deleted file mode 100644 index 767024306f..0000000000 --- a/parser/testdata/01801_distinct_group_by_shard/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2,3}" - }, - { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "a UInt8, b UInt8" - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01801_s3_cluster/ast.json b/parser/testdata/01801_s3_cluster/ast.json deleted file mode 100644 index 895f0c09da..0000000000 --- a/parser/testdata/01801_s3_cluster/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "type": "String", - "value": "http://localhost:11111/test/{a,b,c}.tsv" - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "c1" - ] - } - }, - { - "expression": { - "parts": [ - "c2" - ] - } - }, - { - "expression": { - "parts": [ - "c3" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01801_s3_cluster_count/ast.json b/parser/testdata/01801_s3_cluster_count/ast.json deleted file mode 100644 index ac406e3289..0000000000 --- a/parser/testdata/01801_s3_cluster_count/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "COUNT" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3Cluster", - "arguments": [ - { - "type": "String", - "value": "test_cluster_two_shards_localhost" - }, - { - "type": "String", - "value": "http://localhost:11111/test/{a,b,c}.tsv" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01802_formatDateTime_DateTime64_century/ast.json b/parser/testdata/01802_formatDateTime_DateTime64_century/ast.json deleted file mode 100644 index 8a1e171c95..0000000000 --- a/parser/testdata/01802_formatDateTime_DateTime64_century/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1935-12-12 12:12:12" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - }, - { - "type": "String", - "value": "%C" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01802_rank_corr_mann_whitney_over_window/ast.json b/parser/testdata/01802_rank_corr_mann_whitney_over_window/ast.json deleted file mode 100644 index 8b373570be..0000000000 --- a/parser/testdata/01802_rank_corr_mann_whitney_over_window/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "01802_empsalary", - "tables": [ - { - "table": "01802_empsalary" - } - ] -} diff --git a/parser/testdata/01802_toDateTime64_large_values/ast.json b/parser/testdata/01802_toDateTime64_large_values/ast.json deleted file mode 100644 index c476b550f7..0000000000 --- a/parser/testdata/01802_toDateTime64_large_values/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2205-12-12 12:12:12" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01803_const_nullable_map/ast.json b/parser/testdata/01803_const_nullable_map/ast.json deleted file mode 100644 index 448d741222..0000000000 --- a/parser/testdata/01803_const_nullable_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_map_null", - "tables": [ - { - "table": "t_map_null" - } - ] -} diff --git a/parser/testdata/01804_dictionary_decimal256_type/ast.json b/parser/testdata/01804_dictionary_decimal256_type/ast.json deleted file mode 100644 index ae6baf4718..0000000000 --- a/parser/testdata/01804_dictionary_decimal256_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_decimal_source_table", - "tables": [ - { - "table": "dictionary_decimal_source_table" - } - ] -} diff --git a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/ast.json b/parser/testdata/01809_inactive_parts_to_delay_throw_insert/ast.json deleted file mode 100644 index dfaa2e75d4..0000000000 --- a/parser/testdata/01809_inactive_parts_to_delay_throw_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01809", - "tables": [ - { - "table": "data_01809" - } - ] -} diff --git a/parser/testdata/01811_filter_by_null/ast.json b/parser/testdata/01811_filter_by_null/ast.json deleted file mode 100644 index c0944893c9..0000000000 --- a/parser/testdata/01811_filter_by_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_01344", - "tables": [ - { - "table": "test_01344" - } - ] -} diff --git a/parser/testdata/01812_has_generic/ast.json b/parser/testdata/01812_has_generic/ast.json deleted file mode 100644 index 64c09c4285..0000000000 --- a/parser/testdata/01812_has_generic/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "has", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01813_distributed_scalar_subqueries_alias/ast.json b/parser/testdata/01813_distributed_scalar_subqueries_alias/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/01813_distributed_scalar_subqueries_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/01817_storage_buffer_parameters/ast.json b/parser/testdata/01817_storage_buffer_parameters/ast.json deleted file mode 100644 index 4a55f74baf..0000000000 --- a/parser/testdata/01817_storage_buffer_parameters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01817", - "tables": [ - { - "table": "data_01817" - } - ] -} diff --git a/parser/testdata/01818_move_partition_simple/ast.json b/parser/testdata/01818_move_partition_simple/ast.json deleted file mode 100644 index b370438193..0000000000 --- a/parser/testdata/01818_move_partition_simple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "main_table_01818", - "tables": [ - { - "table": "main_table_01818" - } - ] -} diff --git a/parser/testdata/01820_unhex_case_insensitive/ast.json b/parser/testdata/01820_unhex_case_insensitive/ast.json deleted file mode 100644 index bdbe0dafff..0000000000 --- a/parser/testdata/01820_unhex_case_insensitive/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "303132" - } - ] - }, - { - "name": "UNHEX", - "arguments": [ - { - "type": "String", - "value": "4D7953514C" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01821_dictionary_primary_key_wrong_order/ast.json b/parser/testdata/01821_dictionary_primary_key_wrong_order/ast.json deleted file mode 100644 index 5fb67edc80..0000000000 --- a/parser/testdata/01821_dictionary_primary_key_wrong_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_primary_key_source_table", - "tables": [ - { - "table": "dictionary_primary_key_source_table" - } - ] -} diff --git a/parser/testdata/01821_join_table_mutation/ast.json b/parser/testdata/01821_join_table_mutation/ast.json deleted file mode 100644 index c7ee2558ca..0000000000 --- a/parser/testdata/01821_join_table_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_table_mutation", - "tables": [ - { - "table": "join_table_mutation" - } - ] -} diff --git a/parser/testdata/01821_table_comment/ast.json b/parser/testdata/01821_table_comment/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01821_table_comment/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01821_to_date_time_ubsan/ast.json b/parser/testdata/01821_to_date_time_ubsan/ast.json deleted file mode 100644 index a44f85101f..0000000000 --- a/parser/testdata/01821_to_date_time_ubsan/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "9223372036854775806" - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01822_short_circuit/ast.json b/parser/testdata/01822_short_circuit/ast.json deleted file mode 100644 index 3bc0ac5b84..0000000000 --- a/parser/testdata/01822_short_circuit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "short_circuit_function_evaluation", - "value": { - "type": "String", - "value": "enable" - } - } - ] -} diff --git a/parser/testdata/01822_union_and_constans_error/ast.json b/parser/testdata/01822_union_and_constans_error/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/01822_union_and_constans_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/01824_move_to_prewhere_many_columns/ast.json b/parser/testdata/01824_move_to_prewhere_many_columns/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/01824_move_to_prewhere_many_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01824_prefer_global_in_and_join/ast.json b/parser/testdata/01824_prefer_global_in_and_join/ast.json deleted file mode 100644 index c116b9045b..0000000000 --- a/parser/testdata/01824_prefer_global_in_and_join/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_01824", - "create_database": true -} diff --git a/parser/testdata/01825_new_type_json_10/ast.json b/parser/testdata/01825_new_type_json_10/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_10/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_18/ast.json b/parser/testdata/01825_new_type_json_18/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_18/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_2/ast.json b/parser/testdata/01825_new_type_json_2/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_9/ast.json b/parser/testdata/01825_new_type_json_9/ast.json deleted file mode 100644 index 52ce3044c2..0000000000 --- a/parser/testdata/01825_new_type_json_9/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json", - "tables": [ - { - "table": "t_json" - } - ] -} diff --git a/parser/testdata/01825_new_type_json_bools/ast.json b/parser/testdata/01825_new_type_json_bools/ast.json deleted file mode 100644 index b7e3b2f7e5..0000000000 --- a/parser/testdata/01825_new_type_json_bools/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json_bools", - "tables": [ - { - "table": "t_json_bools" - } - ] -} diff --git a/parser/testdata/01825_new_type_json_distributed/ast.json b/parser/testdata/01825_new_type_json_distributed/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_ephemeral/ast.json b/parser/testdata/01825_new_type_json_ephemeral/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_ephemeral/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_in_array/ast.json b/parser/testdata/01825_new_type_json_in_array/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_in_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_insert_select/ast.json b/parser/testdata/01825_new_type_json_insert_select/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_insert_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_missed_values/ast.json b/parser/testdata/01825_new_type_json_missed_values/ast.json deleted file mode 100644 index 52ce3044c2..0000000000 --- a/parser/testdata/01825_new_type_json_missed_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json", - "tables": [ - { - "table": "t_json" - } - ] -} diff --git a/parser/testdata/01825_new_type_json_mutations/ast.json b/parser/testdata/01825_new_type_json_mutations/ast.json deleted file mode 100644 index 61944a3de0..0000000000 --- a/parser/testdata/01825_new_type_json_mutations/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json_mutations", - "tables": [ - { - "table": "t_json_mutations" - } - ] -} diff --git a/parser/testdata/01825_new_type_json_order_by/ast.json b/parser/testdata/01825_new_type_json_order_by/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/01825_new_type_json_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01825_new_type_json_parallel_insert/ast.json b/parser/testdata/01825_new_type_json_parallel_insert/ast.json deleted file mode 100644 index 09d1e2e36e..0000000000 --- a/parser/testdata/01825_new_type_json_parallel_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json_parallel", - "tables": [ - { - "table": "t_json_parallel" - } - ] -} diff --git a/parser/testdata/01825_new_type_json_partitions/ast.json b/parser/testdata/01825_new_type_json_partitions/ast.json deleted file mode 100644 index 6d92cf0462..0000000000 --- a/parser/testdata/01825_new_type_json_partitions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_json_partitions", - "tables": [ - { - "table": "t_json_partitions" - } - ] -} diff --git a/parser/testdata/01825_replacing_vertical_merge/ast.json b/parser/testdata/01825_replacing_vertical_merge/ast.json deleted file mode 100644 index 55f18f3d96..0000000000 --- a/parser/testdata/01825_replacing_vertical_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_on_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01831_max_streams/ast.json b/parser/testdata/01831_max_streams/ast.json deleted file mode 100644 index a5ab73d70b..0000000000 --- a/parser/testdata/01831_max_streams/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "max_distributed_connections", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/01832_memory_write_suffix/ast.json b/parser/testdata/01832_memory_write_suffix/ast.json deleted file mode 100644 index 4c317b56c8..0000000000 --- a/parser/testdata/01832_memory_write_suffix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01832", - "tables": [ - { - "table": "data_01832" - } - ] -} diff --git a/parser/testdata/01833_test_collation_alvarotuso/ast.json b/parser/testdata/01833_test_collation_alvarotuso/ast.json deleted file mode 100644 index 20338dde60..0000000000 --- a/parser/testdata/01833_test_collation_alvarotuso/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_collation", - "tables": [ - { - "table": "test_collation" - } - ] -} diff --git a/parser/testdata/01835_alias_to_primary_key_cyfdecyf/ast.json b/parser/testdata/01835_alias_to_primary_key_cyfdecyf/ast.json deleted file mode 100644 index 652adbe128..0000000000 --- a/parser/testdata/01835_alias_to_primary_key_cyfdecyf/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "db", - "tables": [ - { - "table": "db" - } - ] -} diff --git a/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/ast.json b/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/ast.json deleted file mode 100644 index 16fd48ff56..0000000000 --- a/parser/testdata/01836_date_time_keep_default_timezone_on_operations_den_crane/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "now" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01837_cast_to_array_from_empty_array/ast.json b/parser/testdata/01837_cast_to_array_from_empty_array/ast.json deleted file mode 100644 index 2100cc9914..0000000000 --- a/parser/testdata/01837_cast_to_array_from_empty_array/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": null - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/01837_database_memory_ddl_dictionaries/ast.json b/parser/testdata/01837_database_memory_ddl_dictionaries/ast.json deleted file mode 100644 index 0cc89f9488..0000000000 --- a/parser/testdata/01837_database_memory_ddl_dictionaries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01837_db", - "drop_database": true -} diff --git a/parser/testdata/01838_system_dictionaries_virtual_key_column/ast.json b/parser/testdata/01838_system_dictionaries_virtual_key_column/ast.json deleted file mode 100644 index 1be3f83db8..0000000000 --- a/parser/testdata/01838_system_dictionaries_virtual_key_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "example_simple_key_dictionary", - "tables": [ - { - "table": "example_simple_key_dictionary" - } - ] -} diff --git a/parser/testdata/01840_tupleElement_formatting_fuzzer/ast.json b/parser/testdata/01840_tupleElement_formatting_fuzzer/ast.json deleted file mode 100644 index 5030e6aa7b..0000000000 --- a/parser/testdata/01840_tupleElement_formatting_fuzzer/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "explain_type": "AST", - "statement": { - "selects": [ - { - "columns": [ - { - "name": "tupleElement", - "arguments": [ - { - "type": "Integer", - "value": 255 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ] - } -} diff --git a/parser/testdata/01845_add_testcase_for_arrayElement/ast.json b/parser/testdata/01845_add_testcase_for_arrayElement/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01845_add_testcase_for_arrayElement/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01846_alter_column_without_type_bugfix/ast.json b/parser/testdata/01846_alter_column_without_type_bugfix/ast.json deleted file mode 100644 index 8a154714d2..0000000000 --- a/parser/testdata/01846_alter_column_without_type_bugfix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_test", - "tables": [ - { - "table": "alter_test" - } - ] -} diff --git a/parser/testdata/01846_null_as_default_for_insert_select/ast.json b/parser/testdata/01846_null_as_default_for_insert_select/ast.json deleted file mode 100644 index e8ef3116c0..0000000000 --- a/parser/testdata/01846_null_as_default_for_insert_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_null_as_default", - "tables": [ - { - "table": "test_null_as_default" - } - ] -} diff --git a/parser/testdata/01848_partition_value_column/ast.json b/parser/testdata/01848_partition_value_column/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/01848_partition_value_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/01849_geoToS2/ast.json b/parser/testdata/01849_geoToS2/ast.json deleted file mode 100644 index ac2980c8ed..0000000000 --- a/parser/testdata/01849_geoToS2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "s2_indexes", - "tables": [ - { - "table": "s2_indexes" - } - ] -} diff --git a/parser/testdata/01850_dist_INSERT_preserve_error/ast.json b/parser/testdata/01850_dist_INSERT_preserve_error/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/01850_dist_INSERT_preserve_error/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/01851_array_difference_decimal_overflow_ubsan/ast.json b/parser/testdata/01851_array_difference_decimal_overflow_ubsan/ast.json deleted file mode 100644 index a37c90a5b9..0000000000 --- a/parser/testdata/01851_array_difference_decimal_overflow_ubsan/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDifference", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Float", - "value": 100.0000991821289 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2147483647 - } - } - ] - } - ], - "alias": "x" - } - ] - } - ] -} diff --git a/parser/testdata/01851_clear_column_referenced_by_mv/ast.json b/parser/testdata/01851_clear_column_referenced_by_mv/ast.json deleted file mode 100644 index c11fb6a978..0000000000 --- a/parser/testdata/01851_clear_column_referenced_by_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "01851_merge_tree", - "tables": [ - { - "table": "01851_merge_tree" - } - ] -} diff --git a/parser/testdata/01851_fix_row_policy_empty_result/ast.json b/parser/testdata/01851_fix_row_policy_empty_result/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/01851_fix_row_policy_empty_result/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/01851_hedged_connections_external_tables/ast.json b/parser/testdata/01851_hedged_connections_external_tables/ast.json deleted file mode 100644 index 05da265392..0000000000 --- a/parser/testdata/01851_hedged_connections_external_tables/ast.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{3|2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "number" - ] - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - }, - "settings": [ - { - "name": "async_socket_for_remote", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_hedged_requests", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "sleep_in_send_data_ms", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "receive_data_timeout_ms", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01851_s2_to_geo/ast.json b/parser/testdata/01851_s2_to_geo/ast.json deleted file mode 100644 index 7e79f3941f..0000000000 --- a/parser/testdata/01851_s2_to_geo/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "s2ToGeo", - "arguments": [ - { - "type": "Integer", - "value": 4573520603753570041 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01852_cast_operator_4/ast.json b/parser/testdata/01852_cast_operator_4/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01852_cast_operator_4/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01852_dictionary_query_count_long/ast.json b/parser/testdata/01852_dictionary_query_count_long/ast.json deleted file mode 100644 index 53b564d43f..0000000000 --- a/parser/testdata/01852_dictionary_query_count_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_key_source_table_01862", - "tables": [ - { - "table": "simple_key_source_table_01862" - } - ] -} diff --git a/parser/testdata/01852_jit_if/ast.json b/parser/testdata/01852_jit_if/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/01852_jit_if/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01852_map_combinator/ast.json b/parser/testdata/01852_map_combinator/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/01852_map_combinator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/01852_multiple_joins_with_union_join/ast.json b/parser/testdata/01852_multiple_joins_with_union_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01852_multiple_joins_with_union_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01852_s2_get_neighbours/ast.json b/parser/testdata/01852_s2_get_neighbours/ast.json deleted file mode 100644 index f69a8ef191..0000000000 --- a/parser/testdata/01852_s2_get_neighbours/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "s2GetNeighbors", - "arguments": [ - { - "type": "Integer", - "value": 5074766849661468672 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01853_s2_cells_intersect/ast.json b/parser/testdata/01853_s2_cells_intersect/ast.json deleted file mode 100644 index 95706c3b08..0000000000 --- a/parser/testdata/01853_s2_cells_intersect/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "s2CellsIntersect", - "arguments": [ - { - "type": "Integer", - "value": 9926595209846587392 - }, - { - "type": "Integer", - "value": 9926594385212866560 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01854_dictionary_range_hashed_min_max_attr/ast.json b/parser/testdata/01854_dictionary_range_hashed_min_max_attr/ast.json deleted file mode 100644 index eb384dbd05..0000000000 --- a/parser/testdata/01854_dictionary_range_hashed_min_max_attr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_01864", - "tables": [ - { - "table": "dict_01864" - } - ] -} diff --git a/parser/testdata/01854_s2_cap_contains/ast.json b/parser/testdata/01854_s2_cap_contains/ast.json deleted file mode 100644 index 51823094b8..0000000000 --- a/parser/testdata/01854_s2_cap_contains/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "s2CapContains", - "arguments": [ - { - "type": "Integer", - "value": 1157339245694594829 - }, - { - "type": "Float", - "value": 1 - }, - { - "type": "Integer", - "value": 1157347770437378819 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01854_s2_cap_union/ast.json b/parser/testdata/01854_s2_cap_union/ast.json deleted file mode 100644 index 43e2228250..0000000000 --- a/parser/testdata/01854_s2_cap_union/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "s2CapUnion", - "arguments": [ - { - "type": "Integer", - "value": 3814912406305146967 - }, - { - "type": "Float", - "value": 1 - }, - { - "type": "Integer", - "value": 1157347770437378819 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01855_jit_comparison_constant_result/ast.json b/parser/testdata/01855_jit_comparison_constant_result/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/01855_jit_comparison_constant_result/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01856_create_function/ast.json b/parser/testdata/01856_create_function/ast.json deleted file mode 100644 index 55472c9fc7..0000000000 --- a/parser/testdata/01856_create_function/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "create_function": true, - "function_name": "01856_test_function_0", - "function_body": { - "parameters": [ - "a", - "b", - "c" - ], - "body": { - "left": { - "left": { - "parts": [ - "a" - ] - }, - "op": "*", - "right": { - "parts": [ - "b" - ] - } - }, - "op": "*", - "right": { - "parts": [ - "c" - ] - } - } - } -} diff --git a/parser/testdata/01860_Distributed__shard_num_GROUP_BY/ast.json b/parser/testdata/01860_Distributed__shard_num_GROUP_BY/ast.json deleted file mode 100644 index 03b446165e..0000000000 --- a/parser/testdata/01860_Distributed__shard_num_GROUP_BY/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "_shard_num" - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "_shard_num" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "_shard_num" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01861_explain_pipeline/ast.json b/parser/testdata/01861_explain_pipeline/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01861_explain_pipeline/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01865_aggregator_overflow_row/ast.json b/parser/testdata/01865_aggregator_overflow_row/ast.json deleted file mode 100644 index bec6c41b68..0000000000 --- a/parser/testdata/01865_aggregator_overflow_row/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqCombined", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - }, - "descending": true - } - ], - "limit": { - "type": "Integer", - "value": 10 - }, - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_bytes_ratio_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_rows_to_group_by", - "value": { - "type": "Integer", - "value": 10000000000 - } - }, - { - "name": "group_by_overflow_mode", - "value": { - "type": "String", - "value": "any" - } - }, - { - "name": "totals_mode", - "value": { - "type": "String", - "value": "before_having" - } - }, - { - "name": "max_untracked_memory", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 10000 - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1000 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01866_aggregate_function_interval_length_sum/ast.json b/parser/testdata/01866_aggregate_function_interval_length_sum/ast.json deleted file mode 100644 index d4d2c5aa66..0000000000 --- a/parser/testdata/01866_aggregate_function_interval_length_sum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "interval", - "tables": [ - { - "table": "interval" - } - ] -} diff --git a/parser/testdata/01866_bit_positions_to_array/ast.json b/parser/testdata/01866_bit_positions_to_array/ast.json deleted file mode 100644 index e6ad0128fc..0000000000 --- a/parser/testdata/01866_bit_positions_to_array/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Int8" - } - ] - } - ] -} diff --git a/parser/testdata/01866_datetime64_cmp_with_constant/ast.json b/parser/testdata/01866_datetime64_cmp_with_constant/ast.json deleted file mode 100644 index d567054aba..0000000000 --- a/parser/testdata/01866_datetime64_cmp_with_constant/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table": "dt64test", - "columns": [ - { - "name": "dt64_column", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - }, - { - "name": "dt_column", - "type": { - "name": "DateTime" - }, - "default": { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "dt64_column" - ] - } - ] - }, - "default_kind": "DEFAULT" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "dt64_column" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "dt64_column" - ] - } - ] - } -} diff --git a/parser/testdata/01866_split_by_regexp/ast.json b/parser/testdata/01866_split_by_regexp/ast.json deleted file mode 100644 index 56712f0615..0000000000 --- a/parser/testdata/01866_split_by_regexp/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "splitByRegexp", - "arguments": [ - { - "type": "String", - "value": "\\d+" - }, - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a1ba5ba8b" - }, - { - "type": "String", - "value": "a11ba5689ba891011b" - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01866_view_persist_settings/ast.json b/parser/testdata/01866_view_persist_settings/ast.json deleted file mode 100644 index dadde98e44..0000000000 --- a/parser/testdata/01866_view_persist_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view_no_nulls", - "tables": [ - { - "table": "view_no_nulls" - } - ] -} diff --git a/parser/testdata/01867_fix_storage_memory_mutation/ast.json b/parser/testdata/01867_fix_storage_memory_mutation/ast.json deleted file mode 100644 index d9e839002f..0000000000 --- a/parser/testdata/01867_fix_storage_memory_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mem_test", - "tables": [ - { - "table": "mem_test" - } - ] -} diff --git a/parser/testdata/01867_support_datetime64_version_column/ast.json b/parser/testdata/01867_support_datetime64_version_column/ast.json deleted file mode 100644 index dcfb8d7ce8..0000000000 --- a/parser/testdata/01867_support_datetime64_version_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replacing", - "tables": [ - { - "table": "replacing" - } - ] -} diff --git a/parser/testdata/01869_function_modulo_legacy/ast.json b/parser/testdata/01869_function_modulo_legacy/ast.json deleted file mode 100644 index 3132d4a59b..0000000000 --- a/parser/testdata/01869_function_modulo_legacy/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "moduloLegacy", - "arguments": [ - { - "type": "Integer", - "value": 199 - }, - { - "type": "Integer", - "value": 200 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01869_reinterpret_as_fixed_string_uuid/ast.json b/parser/testdata/01869_reinterpret_as_fixed_string_uuid/ast.json deleted file mode 100644 index 5d424fa781..0000000000 --- a/parser/testdata/01869_reinterpret_as_fixed_string_uuid/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "reinterpretAsFixedString", - "arguments": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "61f0c404-5cb3-11e7-907b-a6006ad3dba0" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01870_buffer_flush/ast.json b/parser/testdata/01870_buffer_flush/ast.json deleted file mode 100644 index 91a6394a9d..0000000000 --- a/parser/testdata/01870_buffer_flush/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_01870", - "drop_database": true -} diff --git a/parser/testdata/01870_modulo_partition_key/ast.json b/parser/testdata/01870_modulo_partition_key/ast.json deleted file mode 100644 index 81b9de0395..0000000000 --- a/parser/testdata/01870_modulo_partition_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_max_retries", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/01871_merge_tree_compile_expressions/ast.json b/parser/testdata/01871_merge_tree_compile_expressions/ast.json deleted file mode 100644 index e6cf9e8e7f..0000000000 --- a/parser/testdata/01871_merge_tree_compile_expressions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01875_1", - "tables": [ - { - "table": "data_01875_1" - } - ] -} diff --git a/parser/testdata/01872_functions_to_subcolumns_analyzer/ast.json b/parser/testdata/01872_functions_to_subcolumns_analyzer/ast.json deleted file mode 100644 index 2b6887060d..0000000000 --- a/parser/testdata/01872_functions_to_subcolumns_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_func_to_subcolumns", - "tables": [ - { - "table": "t_func_to_subcolumns" - } - ] -} diff --git a/parser/testdata/01880_materialized_view_to_table_type_check/ast.json b/parser/testdata/01880_materialized_view_to_table_type_check/ast.json deleted file mode 100644 index 7628ec2dd7..0000000000 --- a/parser/testdata/01880_materialized_view_to_table_type_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_mv", - "tables": [ - { - "table": "test_mv" - } - ] -} diff --git a/parser/testdata/01880_remote_ipv6/ast.json b/parser/testdata/01880_remote_ipv6/ast.json deleted file mode 100644 index d9dec1eb1b..0000000000 --- a/parser/testdata/01880_remote_ipv6/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "connections_with_failover_max_tries", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01881_aggregate_functions_versioning/ast.json b/parser/testdata/01881_aggregate_functions_versioning/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/01881_aggregate_functions_versioning/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/01881_create_as_tuple/ast.json b/parser/testdata/01881_create_as_tuple/ast.json deleted file mode 100644 index f3430fd59a..0000000000 --- a/parser/testdata/01881_create_as_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_create_as_tuple", - "tables": [ - { - "table": "t_create_as_tuple" - } - ] -} diff --git a/parser/testdata/01881_negate_formatting/ast.json b/parser/testdata/01881_negate_formatting/ast.json deleted file mode 100644 index bd6839363f..0000000000 --- a/parser/testdata/01881_negate_formatting/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } -} diff --git a/parser/testdata/01881_to_week_monotonic_fix/ast.json b/parser/testdata/01881_to_week_monotonic_fix/ast.json deleted file mode 100644 index 0ef2141170..0000000000 --- a/parser/testdata/01881_to_week_monotonic_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tbl", - "tables": [ - { - "table": "test_tbl" - } - ] -} diff --git a/parser/testdata/01881_total_bytes_storage_buffer/ast.json b/parser/testdata/01881_total_bytes_storage_buffer/ast.json deleted file mode 100644 index 21c08d021c..0000000000 --- a/parser/testdata/01881_total_bytes_storage_buffer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_buffer_table", - "tables": [ - { - "table": "test_buffer_table" - } - ] -} diff --git a/parser/testdata/01881_union_header_mismatch_bug/ast.json b/parser/testdata/01881_union_header_mismatch_bug/ast.json deleted file mode 100644 index 57709ca7f2..0000000000 --- a/parser/testdata/01881_union_header_mismatch_bug/ast.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "table" - }, - "alias": "table" - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ], - "alias": "rows" - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 101 - } - ], - "alias": "elements" - } - ] - }, - { - "columns": [ - { - "expr": { - "type": "String", - "value": "another table" - }, - "alias": "table" - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ], - "alias": "rows" - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ], - "alias": "elements" - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "rows" - ] - }, - "op": "-", - "right": { - "parts": [ - "elements" - ] - } - }, - "op": "\u003c\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/01882_check_max_parts_to_merge_at_once/ast.json b/parser/testdata/01882_check_max_parts_to_merge_at_once/ast.json deleted file mode 100644 index 04b32dbcbe..0000000000 --- a/parser/testdata/01882_check_max_parts_to_merge_at_once/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "limited_merge_table", - "tables": [ - { - "table": "limited_merge_table" - } - ] -} diff --git a/parser/testdata/01882_scalar_subquery_exception/ast.json b/parser/testdata/01882_scalar_subquery_exception/ast.json deleted file mode 100644 index 0ee3ffa656..0000000000 --- a/parser/testdata/01882_scalar_subquery_exception/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nums_in_mem", - "tables": [ - { - "table": "nums_in_mem" - } - ] -} diff --git a/parser/testdata/01883_grouping_sets_crash/ast.json b/parser/testdata/01883_grouping_sets_crash/ast.json deleted file mode 100644 index 65e12bd3c7..0000000000 --- a/parser/testdata/01883_grouping_sets_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "grouping_sets", - "tables": [ - { - "table": "grouping_sets" - } - ] -} diff --git a/parser/testdata/01883_subcolumns_distributed/ast.json b/parser/testdata/01883_subcolumns_distributed/ast.json deleted file mode 100644 index e1e0b10bb7..0000000000 --- a/parser/testdata/01883_subcolumns_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_subcolumns_local", - "tables": [ - { - "table": "t_subcolumns_local" - } - ] -} diff --git a/parser/testdata/01883_with_grouping_sets/ast.json b/parser/testdata/01883_with_grouping_sets/ast.json deleted file mode 100644 index f3a8480211..0000000000 --- a/parser/testdata/01883_with_grouping_sets/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 8 - } - } - ] -} diff --git a/parser/testdata/01888_read_int_safe/ast.json b/parser/testdata/01888_read_int_safe/ast.json deleted file mode 100644 index aaf8bcdaa5..0000000000 --- a/parser/testdata/01888_read_int_safe/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInt64", - "arguments": [ - { - "type": "String", - "value": "--1" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01889_key_condition_function_chains/ast.json b/parser/testdata/01889_key_condition_function_chains/ast.json deleted file mode 100644 index 0118545cd0..0000000000 --- a/parser/testdata/01889_key_condition_function_chains/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "force_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01889_sql_json_functions/ast.json b/parser/testdata/01889_sql_json_functions/ast.json deleted file mode 100644 index 7401a2cb05..0000000000 --- a/parser/testdata/01889_sql_json_functions/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--JSON_VALUE--" - } - ] - } - ] -} diff --git a/parser/testdata/01889_tokenize/ast.json b/parser/testdata/01889_tokenize/ast.json deleted file mode 100644 index d6eb296192..0000000000 --- a/parser/testdata/01889_tokenize/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_nlp_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01890_cross_join_explain_crash/ast.json b/parser/testdata/01890_cross_join_explain_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01890_cross_join_explain_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01890_jit_aggregation_function_sum_long/ast.json b/parser/testdata/01890_jit_aggregation_function_sum_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01890_jit_aggregation_function_sum_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01890_state_of_state/ast.json b/parser/testdata/01890_state_of_state/ast.json deleted file mode 100644 index d303fad06d..0000000000 --- a/parser/testdata/01890_state_of_state/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqExact", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "uniqState", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01890_stem/ast.json b/parser/testdata/01890_stem/ast.json deleted file mode 100644 index d6eb296192..0000000000 --- a/parser/testdata/01890_stem/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_nlp_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01891_echo/ast.json b/parser/testdata/01891_echo/ast.json deleted file mode 100644 index 4cb6f0f6f9..0000000000 --- a/parser/testdata/01891_echo/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/01891_jit_aggregation_function_any_long/ast.json b/parser/testdata/01891_jit_aggregation_function_any_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01891_jit_aggregation_function_any_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01891_not_in_partition_prune/ast.json b/parser/testdata/01891_not_in_partition_prune/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/01891_not_in_partition_prune/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/01891_not_like_partition_prune/ast.json b/parser/testdata/01891_not_like_partition_prune/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01891_not_like_partition_prune/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01891_partition_by_uuid/ast.json b/parser/testdata/01891_partition_by_uuid/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01891_partition_by_uuid/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01891_partition_hash/ast.json b/parser/testdata/01891_partition_hash/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01891_partition_hash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01891_partition_hash_no_long_int/ast.json b/parser/testdata/01891_partition_hash_no_long_int/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01891_partition_hash_no_long_int/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01892_jit_aggregation_function_any_last_long/ast.json b/parser/testdata/01892_jit_aggregation_function_any_last_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01892_jit_aggregation_function_any_last_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01892_setting_limit_offset_distributed/ast.json b/parser/testdata/01892_setting_limit_offset_distributed/ast.json deleted file mode 100644 index e0d0b62d31..0000000000 --- a/parser/testdata/01892_setting_limit_offset_distributed/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "limit" - }, - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - ] - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "limit", - "value": { - "type": "Integer", - "value": 5 - } - } - ] - } - ] -} diff --git a/parser/testdata/01893_jit_aggregation_function_min_long/ast.json b/parser/testdata/01893_jit_aggregation_function_min_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01893_jit_aggregation_function_min_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01894_jit_aggregation_function_max_long/ast.json b/parser/testdata/01894_jit_aggregation_function_max_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01894_jit_aggregation_function_max_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01895_jit_aggregation_function_avg_long/ast.json b/parser/testdata/01895_jit_aggregation_function_avg_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01895_jit_aggregation_function_avg_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01896_jit_aggregation_function_if_long/ast.json b/parser/testdata/01896_jit_aggregation_function_if_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01896_jit_aggregation_function_if_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/ast.json b/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01897_jit_aggregation_function_avg_weighted_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01901_in_literal_shard_prune/ast.json b/parser/testdata/01901_in_literal_shard_prune/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01901_in_literal_shard_prune/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01901_test_attach_partition_from/ast.json b/parser/testdata/01901_test_attach_partition_from/ast.json deleted file mode 100644 index c160988cfb..0000000000 --- a/parser/testdata/01901_test_attach_partition_from/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_attach_01901S", - "tables": [ - { - "table": "test_alter_attach_01901S" - } - ] -} diff --git a/parser/testdata/01902_dictionary_array_type/ast.json b/parser/testdata/01902_dictionary_array_type/ast.json deleted file mode 100644 index 6b33b1c97e..0000000000 --- a/parser/testdata/01902_dictionary_array_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_array_source_table", - "tables": [ - { - "table": "dictionary_array_source_table" - } - ] -} diff --git a/parser/testdata/01902_self_aliases_in_columns/ast.json b/parser/testdata/01902_self_aliases_in_columns/ast.json deleted file mode 100644 index 95c24a29ec..0000000000 --- a/parser/testdata/01902_self_aliases_in_columns/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "a", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - }, - { - "name": "x", - "type": null, - "default": { - "parts": [ - "x" - ] - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "number" - ] - } - ] -} diff --git a/parser/testdata/01902_table_function_merge_db_params/ast.json b/parser/testdata/01902_table_function_merge_db_params/ast.json deleted file mode 100644 index 69f314a792..0000000000 --- a/parser/testdata/01902_table_function_merge_db_params/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01902_db_params", - "drop_database": true -} diff --git a/parser/testdata/01902_table_function_merge_db_repr/ast.json b/parser/testdata/01902_table_function_merge_db_repr/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01902_table_function_merge_db_repr/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01904_dictionary_default_nullable_type/ast.json b/parser/testdata/01904_dictionary_default_nullable_type/ast.json deleted file mode 100644 index 5c9203ef43..0000000000 --- a/parser/testdata/01904_dictionary_default_nullable_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_nullable_source_table", - "tables": [ - { - "table": "dictionary_nullable_source_table" - } - ] -} diff --git a/parser/testdata/01906_h3_to_geo/ast.json b/parser/testdata/01906_h3_to_geo/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/01906_h3_to_geo/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/01906_lc_in_bug/ast.json b/parser/testdata/01906_lc_in_bug/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/01906_lc_in_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/01906_partition_by_multiply_by_zero/ast.json b/parser/testdata/01906_partition_by_multiply_by_zero/ast.json deleted file mode 100644 index a7dbbca3a4..0000000000 --- a/parser/testdata/01906_partition_by_multiply_by_zero/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_01906", - "tables": [ - { - "table": "t_01906" - } - ] -} diff --git a/parser/testdata/01907_multiple_aliases/ast.json b/parser/testdata/01907_multiple_aliases/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/01907_multiple_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/01908_with_unknown_column/ast.json b/parser/testdata/01908_with_unknown_column/ast.json deleted file mode 100644 index dbe6580b07..0000000000 --- a/parser/testdata/01908_with_unknown_column/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "with": [ - { - "name": "aa", - "query": { - "left": { - "parts": [ - "a" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - }, - { - "name": "aaif", - "query": { - "name": "sumIf", - "arguments": [ - { - "parts": [ - "aa" - ] - }, - { - "left": { - "parts": [ - "b" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - ], - "columns": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "aaif" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "a" - ] - } - ] - } - ] - } - }, - "alias": "V" - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01909_mbtolou/ast.json b/parser/testdata/01909_mbtolou/ast.json deleted file mode 100644 index df5a365387..0000000000 --- a/parser/testdata/01909_mbtolou/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "DATE_INFO_DICT", - "tables": [ - { - "table": "DATE_INFO_DICT" - } - ] -} diff --git a/parser/testdata/01910_memory_tracking_topk/ast.json b/parser/testdata/01910_memory_tracking_topk/ast.json deleted file mode 100644 index db3a7570ec..0000000000 --- a/parser/testdata/01910_memory_tracking_topk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "100M" - } - } - ] -} diff --git a/parser/testdata/01910_view_dictionary/ast.json b/parser/testdata/01910_view_dictionary/ast.json deleted file mode 100644 index e97f0faa79..0000000000 --- a/parser/testdata/01910_view_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_source_en", - "tables": [ - { - "table": "dictionary_source_en" - } - ] -} diff --git a/parser/testdata/01910_view_dictionary_check_refresh/ast.json b/parser/testdata/01910_view_dictionary_check_refresh/ast.json deleted file mode 100644 index c869e16223..0000000000 --- a/parser/testdata/01910_view_dictionary_check_refresh/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "TestTblDict", - "tables": [ - { - "table": "TestTblDict" - } - ] -} diff --git a/parser/testdata/01911_logical_error_minus/ast.json b/parser/testdata/01911_logical_error_minus/ast.json deleted file mode 100644 index a1c86ef7af..0000000000 --- a/parser/testdata/01911_logical_error_minus/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cross_to_inner_join_rewrite", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01913_exact_rows_before_limit/ast.json b/parser/testdata/01913_exact_rows_before_limit/ast.json deleted file mode 100644 index 4195107c76..0000000000 --- a/parser/testdata/01913_exact_rows_before_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_rows_compact_part", - "tables": [ - { - "table": "test_rows_compact_part" - } - ] -} diff --git a/parser/testdata/01913_exact_rows_before_limit_full/ast.json b/parser/testdata/01913_exact_rows_before_limit_full/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01913_exact_rows_before_limit_full/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01913_fix_column_transformer_replace_format/ast.json b/parser/testdata/01913_fix_column_transformer_replace_format/ast.json deleted file mode 100644 index f04a093eda..0000000000 --- a/parser/testdata/01913_fix_column_transformer_replace_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "my_table", - "tables": [ - { - "table": "my_table" - } - ] -} diff --git a/parser/testdata/01913_if_int_decimal/ast.json b/parser/testdata/01913_if_int_decimal/ast.json deleted file mode 100644 index aab936a9df..0000000000 --- a/parser/testdata/01913_if_int_decimal/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 18 - }, - { - "type": "Integer", - "value": 10 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "else": { - "type": "Integer", - "value": 2 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01913_join_push_down_bug/ast.json b/parser/testdata/01913_join_push_down_bug/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01913_join_push_down_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01913_replace_dictionary/ast.json b/parser/testdata/01913_replace_dictionary/ast.json deleted file mode 100644 index e48bea3f56..0000000000 --- a/parser/testdata/01913_replace_dictionary/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01913_db", - "drop_database": true -} diff --git a/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/ast.json b/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/ast.json deleted file mode 100644 index 49b9b4ff8c..0000000000 --- a/parser/testdata/01913_summing_mt_and_simple_agg_function_with_lc/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "smta", - "tables": [ - { - "table": "smta" - } - ] -} diff --git a/parser/testdata/01914_exchange_dictionaries/ast.json b/parser/testdata/01914_exchange_dictionaries/ast.json deleted file mode 100644 index b6b4854458..0000000000 --- a/parser/testdata/01914_exchange_dictionaries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01914_db", - "drop_database": true -} diff --git a/parser/testdata/01914_index_bgranvea/ast.json b/parser/testdata/01914_index_bgranvea/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/01914_index_bgranvea/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/01915_create_or_replace_dictionary/ast.json b/parser/testdata/01915_create_or_replace_dictionary/ast.json deleted file mode 100644 index 393282601d..0000000000 --- a/parser/testdata/01915_create_or_replace_dictionary/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_01915_db", - "drop_database": true -} diff --git a/parser/testdata/01915_json_extract_raw_string/ast.json b/parser/testdata/01915_json_extract_raw_string/ast.json deleted file mode 100644 index 4f28684b89..0000000000 --- a/parser/testdata/01915_json_extract_raw_string/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"a\": \"123\", \"b\": 456, \"c\": [7, 8, 9]}" - }, - { - "type": "String", - "value": "Tuple(a String, b String, c String)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/ast.json b/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/ast.json deleted file mode 100644 index ac9584c9be..0000000000 --- a/parser/testdata/01915_merge_prewhere_virtual_column_rand_chao_wang/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "abc", - "tables": [ - { - "table": "abc" - } - ] -} diff --git a/parser/testdata/01916_low_cardinality_interval/ast.json b/parser/testdata/01916_low_cardinality_interval/ast.json deleted file mode 100644 index 08c20bcc19..0000000000 --- a/parser/testdata/01916_low_cardinality_interval/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toIntervalSecond", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01916_lowcard_dict_type/ast.json b/parser/testdata/01916_lowcard_dict_type/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01916_lowcard_dict_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/ast.json b/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/01916_multiple_join_view_optimize_predicate_chertus/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/01917_prewhere_column_type/ast.json b/parser/testdata/01917_prewhere_column_type/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/01917_prewhere_column_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01917_system_data_skipping_indices/ast.json b/parser/testdata/01917_system_data_skipping_indices/ast.json deleted file mode 100644 index adf76c1b44..0000000000 --- a/parser/testdata/01917_system_data_skipping_indices/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01917", - "tables": [ - { - "table": "data_01917" - } - ] -} diff --git a/parser/testdata/01920_not_chain_format/ast.json b/parser/testdata/01920_not_chain_format/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01920_not_chain_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01921_datatype_date32/ast.json b/parser/testdata/01921_datatype_date32/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01921_datatype_date32/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01921_not_chain/ast.json b/parser/testdata/01921_not_chain/ast.json deleted file mode 100644 index 5383988953..0000000000 --- a/parser/testdata/01921_not_chain/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "!=", - "right": { - "op": "NOT", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - ] -} diff --git a/parser/testdata/01922_array_join_with_index/ast.json b/parser/testdata/01922_array_join_with_index/ast.json deleted file mode 100644 index a218d7d215..0000000000 --- a/parser/testdata/01922_array_join_with_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_array_index", - "tables": [ - { - "table": "t_array_index" - } - ] -} diff --git a/parser/testdata/01922_sum_null_for_remote/ast.json b/parser/testdata/01922_sum_null_for_remote/ast.json deleted file mode 100644 index 80dde14afd..0000000000 --- a/parser/testdata/01922_sum_null_for_remote/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "type": "String", - "value": "system" - }, - { - "type": "String", - "value": "one" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01923_different_expression_name_alias/ast.json b/parser/testdata/01923_different_expression_name_alias/ast.json deleted file mode 100644 index 685c7ba03e..0000000000 --- a/parser/testdata/01923_different_expression_name_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "distributed_tbl", - "tables": [ - { - "table": "distributed_tbl" - } - ] -} diff --git a/parser/testdata/01923_ttl_with_modify_column/ast.json b/parser/testdata/01923_ttl_with_modify_column/ast.json deleted file mode 100644 index 6973b27c66..0000000000 --- a/parser/testdata/01923_ttl_with_modify_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_ttl_modify_column", - "tables": [ - { - "table": "t_ttl_modify_column" - } - ] -} diff --git a/parser/testdata/01924_argmax_bitmap_state/ast.json b/parser/testdata/01924_argmax_bitmap_state/ast.json deleted file mode 100644 index 327c2dca5b..0000000000 --- a/parser/testdata/01924_argmax_bitmap_state/ast.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitmapMax", - "arguments": [ - { - "name": "argMax", - "arguments": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupBitmapState", - "arguments": [ - { - "name": "toUInt32", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "x" - }, - { - "parts": [ - "number" - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01925_broken_partition_id_zookeeper/ast.json b/parser/testdata/01925_broken_partition_id_zookeeper/ast.json deleted file mode 100644 index 7691a743c7..0000000000 --- a/parser/testdata/01925_broken_partition_id_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "broken_partition", - "tables": [ - { - "table": "broken_partition" - } - ] -} diff --git a/parser/testdata/01925_date_date_time_comparison/ast.json b/parser/testdata/01925_date_date_time_comparison/ast.json deleted file mode 100644 index fad2a4dd69..0000000000 --- a/parser/testdata/01925_date_date_time_comparison/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2000-01-01" - } - ] - }, - "op": "\u003c", - "right": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2000-01-01 00:00:01" - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01925_jit_aggregation_function_count_long/ast.json b/parser/testdata/01925_jit_aggregation_function_count_long/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/01925_jit_aggregation_function_count_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01925_join_materialized_columns/ast.json b/parser/testdata/01925_join_materialized_columns/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/01925_join_materialized_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/01925_json_as_string_data_in_square_brackets/ast.json b/parser/testdata/01925_json_as_string_data_in_square_brackets/ast.json deleted file mode 100644 index 8ebe3d63c3..0000000000 --- a/parser/testdata/01925_json_as_string_data_in_square_brackets/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "json_square_brackets", - "tables": [ - { - "table": "json_square_brackets" - } - ] -} diff --git a/parser/testdata/01925_map_populate_series_on_map/ast.json b/parser/testdata/01925_map_populate_series_on_map/ast.json deleted file mode 100644 index ea07bcd0cc..0000000000 --- a/parser/testdata/01925_map_populate_series_on_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_test", - "tables": [ - { - "table": "map_test" - } - ] -} diff --git a/parser/testdata/01925_merge_prewhere_table/ast.json b/parser/testdata/01925_merge_prewhere_table/ast.json deleted file mode 100644 index d31fe4a50e..0000000000 --- a/parser/testdata/01925_merge_prewhere_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x_1", - "tables": [ - { - "table": "x_1" - } - ] -} diff --git a/parser/testdata/01925_test_group_by_const_consistency/ast.json b/parser/testdata/01925_test_group_by_const_consistency/ast.json deleted file mode 100644 index b1dab08ac3..0000000000 --- a/parser/testdata/01925_test_group_by_const_consistency/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 0 - }, - "group_by": [ - { - "parts": [ - "a" - ] - } - ] - } - ] -} diff --git a/parser/testdata/01925_test_storage_merge_aliases/ast.json b/parser/testdata/01925_test_storage_merge_aliases/ast.json deleted file mode 100644 index 615a4c2c01..0000000000 --- a/parser/testdata/01925_test_storage_merge_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge", - "tables": [ - { - "table": "merge" - } - ] -} diff --git a/parser/testdata/01925_test_storage_merge_aliases_analyzer/ast.json b/parser/testdata/01925_test_storage_merge_aliases_analyzer/ast.json deleted file mode 100644 index 615a4c2c01..0000000000 --- a/parser/testdata/01925_test_storage_merge_aliases_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge", - "tables": [ - { - "table": "merge" - } - ] -} diff --git a/parser/testdata/01926_bin_unbin/ast.json b/parser/testdata/01926_bin_unbin/ast.json deleted file mode 100644 index 8b36605e11..0000000000 --- a/parser/testdata/01926_bin_unbin/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bin", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01926_date_date_time_supertype/ast.json b/parser/testdata/01926_date_date_time_supertype/ast.json deleted file mode 100644 index bcc2159c1f..0000000000 --- a/parser/testdata/01926_date_date_time_supertype/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Array" - } - ] - } - ] -} diff --git a/parser/testdata/01926_order_by_desc_limit/ast.json b/parser/testdata/01926_order_by_desc_limit/ast.json deleted file mode 100644 index d222a7f891..0000000000 --- a/parser/testdata/01926_order_by_desc_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order_by_desc", - "tables": [ - { - "table": "order_by_desc" - } - ] -} diff --git a/parser/testdata/01927_query_views_log_current_database/ast.json b/parser/testdata/01927_query_views_log_current_database/ast.json deleted file mode 100644 index 923d575f4c..0000000000 --- a/parser/testdata/01927_query_views_log_current_database/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/ast.json b/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01930_optimize_skip_unused_shards_rewrite_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01931_storage_merge_no_columns/ast.json b/parser/testdata/01931_storage_merge_no_columns/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/01931_storage_merge_no_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/01932_alter_index_with_order/ast.json b/parser/testdata/01932_alter_index_with_order/ast.json deleted file mode 100644 index 918c65b399..0000000000 --- a/parser/testdata/01932_alter_index_with_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_index_test", - "tables": [ - { - "table": "alter_index_test" - } - ] -} diff --git a/parser/testdata/01932_global_in_function/ast.json b/parser/testdata/01932_global_in_function/ast.json deleted file mode 100644 index 996b4e351e..0000000000 --- a/parser/testdata/01932_global_in_function/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "cluster", - "arguments": [ - { - "parts": [ - "test_cluster_two_shards_localhost" - ] - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "number" - ] - }, - "global": true, - "list": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/01932_null_valid_identifier/ast.json b/parser/testdata/01932_null_valid_identifier/ast.json deleted file mode 100644 index c9742a4b67..0000000000 --- a/parser/testdata/01932_null_valid_identifier/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "null" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.2" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "null" - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01932_remote_sharding_key_column/ast.json b/parser/testdata/01932_remote_sharding_key_column/ast.json deleted file mode 100644 index ae466426bd..0000000000 --- a/parser/testdata/01932_remote_sharding_key_column/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - }, - { - "parts": [ - "system", - "one" - ] - }, - { - "parts": [ - "dummy" - ] - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/01933_invalid_date/ast.json b/parser/testdata/01933_invalid_date/ast.json deleted file mode 100644 index e79b4ae35b..0000000000 --- a/parser/testdata/01933_invalid_date/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "07-08-2019" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01934_constexpr_aggregate_function_parameters/ast.json b/parser/testdata/01934_constexpr_aggregate_function_parameters/ast.json deleted file mode 100644 index 6bf048c506..0000000000 --- a/parser/testdata/01934_constexpr_aggregate_function_parameters/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "parameters": [ - { - "left": { - "type": "Integer", - "value": 2 - }, - "op": "+", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01936_empty_function_support_uuid/ast.json b/parser/testdata/01936_empty_function_support_uuid/ast.json deleted file mode 100644 index 25c824d823..0000000000 --- a/parser/testdata/01936_empty_function_support_uuid/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "empty", - "arguments": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "00000000-0000-0000-0000-000000000000" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/01936_quantiles_cannot_return_null/ast.json b/parser/testdata/01936_quantiles_cannot_return_null/ast.json deleted file mode 100644 index 7e69f9d4e5..0000000000 --- a/parser/testdata/01936_quantiles_cannot_return_null/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "aggregate_functions_null_for_empty", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01936_three_parts_identifiers_in_wrong_places/ast.json b/parser/testdata/01936_three_parts_identifiers_in_wrong_places/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/01936_three_parts_identifiers_in_wrong_places/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01937_nested_chinese/ast.json b/parser/testdata/01937_nested_chinese/ast.json deleted file mode 100644 index 7cd02da0fa..0000000000 --- a/parser/testdata/01937_nested_chinese/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "products", - "type": { - "name": "Nested", - "parameters": [ - { - "name": "产品", - "type": { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "销量", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Int32" - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/01938_joins_identifiers/ast.json b/parser/testdata/01938_joins_identifiers/ast.json deleted file mode 100644 index d46a6f93b0..0000000000 --- a/parser/testdata/01938_joins_identifiers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "/t0", - "tables": [ - { - "table": "/t0" - } - ] -} diff --git a/parser/testdata/01939_type_map_json/ast.json b/parser/testdata/01939_type_map_json/ast.json deleted file mode 100644 index 328b85c20d..0000000000 --- a/parser/testdata/01939_type_map_json/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ], - "alias": "m" - } - ], - "format": { - "parts": [ - "JSONEachRow" - ] - } - } - ] -} diff --git a/parser/testdata/01940_custom_tld_sharding_key/ast.json b/parser/testdata/01940_custom_tld_sharding_key/ast.json deleted file mode 100644 index 052d6f318a..0000000000 --- a/parser/testdata/01940_custom_tld_sharding_key/ast.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,2}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "foo.com" - }, - "alias": "key" - } - ] - } - ] - } - } - ] - }, - { - "name": "cityHash64", - "arguments": [ - { - "parts": [ - "key" - ] - } - ] - } - ] - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "key" - ] - }, - "op": "=", - "right": { - "name": "cutToFirstSignificantSubdomainCustom", - "arguments": [ - { - "type": "String", - "value": "foo.com" - }, - { - "type": "String", - "value": "public_suffix_list" - } - ] - } - }, - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "force_optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/01940_pad_string/ast.json b/parser/testdata/01940_pad_string/ast.json deleted file mode 100644 index 3bf94af35e..0000000000 --- a/parser/testdata/01940_pad_string/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "leftPad" - } - ] - } - ] -} diff --git a/parser/testdata/01940_point_in_polygon_ubsan/ast.json b/parser/testdata/01940_point_in_polygon_ubsan/ast.json deleted file mode 100644 index 98d4d8c6dc..0000000000 --- a/parser/testdata/01940_point_in_polygon_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "validate_polygons", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01940_totimezone_operator_monotonicity/ast.json b/parser/testdata/01940_totimezone_operator_monotonicity/ast.json deleted file mode 100644 index fcad7cb211..0000000000 --- a/parser/testdata/01940_totimezone_operator_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "totimezone_op_mono", - "tables": [ - { - "table": "totimezone_op_mono" - } - ] -} diff --git a/parser/testdata/01941_dict_get_has_complex_single_key/ast.json b/parser/testdata/01941_dict_get_has_complex_single_key/ast.json deleted file mode 100644 index cfb47be801..0000000000 --- a/parser/testdata/01941_dict_get_has_complex_single_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_dictionary_source", - "tables": [ - { - "table": "test_dictionary_source" - } - ] -} diff --git a/parser/testdata/01942_create_table_with_sample/ast.json b/parser/testdata/01942_create_table_with_sample/ast.json deleted file mode 100644 index ea2f0172de..0000000000 --- a/parser/testdata/01942_create_table_with_sample/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "if_not_exists": true, - "table": "sample_incorrect", - "columns": [ - { - "name": "x", - "type": { - "name": "UUID" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "sample_by": { - "parts": [ - "x" - ] - } -} diff --git a/parser/testdata/01942_dateTimeToSnowflake/ast.json b/parser/testdata/01942_dateTimeToSnowflake/ast.json deleted file mode 100644 index a623c965d4..0000000000 --- a/parser/testdata/01942_dateTimeToSnowflake/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_snowflake_conversion_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01942_dateTimeToSnowflakeID/ast.json b/parser/testdata/01942_dateTimeToSnowflakeID/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/01942_dateTimeToSnowflakeID/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/01942_snowflakeIDToDateTime/ast.json b/parser/testdata/01942_snowflakeIDToDateTime/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/01942_snowflakeIDToDateTime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/01942_snowflakeToDateTime/ast.json b/parser/testdata/01942_snowflakeToDateTime/ast.json deleted file mode 100644 index a623c965d4..0000000000 --- a/parser/testdata/01942_snowflakeToDateTime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_snowflake_conversion_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01943_log_column_sizes/ast.json b/parser/testdata/01943_log_column_sizes/ast.json deleted file mode 100644 index 1448c123d4..0000000000 --- a/parser/testdata/01943_log_column_sizes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_log", - "tables": [ - { - "table": "test_log" - } - ] -} diff --git a/parser/testdata/01943_non_deterministic_order_key/ast.json b/parser/testdata/01943_non_deterministic_order_key/ast.json deleted file mode 100644 index 251a29842b..0000000000 --- a/parser/testdata/01943_non_deterministic_order_key/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "table": "a", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "if", - "arguments": [ - { - "left": { - "name": "now" - }, - "op": "\u003e", - "right": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-06-01 13:31:40" - } - ] - } - }, - { - "name": "toInt64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "op": "-", - "operand": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/01943_query_id_check/ast.json b/parser/testdata/01943_query_id_check/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01943_query_id_check/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01944_range_max_elements/ast.json b/parser/testdata/01944_range_max_elements/ast.json deleted file mode 100644 index 39dfb25681..0000000000 --- a/parser/testdata/01944_range_max_elements/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "function_range_max_elements_in_block", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/01946_profile_sleep/ast.json b/parser/testdata/01946_profile_sleep/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01946_profile_sleep/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01947_mv_subquery/ast.json b/parser/testdata/01947_mv_subquery/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/01947_mv_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01948_dictionary_quoted_database_name/ast.json b/parser/testdata/01948_dictionary_quoted_database_name/ast.json deleted file mode 100644 index 618479d2c7..0000000000 --- a/parser/testdata/01948_dictionary_quoted_database_name/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "01945.db", - "drop_database": true -} diff --git a/parser/testdata/01948_group_bitmap_and_or_xor_fix/ast.json b/parser/testdata/01948_group_bitmap_and_or_xor_fix/ast.json deleted file mode 100644 index 293c770015..0000000000 --- a/parser/testdata/01948_group_bitmap_and_or_xor_fix/ast.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupBitmapAnd", - "arguments": [ - { - "name": "bitmapBuild", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "groupBitmapOr", - "arguments": [ - { - "name": "bitmapBuild", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - }, - { - "name": "groupBitmapXor", - "arguments": [ - { - "name": "bitmapBuild", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "cluster", - "arguments": [ - { - "parts": [ - "test_cluster_two_shards" - ] - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01948_heredoc/ast.json b/parser/testdata/01948_heredoc/ast.json deleted file mode 100644 index b5b4669fce..0000000000 --- a/parser/testdata/01948_heredoc/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "" - } - ] - } - ] -} diff --git a/parser/testdata/01950_aliases_bad_cast/ast.json b/parser/testdata/01950_aliases_bad_cast/ast.json deleted file mode 100644 index 3c2b5e83d0..0000000000 --- a/parser/testdata/01950_aliases_bad_cast/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - }, - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Null", - "value": null - }, - "alias": "1" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/01951_distributed_push_down_limit/ast.json b/parser/testdata/01951_distributed_push_down_limit/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/01951_distributed_push_down_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01952_optimize_distributed_group_by_sharding_key/ast.json b/parser/testdata/01952_optimize_distributed_group_by_sharding_key/ast.json deleted file mode 100644 index a7f6f9e84b..0000000000 --- a/parser/testdata/01952_optimize_distributed_group_by_sharding_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_skip_unused_shards", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/01958_partial_hour_timezone/ast.json b/parser/testdata/01958_partial_hour_timezone/ast.json deleted file mode 100644 index a805056b35..0000000000 --- a/parser/testdata/01958_partial_hour_timezone/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_single_large_number_tip_threshold", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01961_roaring_memory_tracking/ast.json b/parser/testdata/01961_roaring_memory_tracking/ast.json deleted file mode 100644 index 5dd0e1cc44..0000000000 --- a/parser/testdata/01961_roaring_memory_tracking/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/01999_grant_with_replace/ast.json b/parser/testdata/01999_grant_with_replace/ast.json deleted file mode 100644 index a8b02eddfd..0000000000 --- a/parser/testdata/01999_grant_with_replace/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "test_user_01999" -} diff --git a/parser/testdata/02000_default_from_default_empty_column/ast.json b/parser/testdata/02000_default_from_default_empty_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02000_default_from_default_empty_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02000_join_on_const/ast.json b/parser/testdata/02000_join_on_const/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02000_join_on_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02000_map_full_text_bloom_filter_index/ast.json b/parser/testdata/02000_map_full_text_bloom_filter_index/ast.json deleted file mode 100644 index 65bb312b55..0000000000 --- a/parser/testdata/02000_map_full_text_bloom_filter_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bf_tokenbf_map_keys_test", - "tables": [ - { - "table": "bf_tokenbf_map_keys_test" - } - ] -} diff --git a/parser/testdata/02000_table_function_cluster_macros/ast.json b/parser/testdata/02000_table_function_cluster_macros/ast.json deleted file mode 100644 index 56b2670df3..0000000000 --- a/parser/testdata/02000_table_function_cluster_macros/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "_shard_num" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "cluster", - "arguments": [ - { - "parts": [ - "{default_cluster_macro}" - ] - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/ast.json b/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/ast.json deleted file mode 100644 index 373e19c293..0000000000 --- a/parser/testdata/02001_dist_on_dist_WithMergeableStateAfterAggregation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist", - "tables": [ - { - "table": "dist" - } - ] -} diff --git a/parser/testdata/02001_hostname_test/ast.json b/parser/testdata/02001_hostname_test/ast.json deleted file mode 100644 index ee56318706..0000000000 --- a/parser/testdata/02001_hostname_test/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hostname" - } - ] - } - ] -} diff --git a/parser/testdata/02001_join_on_const/ast.json b/parser/testdata/02001_join_on_const/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02001_join_on_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02001_shard_num_shard_count/ast.json b/parser/testdata/02001_shard_num_shard_count/ast.json deleted file mode 100644 index ad7209a69a..0000000000 --- a/parser/testdata/02001_shard_num_shard_count/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "shardNum", - "alias": "n" - }, - { - "name": "shardCount", - "alias": "c" - } - ] - } - ] -} diff --git a/parser/testdata/02002_parse_map_int_key/ast.json b/parser/testdata/02002_parse_map_int_key/ast.json deleted file mode 100644 index a02a04c75c..0000000000 --- a/parser/testdata/02002_parse_map_int_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_map_int_key", - "tables": [ - { - "table": "t_map_int_key" - } - ] -} diff --git a/parser/testdata/02002_sampling_and_unknown_column_bug/ast.json b/parser/testdata/02002_sampling_and_unknown_column_bug/ast.json deleted file mode 100644 index a972121bef..0000000000 --- a/parser/testdata/02002_sampling_and_unknown_column_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sessions", - "tables": [ - { - "table": "sessions" - } - ] -} diff --git a/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/ast.json b/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/ast.json deleted file mode 100644 index ca63e02402..0000000000 --- a/parser/testdata/02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "" - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02003_bug_from_23515/ast.json b/parser/testdata/02003_bug_from_23515/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02003_bug_from_23515/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02004_intersect_except_distinct_operators/ast.json b/parser/testdata/02004_intersect_except_distinct_operators/ast.json deleted file mode 100644 index 89f4cb40b0..0000000000 --- a/parser/testdata/02004_intersect_except_distinct_operators/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "intersect_default_mode", - "value": { - "type": "String", - "value": "DISTINCT" - } - } - ] -} diff --git a/parser/testdata/02004_invalid_partition_mutation_stuck/ast.json b/parser/testdata/02004_invalid_partition_mutation_stuck/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02004_invalid_partition_mutation_stuck/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02004_max_hyperscan_regex_length/ast.json b/parser/testdata/02004_max_hyperscan_regex_length/ast.json deleted file mode 100644 index b8401c378b..0000000000 --- a/parser/testdata/02004_max_hyperscan_regex_length/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_hyperscan_regexp_length", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02005_log_formatted_queries/ast.json b/parser/testdata/02005_log_formatted_queries/ast.json deleted file mode 100644 index 88f7308457..0000000000 --- a/parser/testdata/02005_log_formatted_queries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_formatted_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02006_client_test_hint_error_name/ast.json b/parser/testdata/02006_client_test_hint_error_name/ast.json deleted file mode 100644 index 580dd1ebb8..0000000000 --- a/parser/testdata/02006_client_test_hint_error_name/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "throwIf", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02006_h3_to_geo_boundary/ast.json b/parser/testdata/02006_h3_to_geo_boundary/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02006_h3_to_geo_boundary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02006_test_positional_arguments/ast.json b/parser/testdata/02006_test_positional_arguments/ast.json deleted file mode 100644 index 075492e9d5..0000000000 --- a/parser/testdata/02006_test_positional_arguments/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 100000 - } - } - ] -} diff --git a/parser/testdata/02006_todatetime64_from_string/ast.json b/parser/testdata/02006_todatetime64_from_string/ast.json deleted file mode 100644 index 9b1fed1512..0000000000 --- a/parser/testdata/02006_todatetime64_from_string/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2021-03-22" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "Asia/Tehran" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02007_join_use_nulls/ast.json b/parser/testdata/02007_join_use_nulls/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/02007_join_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02008_aliased_column_distributed_bug/ast.json b/parser/testdata/02008_aliased_column_distributed_bug/ast.json deleted file mode 100644 index ee016082e8..0000000000 --- a/parser/testdata/02008_aliased_column_distributed_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "click_storage", - "tables": [ - { - "table": "click_storage" - } - ] -} diff --git a/parser/testdata/02008_complex_key_range_hashed_dictionary/ast.json b/parser/testdata/02008_complex_key_range_hashed_dictionary/ast.json deleted file mode 100644 index 889792ab6f..0000000000 --- a/parser/testdata/02008_complex_key_range_hashed_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "date_table", - "tables": [ - { - "table": "date_table" - } - ] -} diff --git a/parser/testdata/02008_materialize_column/ast.json b/parser/testdata/02008_materialize_column/ast.json deleted file mode 100644 index 03dac8cb94..0000000000 --- a/parser/testdata/02008_materialize_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp", - "tables": [ - { - "table": "tmp" - } - ] -} diff --git a/parser/testdata/02008_test_union_distinct_in_subquery/ast.json b/parser/testdata/02008_test_union_distinct_in_subquery/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02008_test_union_distinct_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02008_tuple_to_name_value_pairs/ast.json b/parser/testdata/02008_tuple_to_name_value_pairs/ast.json deleted file mode 100644 index f25ea932dc..0000000000 --- a/parser/testdata/02008_tuple_to_name_value_pairs/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleToNameValuePairs", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02009_array_join_partition/ast.json b/parser/testdata/02009_array_join_partition/ast.json deleted file mode 100644 index 285ffb72c4..0000000000 --- a/parser/testdata/02009_array_join_partition/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "table": "table_2009_part", - "columns": [ - { - "name": "i", - "type": { - "name": "Int64" - } - }, - { - "name": "d", - "type": { - "name": "Date" - } - }, - { - "name": "s", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "i" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "d" - ] - } - ] - } -} diff --git a/parser/testdata/02009_decimal_no_trailing_zeros/ast.json b/parser/testdata/02009_decimal_no_trailing_zeros/ast.json deleted file mode 100644 index c93adf94aa..0000000000 --- a/parser/testdata/02009_decimal_no_trailing_zeros/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Float", - "value": 1.123 - }, - "type": { - "name": "Decimal64", - "parameters": [ - { - "type": "Integer", - "value": 1 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/02010_array_index_bad_cast/ast.json b/parser/testdata/02010_array_index_bad_cast/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02010_array_index_bad_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02011_dictionary_empty_attribute_list/ast.json b/parser/testdata/02011_dictionary_empty_attribute_list/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02011_dictionary_empty_attribute_list/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02011_normalize_utf8/ast.json b/parser/testdata/02011_normalize_utf8/ast.json deleted file mode 100644 index 48191ee08c..0000000000 --- a/parser/testdata/02011_normalize_utf8/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "normalize_test", - "tables": [ - { - "table": "normalize_test" - } - ] -} diff --git a/parser/testdata/02011_tuple_vector_functions/ast.json b/parser/testdata/02011_tuple_vector_functions/ast.json deleted file mode 100644 index da362999ca..0000000000 --- a/parser/testdata/02011_tuple_vector_functions/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleHammingDistance", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02012_changed_enum_type_non_replicated/ast.json b/parser/testdata/02012_changed_enum_type_non_replicated/ast.json deleted file mode 100644 index bc2d421c56..0000000000 --- a/parser/testdata/02012_changed_enum_type_non_replicated/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "table": "enum_alter_issue", - "columns": [ - { - "name": "a", - "type": { - "name": "Enum8", - "parameters": [ - { - "left": { - "type": "String", - "value": "one" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "type": "String", - "value": "two" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/02012_get_server_port/ast.json b/parser/testdata/02012_get_server_port/ast.json deleted file mode 100644 index c3d59c87bb..0000000000 --- a/parser/testdata/02012_get_server_port/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "getServerPort", - "arguments": [ - { - "type": "String", - "value": "tcp_port" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02012_low_cardinality_uuid_with_extremes/ast.json b/parser/testdata/02012_low_cardinality_uuid_with_extremes/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/02012_low_cardinality_uuid_with_extremes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/02012_settings_clause_for_s3/ast.json b/parser/testdata/02012_settings_clause_for_s3/ast.json deleted file mode 100644 index ec90f5d907..0000000000 --- a/parser/testdata/02012_settings_clause_for_s3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_with_range", - "tables": [ - { - "table": "table_with_range" - } - ] -} diff --git a/parser/testdata/02012_sha512_fixedstring/ast.json b/parser/testdata/02012_sha512_fixedstring/ast.json deleted file mode 100644 index d8b5cc9f6e..0000000000 --- a/parser/testdata/02012_sha512_fixedstring/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "SHA512", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/ast.json b/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/ast.json deleted file mode 100644 index 53fc186f4f..0000000000 --- a/parser/testdata/02012_zookeeper_changed_enum_type_incompatible/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "enum_alter_issue", - "tables": [ - { - "table": "enum_alter_issue" - } - ] -} diff --git a/parser/testdata/02013_bloom_filter_hasAll/ast.json b/parser/testdata/02013_bloom_filter_hasAll/ast.json deleted file mode 100644 index 78b299db67..0000000000 --- a/parser/testdata/02013_bloom_filter_hasAll/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bftest", - "tables": [ - { - "table": "bftest" - } - ] -} diff --git a/parser/testdata/02013_emptystring_cast/ast.json b/parser/testdata/02013_emptystring_cast/ast.json deleted file mode 100644 index 9c41d19154..0000000000 --- a/parser/testdata/02013_emptystring_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_uint64", - "tables": [ - { - "table": "test_uint64" - } - ] -} diff --git a/parser/testdata/02013_json_function_null_column/ast.json b/parser/testdata/02013_json_function_null_column/ast.json deleted file mode 100644 index deab36deeb..0000000000 --- a/parser/testdata/02013_json_function_null_column/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"string_value\":null}" - }, - { - "type": "String", - "value": "string_value" - }, - { - "type": "String", - "value": "Nullable(String)" - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02013_lc_nullable_and_infinity/ast.json b/parser/testdata/02013_lc_nullable_and_infinity/ast.json deleted file mode 100644 index 8f411c1442..0000000000 --- a/parser/testdata/02013_lc_nullable_and_infinity/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "settings": [ - { - "name": "receive_timeout", - "value": { - "type": "String", - "value": "10" - } - }, - { - "name": "receive_data_timeout_ms", - "value": { - "type": "String", - "value": "10000" - } - }, - { - "name": "extremes", - "value": { - "type": "String", - "value": "1" - } - }, - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "String", - "value": "1" - } - }, - { - "name": "force_primary_key", - "value": { - "type": "String", - "value": "1" - } - }, - { - "name": "join_use_nulls", - "value": { - "type": "String", - "value": "1" - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "2" - } - }, - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/02014_dict_get_nullable_key/ast.json b/parser/testdata/02014_dict_get_nullable_key/ast.json deleted file mode 100644 index 7fce71e9f0..0000000000 --- a/parser/testdata/02014_dict_get_nullable_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_non_nullable_source_table", - "tables": [ - { - "table": "dictionary_non_nullable_source_table" - } - ] -} diff --git a/parser/testdata/02014_map_different_keys/ast.json b/parser/testdata/02014_map_different_keys/ast.json deleted file mode 100644 index bb6b3252ff..0000000000 --- a/parser/testdata/02014_map_different_keys/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "...const maps..." - } - ] - } - ] -} diff --git a/parser/testdata/02014_storage_merge_order_by/ast.json b/parser/testdata/02014_storage_merge_order_by/ast.json deleted file mode 100644 index 1feb7639af..0000000000 --- a/parser/testdata/02014_storage_merge_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "short", - "tables": [ - { - "table": "short" - } - ] -} diff --git a/parser/testdata/02015_column_default_dict_get_identifier/ast.json b/parser/testdata/02015_column_default_dict_get_identifier/ast.json deleted file mode 100644 index 0f5cf66703..0000000000 --- a/parser/testdata/02015_column_default_dict_get_identifier/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "key_column", - "type": { - "name": "UInt64" - } - }, - { - "name": "data_column_1", - "type": { - "name": "UInt64" - } - }, - { - "name": "data_column_2", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key_column" - ] - } - ] -} diff --git a/parser/testdata/02015_division_by_nullable/ast.json b/parser/testdata/02015_division_by_nullable/ast.json deleted file mode 100644 index a6063e84ca..0000000000 --- a/parser/testdata/02015_division_by_nullable/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "/", - "right": { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(Decimal(7, 2))" - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02015_executable_user_defined_functions/ast.json b/parser/testdata/02015_executable_user_defined_functions/ast.json deleted file mode 100644 index be87af43a3..0000000000 --- a/parser/testdata/02015_executable_user_defined_functions/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "test_function", - "arguments": [ - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02016_agg_empty_result_bug_28880/ast.json b/parser/testdata/02016_agg_empty_result_bug_28880/ast.json deleted file mode 100644 index 8a82f18847..0000000000 --- a/parser/testdata/02016_agg_empty_result_bug_28880/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "alias": "cnt" - } - ], - "where": { - "type": "Integer", - "value": 0 - }, - "having": { - "left": { - "parts": [ - "cnt" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/02016_aggregation_spark_bar/ast.json b/parser/testdata/02016_aggregation_spark_bar/ast.json deleted file mode 100644 index 0da3f35f5a..0000000000 --- a/parser/testdata/02016_aggregation_spark_bar/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "spark_bar_test", - "tables": [ - { - "table": "spark_bar_test" - } - ] -} diff --git a/parser/testdata/02016_bit_shift_right_for_string_integer/ast.json b/parser/testdata/02016_bit_shift_right_for_string_integer/ast.json deleted file mode 100644 index abe85aed08..0000000000 --- a/parser/testdata/02016_bit_shift_right_for_string_integer/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "String ConstConst" - } - ] - } - ] -} diff --git a/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/ast.json b/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/ast.json deleted file mode 100644 index e0c7c60fe3..0000000000 --- a/parser/testdata/02016_order_by_with_fill_monotonic_functions_removal/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfMinute", - "arguments": [ - { - "parts": [ - "some_time" - ] - } - ], - "alias": "ts" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2021-07-07 15:21:05" - } - ], - "alias": "some_time" - } - ] - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "ts" - ] - }, - "with_fill": true, - "fill_from": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2021-07-07 15:21:00" - } - ] - }, - "fill_to": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2021-07-07 15:21:15" - } - ] - }, - "fill_step": { - "type": "Integer", - "value": 5 - } - } - ] - } - ] -} diff --git a/parser/testdata/02016_summing_mt_aggregating_column/ast.json b/parser/testdata/02016_summing_mt_aggregating_column/ast.json deleted file mode 100644 index e1fcba5b43..0000000000 --- a/parser/testdata/02016_summing_mt_aggregating_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_mt_aggregating_column", - "tables": [ - { - "table": "summing_mt_aggregating_column" - } - ] -} diff --git a/parser/testdata/02017_bit_shift_left_for_string_integer/ast.json b/parser/testdata/02017_bit_shift_left_for_string_integer/ast.json deleted file mode 100644 index abe85aed08..0000000000 --- a/parser/testdata/02017_bit_shift_left_for_string_integer/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "String ConstConst" - } - ] - } - ] -} diff --git a/parser/testdata/02017_columns_with_dot/ast.json b/parser/testdata/02017_columns_with_dot/ast.json deleted file mode 100644 index c27a3d5b6d..0000000000 --- a/parser/testdata/02017_columns_with_dot/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_with_dots", - "tables": [ - { - "table": "t_with_dots" - } - ] -} diff --git a/parser/testdata/02017_columns_with_dot_2/ast.json b/parser/testdata/02017_columns_with_dot_2/ast.json deleted file mode 100644 index 6093e04173..0000000000 --- a/parser/testdata/02017_columns_with_dot_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_nested", - "tables": [ - { - "table": "test_nested" - } - ] -} diff --git a/parser/testdata/02017_create_distributed_table_coredump/ast.json b/parser/testdata/02017_create_distributed_table_coredump/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02017_create_distributed_table_coredump/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02020_cast_integer_overflow/ast.json b/parser/testdata/02020_cast_integer_overflow/ast.json deleted file mode 100644 index 578d46d7d1..0000000000 --- a/parser/testdata/02020_cast_integer_overflow/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "String", - "value": "-2147483648" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02020_exponential_smoothing/ast.json b/parser/testdata/02020_exponential_smoothing/ast.json deleted file mode 100644 index 3d5c5dd149..0000000000 --- a/parser/testdata/02020_exponential_smoothing/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "exponentialMovingAverage" - } - ] - } - ] -} diff --git a/parser/testdata/02021_exponential_sum/ast.json b/parser/testdata/02021_exponential_sum/ast.json deleted file mode 100644 index 9545525bcf..0000000000 --- a/parser/testdata/02021_exponential_sum/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "value", - "query": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - { - "name": "time", - "query": { - "parts": [ - "number" - ] - } - } - ], - "columns": [ - { - "name": "exponentialMovingAverage", - "parameters": [ - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "value" - ] - }, - { - "parts": [ - "time" - ] - } - ], - "alias": "exp_smooth" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02021_exponential_sum_shard/ast.json b/parser/testdata/02021_exponential_sum_shard/ast.json deleted file mode 100644 index a76e9fc564..0000000000 --- a/parser/testdata/02021_exponential_sum_shard/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "value", - "query": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - { - "name": "time", - "query": { - "parts": [ - "number" - ] - } - } - ], - "columns": [ - { - "name": "exponentialMovingAverage", - "parameters": [ - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "value" - ] - }, - { - "parts": [ - "time" - ] - } - ], - "alias": "exp_smooth" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1..10}" - }, - { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02021_h3_get_faces/ast.json b/parser/testdata/02021_h3_get_faces/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02021_h3_get_faces/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02021_h3_is_pentagon/ast.json b/parser/testdata/02021_h3_is_pentagon/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02021_h3_is_pentagon/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02021_h3_is_res_classIII/ast.json b/parser/testdata/02021_h3_is_res_classIII/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02021_h3_is_res_classIII/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02021_map_bloom_filter_index/ast.json b/parser/testdata/02021_map_bloom_filter_index/ast.json deleted file mode 100644 index 7f1fe40eae..0000000000 --- a/parser/testdata/02021_map_bloom_filter_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_test_index_map_keys", - "tables": [ - { - "table": "map_test_index_map_keys" - } - ] -} diff --git a/parser/testdata/02021_map_has/ast.json b/parser/testdata/02021_map_has/ast.json deleted file mode 100644 index 58f0e16bf8..0000000000 --- a/parser/testdata/02021_map_has/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_map", - "tables": [ - { - "table": "test_map" - } - ] -} diff --git a/parser/testdata/02021_prewhere_always_true_where/ast.json b/parser/testdata/02021_prewhere_always_true_where/ast.json deleted file mode 100644 index 6fa6a03633..0000000000 --- a/parser/testdata/02021_prewhere_always_true_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02021", - "tables": [ - { - "table": "data_02021" - } - ] -} diff --git a/parser/testdata/02021_prewhere_column_optimization/ast.json b/parser/testdata/02021_prewhere_column_optimization/ast.json deleted file mode 100644 index 6fa6a03633..0000000000 --- a/parser/testdata/02021_prewhere_column_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02021", - "tables": [ - { - "table": "data_02021" - } - ] -} diff --git a/parser/testdata/02022_array_full_text_bloom_filter_index/ast.json b/parser/testdata/02022_array_full_text_bloom_filter_index/ast.json deleted file mode 100644 index be8f73d0cb..0000000000 --- a/parser/testdata/02022_array_full_text_bloom_filter_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bf_tokenbf_array_test", - "tables": [ - { - "table": "bf_tokenbf_array_test" - } - ] -} diff --git a/parser/testdata/02023_nullable_int_uint_where/ast.json b/parser/testdata/02023_nullable_int_uint_where/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02023_nullable_int_uint_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02023_parser_number_binary_literal/ast.json b/parser/testdata/02023_parser_number_binary_literal/ast.json deleted file mode 100644 index 43cd4f763b..0000000000 --- a/parser/testdata/02023_parser_number_binary_literal/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "number" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02023_transform_or_to_in/ast.json b/parser/testdata/02023_transform_or_to_in/ast.json deleted file mode 100644 index 3aa223c887..0000000000 --- a/parser/testdata/02023_transform_or_to_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_transform_or", - "tables": [ - { - "table": "t_transform_or" - } - ] -} diff --git a/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/ast.json b/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/ast.json deleted file mode 100644 index bc53b15d21..0000000000 --- a/parser/testdata/02024_compile_expressions_with_short_circuit_evaluation/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "parts": [ - "number" - ] - } - }, - "op": "+", - "right": { - "name": "multiIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "==", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "cityHash64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "min_count_to_compile_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02024_create_dictionary_with_comment/ast.json b/parser/testdata/02024_create_dictionary_with_comment/ast.json deleted file mode 100644 index e4f59ac268..0000000000 --- a/parser/testdata/02024_create_dictionary_with_comment/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "source_table", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/02024_merge_regexp_assert/ast.json b/parser/testdata/02024_merge_regexp_assert/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02024_merge_regexp_assert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02025_dictionary_array_nested_map/ast.json b/parser/testdata/02025_dictionary_array_nested_map/ast.json deleted file mode 100644 index f6ad688841..0000000000 --- a/parser/testdata/02025_dictionary_array_nested_map/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "table": "dict_nested_map_test_table", - "columns": [ - { - "name": "test_id", - "type": { - "name": "UInt32" - } - }, - { - "name": "type", - "type": { - "name": "String" - } - }, - { - "name": "test_config", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "String" - }, - { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 28 - }, - { - "type": "Integer", - "value": 12 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "ncp", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "test_id" - ] - } - ] -} diff --git a/parser/testdata/02025_dictionary_view_different_db/ast.json b/parser/testdata/02025_dictionary_view_different_db/ast.json deleted file mode 100644 index 7d0b9fc50a..0000000000 --- a/parser/testdata/02025_dictionary_view_different_db/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_db_2025", - "drop_database": true -} diff --git a/parser/testdata/02025_having_filter_column/ast.json b/parser/testdata/02025_having_filter_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02025_having_filter_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02025_nested_func_for_if_combinator/ast.json b/parser/testdata/02025_nested_func_for_if_combinator/ast.json deleted file mode 100644 index 7b40716297..0000000000 --- a/parser/testdata/02025_nested_func_for_if_combinator/ast.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqCombinedIfMerge", - "arguments": [ - { - "parts": [ - "n" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "uniqCombinedIfState", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "n" - }, - { - "name": "max", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "last" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02025_subcolumns_compact_parts/ast.json b/parser/testdata/02025_subcolumns_compact_parts/ast.json deleted file mode 100644 index 29dfcaaccb..0000000000 --- a/parser/testdata/02025_subcolumns_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_comp_subcolumns", - "tables": [ - { - "table": "t_comp_subcolumns" - } - ] -} diff --git a/parser/testdata/02026_accurate_cast_or_default/ast.json b/parser/testdata/02026_accurate_cast_or_default/ast.json deleted file mode 100644 index ef841bf46a..0000000000 --- a/parser/testdata/02026_accurate_cast_or_default/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "accurateCastOrDefault", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "String", - "value": "UInt8" - } - ] - }, - { - "name": "accurateCastOrDefault", - "arguments": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "String", - "value": "UInt8" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02026_arrayDifference_const/ast.json b/parser/testdata/02026_arrayDifference_const/ast.json deleted file mode 100644 index 4a5e905303..0000000000 --- a/parser/testdata/02026_arrayDifference_const/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "arrayDifference", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02026_describe_include_subcolumns/ast.json b/parser/testdata/02026_describe_include_subcolumns/ast.json deleted file mode 100644 index 49f7ff4b71..0000000000 --- a/parser/testdata/02026_describe_include_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_fallback_to_vertical", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02027_arrayCumSumNonNegative_const/ast.json b/parser/testdata/02027_arrayCumSumNonNegative_const/ast.json deleted file mode 100644 index 7eef100fb1..0000000000 --- a/parser/testdata/02027_arrayCumSumNonNegative_const/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "arrayCumSumNonNegative", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02027_ngrams/ast.json b/parser/testdata/02027_ngrams/ast.json deleted file mode 100644 index 2a2edb0371..0000000000 --- a/parser/testdata/02027_ngrams/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ngrams", - "arguments": [ - { - "type": "String", - "value": "Test" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/ast.json b/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/ast.json deleted file mode 100644 index 8396f31e2c..0000000000 --- a/parser/testdata/02028_add_default_database_for_alterquery_on_cluster/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "if_exists": true, - "database": "02028_db", - "on_cluster": "test_shard_localhost", - "drop_database": true -} diff --git a/parser/testdata/02028_create_select_settings/ast.json b/parser/testdata/02028_create_select_settings/ast.json deleted file mode 100644 index 12647d859e..0000000000 --- a/parser/testdata/02028_create_select_settings/ast.json +++ /dev/null @@ -1,104 +0,0 @@ -{ - "table": "test_table", - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "a_table", - "a" - ] - }, - { - "parts": [ - "b_table", - "b_arr" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - ], - "alias": "a" - } - ] - } - ] - } - }, - "alias": "a_table" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ], - "alias": "b_arr" - } - ] - } - ] - } - }, - "alias": "b_table" - }, - "join": { - "type": "CROSS" - } - } - ] - }, - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } -} diff --git a/parser/testdata/02028_system_data_skipping_indices_size/ast.json b/parser/testdata/02028_system_data_skipping_indices_size/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02028_system_data_skipping_indices_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02028_tokens/ast.json b/parser/testdata/02028_tokens/ast.json deleted file mode 100644 index c643a977fa..0000000000 --- a/parser/testdata/02028_tokens/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tokens", - "arguments": [ - { - "type": "String", - "value": "test" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02029_output_csv_null_representation/ast.json b/parser/testdata/02029_output_csv_null_representation/ast.json deleted file mode 100644 index 4991bdfd17..0000000000 --- a/parser/testdata/02029_output_csv_null_representation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_data", - "tables": [ - { - "table": "test_data" - } - ] -} diff --git a/parser/testdata/02029_quantile_sanitizer/ast.json b/parser/testdata/02029_quantile_sanitizer/ast.json deleted file mode 100644 index a6b7328b95..0000000000 --- a/parser/testdata/02029_quantile_sanitizer/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileTDigestWeighted", - "parameters": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 0 - } - } - ], - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Float", - "value": 10000000000 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02030_function_mapContainsKeyLike/ast.json b/parser/testdata/02030_function_mapContainsKeyLike/ast.json deleted file mode 100644 index 405ab89ac4..0000000000 --- a/parser/testdata/02030_function_mapContainsKeyLike/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_containsKeyLike_test", - "tables": [ - { - "table": "map_containsKeyLike_test" - } - ] -} diff --git a/parser/testdata/02030_tuple_filter/ast.json b/parser/testdata/02030_tuple_filter/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02030_tuple_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02032_short_circuit_least_greatest_bug/ast.json b/parser/testdata/02032_short_circuit_least_greatest_bug/ast.json deleted file mode 100644 index 00c935bbdb..0000000000 --- a/parser/testdata/02032_short_circuit_least_greatest_bug/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "AND", - "right": { - "name": "greatest", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02035_isNull_isNotNull_format/ast.json b/parser/testdata/02035_isNull_isNotNull_format/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02035_isNull_isNotNull_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02036_jit_short_circuit/ast.json b/parser/testdata/02036_jit_short_circuit/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02036_jit_short_circuit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02039_group_by_with_totals_having/ast.json b/parser/testdata/02039_group_by_with_totals_having/ast.json deleted file mode 100644 index 2dd55a43f8..0000000000 --- a/parser/testdata/02039_group_by_with_totals_having/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "having": { - "left": { - "name": "count", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/02041_conversion_between_date32_and_datetime64/ast.json b/parser/testdata/02041_conversion_between_date32_and_datetime64/ast.json deleted file mode 100644 index 790f2d2d2f..0000000000 --- a/parser/testdata/02041_conversion_between_date32_and_datetime64/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate32", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2019-01-01 00:00:00" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "2019-01-01" - } - ] - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "Asia/Istanbul" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02041_openssl_hash_functions_test/ast.json b/parser/testdata/02041_openssl_hash_functions_test/ast.json deleted file mode 100644 index 586143ae26..0000000000 --- a/parser/testdata/02041_openssl_hash_functions_test/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "halfMD5", - "arguments": [ - { - "type": "String", - "value": "test" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02041_test_fuzzy_alter/ast.json b/parser/testdata/02041_test_fuzzy_alter/ast.json deleted file mode 100644 index 05cadc20a5..0000000000 --- a/parser/testdata/02041_test_fuzzy_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_table", - "tables": [ - { - "table": "alter_table" - } - ] -} diff --git a/parser/testdata/02042_map_get_non_const_key/ast.json b/parser/testdata/02042_map_get_non_const_key/ast.json deleted file mode 100644 index 7f6a931bdf..0000000000 --- a/parser/testdata/02042_map_get_non_const_key/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "parts": [ - "map" - ] - }, - "index": { - "parts": [ - "key" - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "key" - } - ], - "alias": "key" - }, - { - "expr": { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "key" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "value" - } - ] - } - ] - }, - "type": { - "name": "Map(String, String)" - } - }, - "alias": "map" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02043_user_defined_executable_function_implicit_cast/ast.json b/parser/testdata/02043_user_defined_executable_function_implicit_cast/ast.json deleted file mode 100644 index f6fb95d622..0000000000 --- a/parser/testdata/02043_user_defined_executable_function_implicit_cast/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "test_function", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02044_exists_operator/ast.json b/parser/testdata/02044_exists_operator/ast.json deleted file mode 100644 index 1ea05894a1..0000000000 --- a/parser/testdata/02044_exists_operator/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02046_remote_table_function_named_collections/ast.json b/parser/testdata/02046_remote_table_function_named_collections/ast.json deleted file mode 100644 index 3fedd761ac..0000000000 --- a/parser/testdata/02046_remote_table_function_named_collections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "remote_test", - "tables": [ - { - "table": "remote_test" - } - ] -} diff --git a/parser/testdata/02047_alias_for_table_and_database_name/ast.json b/parser/testdata/02047_alias_for_table_and_database_name/ast.json deleted file mode 100644 index 42e70da1fe..0000000000 --- a/parser/testdata/02047_alias_for_table_and_database_name/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - }, - { - "parts": [ - "table" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "system" - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "numbers" - } - } - } - } - ] -} diff --git a/parser/testdata/02049_lowcardinality_shortcircuit_crash/ast.json b/parser/testdata/02049_lowcardinality_shortcircuit_crash/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02049_lowcardinality_shortcircuit_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/ast.json b/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/ast.json deleted file mode 100644 index 89c255da12..0000000000 --- a/parser/testdata/02053_INSERT_SELECT_MATERIALIZED/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "table": "data_02053", - "columns": [ - { - "name": "id", - "type": { - "name": "Int64" - } - }, - { - "name": "A", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Int64" - } - ], - "has_parentheses": true - } - }, - { - "name": "X", - "type": { - "name": "Int64" - }, - "default": { - "name": "coalesce", - "arguments": [ - { - "parts": [ - "A" - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/02067_lost_part_s3/ast.json b/parser/testdata/02067_lost_part_s3/ast.json deleted file mode 100644 index c801264391..0000000000 --- a/parser/testdata/02067_lost_part_s3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partslost_0", - "tables": [ - { - "table": "partslost_0" - } - ] -} diff --git a/parser/testdata/02070_join_on_disk/ast.json b/parser/testdata/02070_join_on_disk/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/02070_join_on_disk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02071_lower_upper_utf8_row_overlaps/ast.json b/parser/testdata/02071_lower_upper_utf8_row_overlaps/ast.json deleted file mode 100644 index 76107bd112..0000000000 --- a/parser/testdata/02071_lower_upper_utf8_row_overlaps/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "utf8_overlap", - "tables": [ - { - "table": "utf8_overlap" - } - ] -} diff --git a/parser/testdata/02095_function_get_os_kernel_version/ast.json b/parser/testdata/02095_function_get_os_kernel_version/ast.json deleted file mode 100644 index 53565af5be..0000000000 --- a/parser/testdata/02095_function_get_os_kernel_version/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "version_pair", - "query": { - "name": "splitByChar", - "arguments": [ - { - "type": "String", - "value": " " - }, - { - "name": "getOSKernelVersion" - } - ] - } - } - ], - "columns": [ - { - "array": { - "parts": [ - "version_pair" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02096_date_time_1970_saturation/ast.json b/parser/testdata/02096_date_time_1970_saturation/ast.json deleted file mode 100644 index 8110c2ed8f..0000000000 --- a/parser/testdata/02096_date_time_1970_saturation/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02096_date_time_1970_saturation2/ast.json b/parser/testdata/02096_date_time_1970_saturation2/ast.json deleted file mode 100644 index f7b44b98dc..0000000000 --- a/parser/testdata/02096_date_time_1970_saturation2/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "America/Paramaribo" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02096_join_unusual_identifier_begin/ast.json b/parser/testdata/02096_join_unusual_identifier_begin/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02096_join_unusual_identifier_begin/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02096_rename_atomic_hang/ast.json b/parser/testdata/02096_rename_atomic_hang/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02096_rename_atomic_hang/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02096_sample_by_tuple/ast.json b/parser/testdata/02096_sample_by_tuple/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02096_sample_by_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02096_sql_user_defined_function_alias/ast.json b/parser/testdata/02096_sql_user_defined_function_alias/ast.json deleted file mode 100644 index efff679613..0000000000 --- a/parser/testdata/02096_sql_user_defined_function_alias/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "create_function": true, - "function_name": "02096_test_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } -} diff --git a/parser/testdata/02096_totals_global_in_bug/ast.json b/parser/testdata/02096_totals_global_in_bug/ast.json deleted file mode 100644 index 98fd1b14ad..0000000000 --- a/parser/testdata/02096_totals_global_in_bug/ast.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{2,3}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "number" - ] - }, - "global": true, - "query": { - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true - } - ] - } - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02097_default_dict_get_add_database/ast.json b/parser/testdata/02097_default_dict_get_add_database/ast.json deleted file mode 100644 index b11b2e7130..0000000000 --- a/parser/testdata/02097_default_dict_get_add_database/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "db_02097", - "drop_database": true -} diff --git a/parser/testdata/02097_initializeAggregationNullable/ast.json b/parser/testdata/02097_initializeAggregationNullable/ast.json deleted file mode 100644 index 556aa31331..0000000000 --- a/parser/testdata/02097_initializeAggregationNullable/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "uniqExactState" - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "foo" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02097_polygon_dictionary_store_key/ast.json b/parser/testdata/02097_polygon_dictionary_store_key/ast.json deleted file mode 100644 index ef267a1e8f..0000000000 --- a/parser/testdata/02097_polygon_dictionary_store_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "polygons_test_table", - "tables": [ - { - "table": "polygons_test_table" - } - ] -} diff --git a/parser/testdata/02097_remove_sample_by/ast.json b/parser/testdata/02097_remove_sample_by/ast.json deleted file mode 100644 index 3694e2e874..0000000000 --- a/parser/testdata/02097_remove_sample_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_remove_sample_by", - "tables": [ - { - "table": "t_remove_sample_by" - } - ] -} diff --git a/parser/testdata/02098_date32_comparison/ast.json b/parser/testdata/02098_date32_comparison/ast.json deleted file mode 100644 index 863c0bfdac..0000000000 --- a/parser/testdata/02098_date32_comparison/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1990-02-01" - } - ] - }, - "op": "=", - "right": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "1990-02-01" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02098_sql_user_defined_functions_aliases/ast.json b/parser/testdata/02098_sql_user_defined_functions_aliases/ast.json deleted file mode 100644 index 8f39213bcd..0000000000 --- a/parser/testdata/02098_sql_user_defined_functions_aliases/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "create_function": true, - "function_name": "02098_alias_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "expr": { - "left": { - "parts": [ - "x" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "x_doubled" - }, - "op": "+", - "right": { - "parts": [ - "x_doubled" - ] - } - } - } -} diff --git a/parser/testdata/02099_sql_user_defined_functions_lambda/ast.json b/parser/testdata/02099_sql_user_defined_functions_lambda/ast.json deleted file mode 100644 index 1397bfe3ed..0000000000 --- a/parser/testdata/02099_sql_user_defined_functions_lambda/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "create_function": true, - "function_name": "02099_lambda_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "array_element" - ], - "body": { - "left": { - "parts": [ - "array_element" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - }, - { - "parts": [ - "x" - ] - } - ] - } - } -} diff --git a/parser/testdata/02100_alter_scalar_circular_deadlock/ast.json b/parser/testdata/02100_alter_scalar_circular_deadlock/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02100_alter_scalar_circular_deadlock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02100_limit_push_down_bug/ast.json b/parser/testdata/02100_limit_push_down_bug/ast.json deleted file mode 100644 index b20f764e4a..0000000000 --- a/parser/testdata/02100_limit_push_down_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl_repr", - "tables": [ - { - "table": "tbl_repr" - } - ] -} diff --git a/parser/testdata/02100_now64_types_bug/ast.json b/parser/testdata/02100_now64_types_bug/ast.json deleted file mode 100644 index a8bab4de34..0000000000 --- a/parser/testdata/02100_now64_types_bug/ast.json +++ /dev/null @@ -1,393 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Null", - "value": null - } - }, - "op": "=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 2147483648 - } - } - }, - { - "type": "Null", - "value": null - }, - { - "name": "if", - "arguments": [ - { - "left": { - "name": "toInt64", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "name": "now64", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Null", - "value": null - } - }, - "op": "=", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 2147483648 - } - } - }, - { - "type": "Null", - "value": null - }, - { - "name": "if", - "arguments": [ - { - "left": { - "name": "toInt64", - "arguments": [ - { - "name": "now64", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "name": "now64", - "arguments": [ - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - "op": "=", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Null", - "value": null - } - } - }, - { - "type": "Float", - "value": "NaN" - }, - { - "name": "toFloat64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "name": "now64", - "arguments": [ - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "now64", - "arguments": [ - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "now64", - "arguments": [ - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "name": "now64", - "arguments": [ - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "now64", - "arguments": [ - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "name": "plus", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - "op": "=", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Null", - "value": null - } - } - }, - { - "type": "Float", - "value": "NaN" - }, - { - "name": "toFloat64", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 3 - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - }, - "descending": true, - "nulls_first": false - } - ] - } - ] -} diff --git a/parser/testdata/02100_replaceRegexpAll_bug/ast.json b/parser/testdata/02100_replaceRegexpAll_bug/ast.json deleted file mode 100644 index a63273d620..0000000000 --- a/parser/testdata/02100_replaceRegexpAll_bug/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "type": "String", - "value": "aaaabb " - }, - "op": "==", - "right": { - "name": "trimLeft", - "arguments": [ - { - "type": "String", - "value": "b aaaabb " - }, - { - "type": "String", - "value": "b " - } - ] - } - }, - "alias": "x" - } - ] - } - ] -} diff --git a/parser/testdata/02101_sql_user_defined_functions_create_or_replace/ast.json b/parser/testdata/02101_sql_user_defined_functions_create_or_replace/ast.json deleted file mode 100644 index fd27c09270..0000000000 --- a/parser/testdata/02101_sql_user_defined_functions_create_or_replace/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "or_replace": true, - "create_function": true, - "function_name": "02101_test_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } -} diff --git a/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/ast.json b/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/ast.json deleted file mode 100644 index 7f05de252a..0000000000 --- a/parser/testdata/02101_sql_user_defined_functions_drop_if_exists/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "create_function": true, - "function_name": "02101_test_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } -} diff --git a/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/ast.json b/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/ast.json deleted file mode 100644 index d2c31b4a55..0000000000 --- a/parser/testdata/02102_sql_user_defined_functions_create_if_not_exists/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "if_not_exists": true, - "create_function": true, - "function_name": "02102_test_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } -} diff --git a/parser/testdata/02103_sql_user_defined_functions_composition/ast.json b/parser/testdata/02103_sql_user_defined_functions_composition/ast.json deleted file mode 100644 index 6614bbad12..0000000000 --- a/parser/testdata/02103_sql_user_defined_functions_composition/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "create_function": true, - "function_name": "02103_test_function", - "function_body": { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } -} diff --git a/parser/testdata/02111_function_mapExtractKeyLike/ast.json b/parser/testdata/02111_function_mapExtractKeyLike/ast.json deleted file mode 100644 index ba722b7b9a..0000000000 --- a/parser/testdata/02111_function_mapExtractKeyLike/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_extractKeyLike_test", - "tables": [ - { - "table": "map_extractKeyLike_test" - } - ] -} diff --git a/parser/testdata/02111_global_context_temporary_tables/ast.json b/parser/testdata/02111_global_context_temporary_tables/ast.json deleted file mode 100644 index ccd14e0e28..0000000000 --- a/parser/testdata/02111_global_context_temporary_tables/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - }, - { - "parts": [ - "system", - "one" - ] - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "list": [ - { - "parts": [ - "id" - ] - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02111_json_column_name_encoding/ast.json b/parser/testdata/02111_json_column_name_encoding/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/02111_json_column_name_encoding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02111_modify_table_comment/ast.json b/parser/testdata/02111_modify_table_comment/ast.json deleted file mode 100644 index 05773d16a2..0000000000 --- a/parser/testdata/02111_modify_table_comment/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "02111_modify_table_comment", - "drop_database": true -} diff --git a/parser/testdata/02111_with_fill_no_rows/ast.json b/parser/testdata/02111_with_fill_no_rows/ast.json deleted file mode 100644 index c066b56712..0000000000 --- a/parser/testdata/02111_with_fill_no_rows/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toYear", - "arguments": [ - { - "parts": [ - "d" - ] - } - ], - "alias": "y" - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "today", - "alias": "d" - } - ], - "where": { - "type": "Integer", - "value": 0 - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "y" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "y" - ] - }, - "with_fill": true, - "fill_from": { - "type": "Integer", - "value": 2019 - }, - "fill_to": { - "type": "Integer", - "value": 2023 - } - } - ] - } - ] -} diff --git a/parser/testdata/02112_skip_index_set_and_or/ast.json b/parser/testdata/02112_skip_index_set_and_or/ast.json deleted file mode 100644 index 5b8aaf7357..0000000000 --- a/parser/testdata/02112_skip_index_set_and_or/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set_index", - "tables": [ - { - "table": "set_index" - } - ] -} diff --git a/parser/testdata/02112_with_fill_interval/ast.json b/parser/testdata/02112_with_fill_interval/ast.json deleted file mode 100644 index 85bc2e6f18..0000000000 --- a/parser/testdata/02112_with_fill_interval/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "with_fill_date", - "tables": [ - { - "table": "with_fill_date" - } - ] -} diff --git a/parser/testdata/02113_base64encode_trailing_bytes/ast.json b/parser/testdata/02113_base64encode_trailing_bytes/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/02113_base64encode_trailing_bytes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02113_format_row/ast.json b/parser/testdata/02113_format_row/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/02113_format_row/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02113_format_row_bug/ast.json b/parser/testdata/02113_format_row_bug/ast.json deleted file mode 100644 index 172d53da2a..0000000000 --- a/parser/testdata/02113_format_row_bug/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatRow", - "arguments": [ - { - "type": "String", - "value": "ORC" - }, - { - "parts": [ - "number" - ] - }, - { - "name": "toDate", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02114_bool_type/ast.json b/parser/testdata/02114_bool_type/ast.json deleted file mode 100644 index 98789cb725..0000000000 --- a/parser/testdata/02114_bool_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bool_test", - "tables": [ - { - "table": "bool_test" - } - ] -} diff --git a/parser/testdata/02115_map_contains_analyzer/ast.json b/parser/testdata/02115_map_contains_analyzer/ast.json deleted file mode 100644 index d626484c7a..0000000000 --- a/parser/testdata/02115_map_contains_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_map_contains", - "tables": [ - { - "table": "t_map_contains" - } - ] -} diff --git a/parser/testdata/02115_rewrite_local_join_right_distribute_table/ast.json b/parser/testdata/02115_rewrite_local_join_right_distribute_table/ast.json deleted file mode 100644 index d746b1fbb1..0000000000 --- a/parser/testdata/02115_rewrite_local_join_right_distribute_table/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_02115", - "create_database": true -} diff --git a/parser/testdata/02116_tuple_element_analyzer/ast.json b/parser/testdata/02116_tuple_element_analyzer/ast.json deleted file mode 100644 index d41d18dbac..0000000000 --- a/parser/testdata/02116_tuple_element_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_tuple_element", - "tables": [ - { - "table": "t_tuple_element" - } - ] -} diff --git a/parser/testdata/02123_MySQLWire_regression/ast.json b/parser/testdata/02123_MySQLWire_regression/ast.json deleted file mode 100644 index 294e53c008..0000000000 --- a/parser/testdata/02123_MySQLWire_regression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_MySQLWire", - "tables": [ - { - "table": "table_MySQLWire" - } - ] -} diff --git a/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/ast.json b/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/ast.json deleted file mode 100644 index 0984b1b711..0000000000 --- a/parser/testdata/02124_clickhouse_dictionary_with_predefined_configuration/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict", - "tables": [ - { - "table": "dict" - } - ] -} diff --git a/parser/testdata/02124_comparison_betwwen_decimal_and_float/ast.json b/parser/testdata/02124_comparison_betwwen_decimal_and_float/ast.json deleted file mode 100644 index c4a341b83a..0000000000 --- a/parser/testdata/02124_comparison_betwwen_decimal_and_float/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "expr": { - "type": "Float", - "value": 1 - }, - "type": { - "name": "Decimal(15,2)" - } - }, - "op": "\u003e", - "right": { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "Float64" - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02124_encrypt_decrypt_nullable/ast.json b/parser/testdata/02124_encrypt_decrypt_nullable/ast.json deleted file mode 100644 index b2f617a567..0000000000 --- a/parser/testdata/02124_encrypt_decrypt_nullable/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "aes_encrypt_mysql" - } - ] - } - ] -} diff --git a/parser/testdata/02124_insert_deduplication_token/ast.json b/parser/testdata/02124_insert_deduplication_token/ast.json deleted file mode 100644 index 22a7abba83..0000000000 --- a/parser/testdata/02124_insert_deduplication_token/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "insert_dedup_token", - "tables": [ - { - "table": "insert_dedup_token" - } - ], - "sync": true -} diff --git a/parser/testdata/02124_insert_deduplication_token_materialized_views/ast.json b/parser/testdata/02124_insert_deduplication_token_materialized_views/ast.json deleted file mode 100644 index dc0aeb9393..0000000000 --- a/parser/testdata/02124_insert_deduplication_token_materialized_views/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "deduplicate_blocks_in_dependent_materialized_views=0, insert_deduplication_token = no, results: test_mv_a and test_mv_c have all data, test_mv_b has data obly with max_partitions_per_insert_block=0" - } - ] - } - ] -} diff --git a/parser/testdata/02124_insert_deduplication_token_replica/ast.json b/parser/testdata/02124_insert_deduplication_token_replica/ast.json deleted file mode 100644 index eb0f8b2dcd..0000000000 --- a/parser/testdata/02124_insert_deduplication_token_replica/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "insert_dedup_token1", - "tables": [ - { - "table": "insert_dedup_token1" - } - ], - "sync": true -} diff --git a/parser/testdata/02124_uncompressed_cache/ast.json b/parser/testdata/02124_uncompressed_cache/ast.json deleted file mode 100644 index 69dab67039..0000000000 --- a/parser/testdata/02124_uncompressed_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_uncompressed_cache", - "tables": [ - { - "table": "t_uncompressed_cache" - } - ] -} diff --git a/parser/testdata/02125_constant_if_condition_and_not_existing_column/ast.json b/parser/testdata/02125_constant_if_condition_and_not_existing_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02125_constant_if_condition_and_not_existing_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02125_dict_get_type_nullable_fix/ast.json b/parser/testdata/02125_dict_get_type_nullable_fix/ast.json deleted file mode 100644 index 01ae3d68a7..0000000000 --- a/parser/testdata/02125_dict_get_type_nullable_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02125_test_table", - "tables": [ - { - "table": "02125_test_table" - } - ] -} diff --git a/parser/testdata/02125_fix_storage_filelog/ast.json b/parser/testdata/02125_fix_storage_filelog/ast.json deleted file mode 100644 index f3c4bda5dc..0000000000 --- a/parser/testdata/02125_fix_storage_filelog/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table": "log", - "columns": [ - { - "name": "A", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "FileLog", - "parameters": [ - { - "type": "String", - "value": "/tmp/aaa.csv" - }, - { - "type": "String", - "value": "CSV" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02125_low_cardinality_int256/ast.json b/parser/testdata/02125_low_cardinality_int256/ast.json deleted file mode 100644 index 9fbe6717aa..0000000000 --- a/parser/testdata/02125_low_cardinality_int256/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toInt256", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02125_query_views_log/ast.json b/parser/testdata/02125_query_views_log/ast.json deleted file mode 100644 index a805056b35..0000000000 --- a/parser/testdata/02125_query_views_log/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_single_large_number_tip_threshold", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02125_recursive_sql_user_defined_functions/ast.json b/parser/testdata/02125_recursive_sql_user_defined_functions/ast.json deleted file mode 100644 index ec29938858..0000000000 --- a/parser/testdata/02125_recursive_sql_user_defined_functions/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "02125_function" -} diff --git a/parser/testdata/02125_transform_decimal_bug/ast.json b/parser/testdata/02125_transform_decimal_bug/ast.json deleted file mode 100644 index c56ac7ad48..0000000000 --- a/parser/testdata/02125_transform_decimal_bug/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02126_identity_user_defined_function/ast.json b/parser/testdata/02126_identity_user_defined_function/ast.json deleted file mode 100644 index 96798350a2..0000000000 --- a/parser/testdata/02126_identity_user_defined_function/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "02126_function" -} diff --git a/parser/testdata/02126_lc_window_functions/ast.json b/parser/testdata/02126_lc_window_functions/ast.json deleted file mode 100644 index 6a41f8e5c6..0000000000 --- a/parser/testdata/02126_lc_window_functions/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "max", - "arguments": [ - { - "parts": [ - "id" - ] - } - ], - "over": {}, - "alias": "aid" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "aaaa" - } - ] - } - ], - "alias": "id" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 1000000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02127_storage_join_settings_with_persistency/ast.json b/parser/testdata/02127_storage_join_settings_with_persistency/ast.json deleted file mode 100644 index e2b251e719..0000000000 --- a/parser/testdata/02127_storage_join_settings_with_persistency/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02127_join_settings_with_persistency_1", - "tables": [ - { - "table": "02127_join_settings_with_persistency_1" - } - ] -} diff --git a/parser/testdata/02128_cast_nullable/ast.json b/parser/testdata/02128_cast_nullable/ast.json deleted file mode 100644 index d305cc4f68..0000000000 --- a/parser/testdata/02128_cast_nullable/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt32OrDefault", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "name": "toUInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ], - "settings": [ - { - "name": "cast_keep_nullable", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02128_hex_bin_on_uuid/ast.json b/parser/testdata/02128_hex_bin_on_uuid/ast.json deleted file mode 100644 index 5246178a49..0000000000 --- a/parser/testdata/02128_hex_bin_on_uuid/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "hex", - "arguments": [ - { - "name": "generateUUIDv4" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02129_add_column_add_ttl/ast.json b/parser/testdata/02129_add_column_add_ttl/ast.json deleted file mode 100644 index 5203904244..0000000000 --- a/parser/testdata/02129_add_column_add_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_test_02129", - "tables": [ - { - "table": "ttl_test_02129" - } - ] -} diff --git a/parser/testdata/02129_window_functions_disable_optimizations/ast.json b/parser/testdata/02129_window_functions_disable_optimizations/ast.json deleted file mode 100644 index b2c9ecb93a..0000000000 --- a/parser/testdata/02129_window_functions_disable_optimizations/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_rewrite_sum_if_to_count_if", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02131_materialize_column_cast/ast.json b/parser/testdata/02131_materialize_column_cast/ast.json deleted file mode 100644 index 1181a4fbb4..0000000000 --- a/parser/testdata/02131_materialize_column_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_materialize_column", - "tables": [ - { - "table": "t_materialize_column" - } - ] -} diff --git a/parser/testdata/02131_mv_many_chunks_bug/ast.json b/parser/testdata/02131_mv_many_chunks_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02131_mv_many_chunks_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02131_remove_columns_in_subquery/ast.json b/parser/testdata/02131_remove_columns_in_subquery/ast.json deleted file mode 100644 index ceb6ff9434..0000000000 --- a/parser/testdata/02131_remove_columns_in_subquery/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "name": "count", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02131_row_policies_combination/ast.json b/parser/testdata/02131_row_policies_combination/ast.json deleted file mode 100644 index 21f640aad3..0000000000 --- a/parser/testdata/02131_row_policies_combination/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02131_rptable", - "tables": [ - { - "table": "02131_rptable" - } - ] -} diff --git a/parser/testdata/02131_skip_index_not_materialized/ast.json b/parser/testdata/02131_skip_index_not_materialized/ast.json deleted file mode 100644 index 2cc43d66d6..0000000000 --- a/parser/testdata/02131_skip_index_not_materialized/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_non_materialized", - "tables": [ - { - "table": "t_index_non_materialized" - } - ] -} diff --git a/parser/testdata/02131_used_row_policies_in_query_log/ast.json b/parser/testdata/02131_used_row_policies_in_query_log/ast.json deleted file mode 100644 index c8630c1bf9..0000000000 --- a/parser/testdata/02131_used_row_policies_in_query_log/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02131_rqtable", - "tables": [ - { - "table": "02131_rqtable" - } - ] -} diff --git a/parser/testdata/02132_empty_mutation_livelock/ast.json b/parser/testdata/02132_empty_mutation_livelock/ast.json deleted file mode 100644 index dc86c712ba..0000000000 --- a/parser/testdata/02132_empty_mutation_livelock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a8x", - "tables": [ - { - "table": "a8x" - } - ] -} diff --git a/parser/testdata/02133_classification/ast.json b/parser/testdata/02133_classification/ast.json deleted file mode 100644 index d6eb296192..0000000000 --- a/parser/testdata/02133_classification/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_nlp_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02133_distributed_queries_formatting/ast.json b/parser/testdata/02133_distributed_queries_formatting/ast.json deleted file mode 100644 index 2c056b0a42..0000000000 --- a/parser/testdata/02133_distributed_queries_formatting/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "cluster", - "arguments": [ - { - "parts": [ - "test_cluster_two_shards" - ] - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "Hello" - }, - "alias": "all" - }, - { - "expr": { - "type": "String", - "value": "World" - }, - "alias": "distinct" - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/ast.json b/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/ast.json deleted file mode 100644 index 17ca215b0e..0000000000 --- a/parser/testdata/02133_final_prewhere_where_lowcardinality_replacing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "errors_local", - "tables": [ - { - "table": "errors_local" - } - ] -} diff --git a/parser/testdata/02133_issue_32458/ast.json b/parser/testdata/02133_issue_32458/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02133_issue_32458/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02137_mv_into_join/ast.json b/parser/testdata/02137_mv_into_join/ast.json deleted file mode 100644 index 0f29e2dd72..0000000000 --- a/parser/testdata/02137_mv_into_join/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "table": "main", - "columns": [ - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "color", - "type": { - "name": "String" - } - }, - { - "name": "section", - "type": { - "name": "String" - } - }, - { - "name": "description", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02139_MV_with_scalar_subquery/ast.json b/parser/testdata/02139_MV_with_scalar_subquery/ast.json deleted file mode 100644 index c412daf920..0000000000 --- a/parser/testdata/02139_MV_with_scalar_subquery/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "source", - "columns": [ - { - "name": "a", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02144_avg_ubsan/ast.json b/parser/testdata/02144_avg_ubsan/ast.json deleted file mode 100644 index c5feca777f..0000000000 --- a/parser/testdata/02144_avg_ubsan/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "avg", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 8000000000000000000 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {}, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 65535 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02146_mv_non_phys/ast.json b/parser/testdata/02146_mv_non_phys/ast.json deleted file mode 100644 index a329adbc09..0000000000 --- a/parser/testdata/02146_mv_non_phys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv_02146", - "tables": [ - { - "table": "mv_02146" - } - ] -} diff --git a/parser/testdata/02148_issue_32737/ast.json b/parser/testdata/02148_issue_32737/ast.json deleted file mode 100644 index 8e80144951..0000000000 --- a/parser/testdata/02148_issue_32737/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fuzzBits", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 200 - } - ] - }, - { - "type": "Float", - "value": 0.99 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02148_sql_user_defined_function_subquery/ast.json b/parser/testdata/02148_sql_user_defined_function_subquery/ast.json deleted file mode 100644 index 4605842724..0000000000 --- a/parser/testdata/02148_sql_user_defined_function_subquery/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "02148_test_function" -} diff --git a/parser/testdata/02149_issue_32487/ast.json b/parser/testdata/02149_issue_32487/ast.json deleted file mode 100644 index 43c6f7b78b..0000000000 --- a/parser/testdata/02149_issue_32487/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "topKWeightedState", - "parameters": [ - { - "type": "Integer", - "value": 2 - } - ], - "arguments": [ - { - "name": "now" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02149_read_in_order_fixed_prefix/ast.json b/parser/testdata/02149_read_in_order_fixed_prefix/ast.json deleted file mode 100644 index 25f6700092..0000000000 --- a/parser/testdata/02149_read_in_order_fixed_prefix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02150_replace_regexp_all_empty_match/ast.json b/parser/testdata/02150_replace_regexp_all_empty_match/ast.json deleted file mode 100644 index 3aeaad154b..0000000000 --- a/parser/testdata/02150_replace_regexp_all_empty_match/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "replaceRegexpAll", - "arguments": [ - { - "type": "String", - "value": "Hello, World!" - }, - { - "type": "String", - "value": "^" - }, - { - "type": "String", - "value": "here: " - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02151_lc_prefetch/ast.json b/parser/testdata/02151_lc_prefetch/ast.json deleted file mode 100644 index 614472d3e5..0000000000 --- a/parser/testdata/02151_lc_prefetch/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_lc", - "tables": [ - { - "table": "tab_lc" - } - ] -} diff --git a/parser/testdata/02151_replace_regexp_all_empty_match_alternative/ast.json b/parser/testdata/02151_replace_regexp_all_empty_match_alternative/ast.json deleted file mode 100644 index 57f07cb943..0000000000 --- a/parser/testdata/02151_replace_regexp_all_empty_match_alternative/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "replaceRegexpAll", - "arguments": [ - { - "type": "String", - "value": ",,1,," - }, - { - "type": "String", - "value": "^[,]*|[,]*$" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02152_bool_type/ast.json b/parser/testdata/02152_bool_type/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/02152_bool_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02152_count_distinct_optimization/ast.json b/parser/testdata/02152_count_distinct_optimization/ast.json deleted file mode 100644 index 557a1c753c..0000000000 --- a/parser/testdata/02152_count_distinct_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_02152", - "tables": [ - { - "table": "table_02152" - } - ] -} diff --git a/parser/testdata/02152_csv_tuple/ast.json b/parser/testdata/02152_csv_tuple/ast.json deleted file mode 100644 index 7d81b3ac06..0000000000 --- a/parser/testdata/02152_csv_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02152", - "tables": [ - { - "table": "test_02152" - } - ] -} diff --git a/parser/testdata/02152_dictionary_date32_type/ast.json b/parser/testdata/02152_dictionary_date32_type/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02152_dictionary_date32_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02152_short_circuit_throw_if/ast.json b/parser/testdata/02152_short_circuit_throw_if/ast.json deleted file mode 100644 index fbbe2db490..0000000000 --- a/parser/testdata/02152_short_circuit_throw_if/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - }, - { - "name": "throwIf", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Executing FALSE branch" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02154_bit_slice_for_fixedstring/ast.json b/parser/testdata/02154_bit_slice_for_fixedstring/ast.json deleted file mode 100644 index 584f0687c5..0000000000 --- a/parser/testdata/02154_bit_slice_for_fixedstring/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Const Offset" - } - ] - } - ] -} diff --git a/parser/testdata/02154_bit_slice_for_string/ast.json b/parser/testdata/02154_bit_slice_for_string/ast.json deleted file mode 100644 index 584f0687c5..0000000000 --- a/parser/testdata/02154_bit_slice_for_string/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Const Offset" - } - ] - } - ] -} diff --git a/parser/testdata/02154_bitmap_contains/ast.json b/parser/testdata/02154_bitmap_contains/ast.json deleted file mode 100644 index 9366c1076a..0000000000 --- a/parser/testdata/02154_bitmap_contains/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitmapContains", - "arguments": [ - { - "name": "bitmapBuild", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 9 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 964291337 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02154_default_keyword_insert/ast.json b/parser/testdata/02154_default_keyword_insert/ast.json deleted file mode 100644 index 4b793471ed..0000000000 --- a/parser/testdata/02154_default_keyword_insert/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "if_not_exists": true, - "temporary": true, - "table": "default_table", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - }, - { - "name": "y", - "type": { - "name": "UInt32" - }, - "default": { - "type": "Integer", - "value": 42 - }, - "default_kind": "DEFAULT" - }, - { - "name": "z", - "type": { - "name": "UInt32" - }, - "default": { - "type": "Integer", - "value": 33 - }, - "default_kind": "DEFAULT" - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02155_binary_op_between_float_and_decimal/ast.json b/parser/testdata/02155_binary_op_between_float_and_decimal/ast.json deleted file mode 100644 index cc1c9e95a2..0000000000 --- a/parser/testdata/02155_binary_op_between_float_and_decimal/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "expr": { - "type": "Float", - "value": 1.5 - }, - "type": { - "name": "Decimal32", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "op": "+", - "right": { - "type": "Float", - "value": 1.5 - } - } - ] - } - ] -} diff --git a/parser/testdata/02155_dictionary_comment/ast.json b/parser/testdata/02155_dictionary_comment/ast.json deleted file mode 100644 index 32c294f350..0000000000 --- a/parser/testdata/02155_dictionary_comment/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02155_test_table", - "tables": [ - { - "table": "02155_test_table" - } - ] -} diff --git a/parser/testdata/02155_h3_to_center_child/ast.json b/parser/testdata/02155_h3_to_center_child/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02155_h3_to_center_child/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/ast.json b/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02155_multiple_inserts_for_formats_with_suffix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02155_nested_lc_defalut_bug/ast.json b/parser/testdata/02155_nested_lc_defalut_bug/ast.json deleted file mode 100644 index b6c833a814..0000000000 --- a/parser/testdata/02155_nested_lc_defalut_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_test", - "tables": [ - { - "table": "nested_test" - } - ] -} diff --git a/parser/testdata/02155_parse_date_lowcard_default_throw/ast.json b/parser/testdata/02155_parse_date_lowcard_default_throw/ast.json deleted file mode 100644 index a592a0cc3b..0000000000 --- a/parser/testdata/02155_parse_date_lowcard_default_throw/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "15-JUL-16" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02155_read_in_order_max_rows_to_read/ast.json b/parser/testdata/02155_read_in_order_max_rows_to_read/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02155_read_in_order_max_rows_to_read/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02156_storage_merge_prewhere/ast.json b/parser/testdata/02156_storage_merge_prewhere/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/02156_storage_merge_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02156_storage_merge_prewhere_2/ast.json b/parser/testdata/02156_storage_merge_prewhere_2/ast.json deleted file mode 100644 index 072dd1037c..0000000000 --- a/parser/testdata/02156_storage_merge_prewhere_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02156_ololo_1", - "tables": [ - { - "table": "t_02156_ololo_1" - } - ] -} diff --git a/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/ast.json b/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/ast.json deleted file mode 100644 index c8b14dd335..0000000000 --- a/parser/testdata/02156_storage_merge_prewhere_not_ready_set_bug/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "merge_kek_1", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - }, - { - "name": "y", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/02157_line_as_string_output_format/ast.json b/parser/testdata/02157_line_as_string_output_format/ast.json deleted file mode 100644 index 9c1e1cf46f..0000000000 --- a/parser/testdata/02157_line_as_string_output_format/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Hello \\ World" - } - ], - "format": { - "parts": [ - "LineAsString" - ] - } - } - ] -} diff --git a/parser/testdata/02158_contingency/ast.json b/parser/testdata/02158_contingency/ast.json deleted file mode 100644 index 1773abadf9..0000000000 --- a/parser/testdata/02158_contingency/ast.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "cramersV", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "name": "cramersVBiasCorrected", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "name": "theilsU", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "name": "theilsU", - "arguments": [ - { - "parts": [ - "b" - ] - }, - { - "parts": [ - "a" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "round", - "arguments": [ - { - "name": "contingency", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - "alias": "a" - }, - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - }, - "alias": "b" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 150 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02158_proportions_ztest/ast.json b/parser/testdata/02158_proportions_ztest/ast.json deleted file mode 100644 index 4ae705d4e8..0000000000 --- a/parser/testdata/02158_proportions_ztest/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "proportionsZTest", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 11 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 101 - }, - { - "type": "Float", - "value": 0.95 - }, - { - "type": "String", - "value": "unpooled" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02158_ztest/ast.json b/parser/testdata/02158_ztest/ast.json deleted file mode 100644 index f41c2b98e1..0000000000 --- a/parser/testdata/02158_ztest/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mean_ztest", - "tables": [ - { - "table": "mean_ztest" - } - ] -} diff --git a/parser/testdata/02159_left_right/ast.json b/parser/testdata/02159_left_right/ast.json deleted file mode 100644 index 827bff3c6d..0000000000 --- a/parser/testdata/02159_left_right/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "left", - "arguments": [ - { - "type": "String", - "value": "Hello" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02160_h3_cell_area_m2/ast.json b/parser/testdata/02160_h3_cell_area_m2/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02160_h3_cell_area_m2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02160_h3_cell_area_rads2/ast.json b/parser/testdata/02160_h3_cell_area_rads2/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02160_h3_cell_area_rads2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02160_h3_hex_area_Km2/ast.json b/parser/testdata/02160_h3_hex_area_Km2/ast.json deleted file mode 100644 index 38746d7fc8..0000000000 --- a/parser/testdata/02160_h3_hex_area_Km2/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3HexAreaKm2", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02160_special_functions/ast.json b/parser/testdata/02160_special_functions/ast.json deleted file mode 100644 index 08e7aa221e..0000000000 --- a/parser/testdata/02160_special_functions/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "UInt8" - } - } - ] - } - ] -} diff --git a/parser/testdata/02161_addressToLineWithInlines/ast.json b/parser/testdata/02161_addressToLineWithInlines/ast.json deleted file mode 100644 index 00582b6cc7..0000000000 --- a/parser/testdata/02161_addressToLineWithInlines/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02161_array_first_last/ast.json b/parser/testdata/02161_array_first_last/ast.json deleted file mode 100644 index 5615b8d732..0000000000 --- a/parser/testdata/02161_array_first_last/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "ArrayFirst constant predicate" - } - ] - } - ] -} diff --git a/parser/testdata/02162_array_first_last_index/ast.json b/parser/testdata/02162_array_first_last_index/ast.json deleted file mode 100644 index 2c39993b21..0000000000 --- a/parser/testdata/02162_array_first_last_index/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "ArrayFirstIndex constant predicate" - } - ] - } - ] -} diff --git a/parser/testdata/02162_range_hashed_dictionary_ddl_expression/ast.json b/parser/testdata/02162_range_hashed_dictionary_ddl_expression/ast.json deleted file mode 100644 index 6eae008203..0000000000 --- a/parser/testdata/02162_range_hashed_dictionary_ddl_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02162_test_table", - "tables": [ - { - "table": "02162_test_table" - } - ] -} diff --git a/parser/testdata/02163_shard_num/ast.json b/parser/testdata/02163_shard_num/ast.json deleted file mode 100644 index 1aaf0a4e33..0000000000 --- a/parser/testdata/02163_shard_num/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "shardNum", - "alias": "shard_num" - }, - { - "name": "sum", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "rows" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,2}" - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "_shard_num" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "_shard_num" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02164_materialized_view_support_virtual_column/ast.json b/parser/testdata/02164_materialized_view_support_virtual_column/ast.json deleted file mode 100644 index e6da8884d6..0000000000 --- a/parser/testdata/02164_materialized_view_support_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tb", - "tables": [ - { - "table": "test_tb" - } - ] -} diff --git a/parser/testdata/02165_h3_edge_length_km/ast.json b/parser/testdata/02165_h3_edge_length_km/ast.json deleted file mode 100644 index 824c3e3968..0000000000 --- a/parser/testdata/02165_h3_edge_length_km/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3EdgeLengthKm", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02165_h3_exact_edge_length_Km/ast.json b/parser/testdata/02165_h3_exact_edge_length_Km/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02165_h3_exact_edge_length_Km/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02165_h3_exact_edge_length_m/ast.json b/parser/testdata/02165_h3_exact_edge_length_m/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02165_h3_exact_edge_length_m/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02165_h3_exact_edge_length_rads/ast.json b/parser/testdata/02165_h3_exact_edge_length_rads/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02165_h3_exact_edge_length_rads/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02165_h3_num_hexagons/ast.json b/parser/testdata/02165_h3_num_hexagons/ast.json deleted file mode 100644 index 83e3612488..0000000000 --- a/parser/testdata/02165_h3_num_hexagons/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3NumHexagons", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02167_columns_with_dots_default_values/ast.json b/parser/testdata/02167_columns_with_dots_default_values/ast.json deleted file mode 100644 index 644e7322a1..0000000000 --- a/parser/testdata/02167_columns_with_dots_default_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_nested_default", - "tables": [ - { - "table": "test_nested_default" - } - ] -} diff --git a/parser/testdata/02168_avro_bug/ast.json b/parser/testdata/02168_avro_bug/ast.json deleted file mode 100644 index 10787a81ed..0000000000 --- a/parser/testdata/02168_avro_bug/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "02168_avro_bug.avro" - }, - { - "type": "String", - "value": "Parquet" - }, - { - "type": "String", - "value": "x UInt64" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02169_fix_view_offset_limit_setting/ast.json b/parser/testdata/02169_fix_view_offset_limit_setting/ast.json deleted file mode 100644 index a4c6a7ab20..0000000000 --- a/parser/testdata/02169_fix_view_offset_limit_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "counter", - "tables": [ - { - "table": "counter" - } - ] -} diff --git a/parser/testdata/02169_map_functions/ast.json b/parser/testdata/02169_map_functions/ast.json deleted file mode 100644 index a0169426a5..0000000000 --- a/parser/testdata/02169_map_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_map", - "tables": [ - { - "table": "table_map" - } - ] -} diff --git a/parser/testdata/02174_cte_scalar_cache/ast.json b/parser/testdata/02174_cte_scalar_cache/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02174_cte_scalar_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02174_cte_scalar_cache_mv/ast.json b/parser/testdata/02174_cte_scalar_cache_mv/ast.json deleted file mode 100644 index a074a42da1..0000000000 --- a/parser/testdata/02174_cte_scalar_cache_mv/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "i", - "type": { - "name": "Int64" - } - }, - { - "name": "j", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02175_distributed_join_current_database/ast.json b/parser/testdata/02175_distributed_join_current_database/ast.json deleted file mode 100644 index 350ec76668..0000000000 --- a/parser/testdata/02175_distributed_join_current_database/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_02175", - "tables": [ - { - "table": "local_02175" - } - ] -} diff --git a/parser/testdata/02176_dict_get_has_implicit_key_cast/ast.json b/parser/testdata/02176_dict_get_has_implicit_key_cast/ast.json deleted file mode 100644 index 0cbf36eb19..0000000000 --- a/parser/testdata/02176_dict_get_has_implicit_key_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02176_test_simple_key_table", - "tables": [ - { - "table": "02176_test_simple_key_table" - } - ] -} diff --git a/parser/testdata/02176_optimize_aggregation_in_order_empty/ast.json b/parser/testdata/02176_optimize_aggregation_in_order_empty/ast.json deleted file mode 100644 index 4422205a39..0000000000 --- a/parser/testdata/02176_optimize_aggregation_in_order_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02176", - "tables": [ - { - "table": "data_02176" - } - ] -} diff --git a/parser/testdata/02176_toStartOfWeek_overflow_pruning/ast.json b/parser/testdata/02176_toStartOfWeek_overflow_pruning/ast.json deleted file mode 100644 index 41b6cc3928..0000000000 --- a/parser/testdata/02176_toStartOfWeek_overflow_pruning/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfWeek", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "1970-01-01 00:00:00" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02177_issue_31009/ast.json b/parser/testdata/02177_issue_31009/ast.json deleted file mode 100644 index 25f6700092..0000000000 --- a/parser/testdata/02177_issue_31009/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02177_merge_optimize_aggregation_in_order/ast.json b/parser/testdata/02177_merge_optimize_aggregation_in_order/ast.json deleted file mode 100644 index 51f0dbe7f1..0000000000 --- a/parser/testdata/02177_merge_optimize_aggregation_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02177", - "tables": [ - { - "table": "data_02177" - } - ] -} diff --git a/parser/testdata/02177_sum_if_not_found/ast.json b/parser/testdata/02177_sum_if_not_found/ast.json deleted file mode 100644 index 40b2c3dd1f..0000000000 --- a/parser/testdata/02177_sum_if_not_found/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumIf", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02178_column_function_insert_from/ast.json b/parser/testdata/02178_column_function_insert_from/ast.json deleted file mode 100644 index e64983bd1f..0000000000 --- a/parser/testdata/02178_column_function_insert_from/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "TESTTABLE", - "tables": [ - { - "table": "TESTTABLE" - } - ] -} diff --git a/parser/testdata/02179_bool_type/ast.json b/parser/testdata/02179_bool_type/ast.json deleted file mode 100644 index d8c6fdfbf2..0000000000 --- a/parser/testdata/02179_bool_type/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "type": "Boolean", - "value": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02179_degrees_radians/ast.json b/parser/testdata/02179_degrees_radians/ast.json deleted file mode 100644 index 5c28490730..0000000000 --- a/parser/testdata/02179_degrees_radians/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_degs_to_rads", - "tables": [ - { - "table": "test_degs_to_rads" - } - ] -} diff --git a/parser/testdata/02179_key_condition_no_common_type/ast.json b/parser/testdata/02179_key_condition_no_common_type/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02179_key_condition_no_common_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/ast.json b/parser/testdata/02179_range_hashed_dictionary_invalid_interval/ast.json deleted file mode 100644 index d83824e238..0000000000 --- a/parser/testdata/02179_range_hashed_dictionary_invalid_interval/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02179_test_table", - "tables": [ - { - "table": "02179_test_table" - } - ] -} diff --git a/parser/testdata/02179_sparse_columns_detach/ast.json b/parser/testdata/02179_sparse_columns_detach/ast.json deleted file mode 100644 index 8b9f2c69bf..0000000000 --- a/parser/testdata/02179_sparse_columns_detach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_detach", - "tables": [ - { - "table": "t_sparse_detach" - } - ] -} diff --git a/parser/testdata/02180_insert_into_values_settings/ast.json b/parser/testdata/02180_insert_into_values_settings/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02180_insert_into_values_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02181_dictionary_attach_detach/ast.json b/parser/testdata/02181_dictionary_attach_detach/ast.json deleted file mode 100644 index 0d686f8896..0000000000 --- a/parser/testdata/02181_dictionary_attach_detach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02181_test_table", - "tables": [ - { - "table": "02181_test_table" - } - ] -} diff --git a/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/ast.json b/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/ast.json deleted file mode 100644 index 129396c555..0000000000 --- a/parser/testdata/02181_sql_user_defined_functions_invalid_lambda/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "create_function": true, - "function_name": "02181_invalid_lambda", - "function_body": { - "name": "lambda", - "arguments": [ - { - "left": { - "expr": { - "left": { - "parts": [ - "x" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "x_doubled" - }, - "op": "+", - "right": { - "parts": [ - "x_doubled" - ] - } - } - ] - } -} diff --git a/parser/testdata/02183_array_tuple_literals_remote/ast.json b/parser/testdata/02183_array_tuple_literals_remote/ast.json deleted file mode 100644 index aa577a8687..0000000000 --- a/parser/testdata/02183_array_tuple_literals_remote/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "any", - "arguments": [ - { - "name": "array", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02183_combinator_if/ast.json b/parser/testdata/02183_combinator_if/ast.json deleted file mode 100644 index a8bf80828f..0000000000 --- a/parser/testdata/02183_combinator_if/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "anyIf", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "Hello" - } - ] - }, - { - "left": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02183_dictionary_date_types/ast.json b/parser/testdata/02183_dictionary_date_types/ast.json deleted file mode 100644 index 55ab86ef99..0000000000 --- a/parser/testdata/02183_dictionary_date_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02183_dictionary_source_table", - "tables": [ - { - "table": "02183_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02183_dictionary_no_attributes/ast.json b/parser/testdata/02183_dictionary_no_attributes/ast.json deleted file mode 100644 index 8fe709fbd5..0000000000 --- a/parser/testdata/02183_dictionary_no_attributes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02183_dictionary_test_table", - "tables": [ - { - "table": "02183_dictionary_test_table" - } - ] -} diff --git a/parser/testdata/02184_default_table_engine/ast.json b/parser/testdata/02184_default_table_engine/ast.json deleted file mode 100644 index 8bd3a046da..0000000000 --- a/parser/testdata/02184_default_table_engine/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "create_table_empty_primary_key_by_default", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02184_hash_functions_and_ip_types/ast.json b/parser/testdata/02184_hash_functions_and_ip_types/ast.json deleted file mode 100644 index a805056b35..0000000000 --- a/parser/testdata/02184_hash_functions_and_ip_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_single_large_number_tip_threshold", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02184_ipv6_cast_test/ast.json b/parser/testdata/02184_ipv6_cast_test/ast.json deleted file mode 100644 index ed2a1f12b5..0000000000 --- a/parser/testdata/02184_ipv6_cast_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ipv6_test26473", - "tables": [ - { - "table": "ipv6_test26473" - } - ] -} diff --git a/parser/testdata/02184_ipv6_select_parsing/ast.json b/parser/testdata/02184_ipv6_select_parsing/ast.json deleted file mode 100644 index 38d6350788..0000000000 --- a/parser/testdata/02184_ipv6_select_parsing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ips_v6", - "tables": [ - { - "table": "ips_v6" - } - ] -} diff --git a/parser/testdata/02184_nested_tuple/ast.json b/parser/testdata/02184_nested_tuple/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02184_nested_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02184_range_hashed_dictionary_outside_range_values/ast.json b/parser/testdata/02184_range_hashed_dictionary_outside_range_values/ast.json deleted file mode 100644 index b65b3b2ec4..0000000000 --- a/parser/testdata/02184_range_hashed_dictionary_outside_range_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02184_range_dictionary_source_table", - "tables": [ - { - "table": "02184_range_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02184_storage_add_support_ttl/ast.json b/parser/testdata/02184_storage_add_support_ttl/ast.json deleted file mode 100644 index 6a03464b48..0000000000 --- a/parser/testdata/02184_storage_add_support_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mergeTree_02184", - "tables": [ - { - "table": "mergeTree_02184" - } - ] -} diff --git a/parser/testdata/02185_arraySlice_negative_offset_size/ast.json b/parser/testdata/02185_arraySlice_negative_offset_size/ast.json deleted file mode 100644 index 4748d9d767..0000000000 --- a/parser/testdata/02185_arraySlice_negative_offset_size/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arraySlice", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 8 - } - ] - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02185_range_hashed_dictionary_open_ranges/ast.json b/parser/testdata/02185_range_hashed_dictionary_open_ranges/ast.json deleted file mode 100644 index 0bc3d35c2b..0000000000 --- a/parser/testdata/02185_range_hashed_dictionary_open_ranges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02185_range_dictionary_source_table", - "tables": [ - { - "table": "02185_range_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02185_split_by_char/ast.json b/parser/testdata/02185_split_by_char/ast.json deleted file mode 100644 index 97f7a8fe0b..0000000000 --- a/parser/testdata/02185_split_by_char/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "splitByChar", - "arguments": [ - { - "type": "String", - "value": "," - }, - { - "type": "String", - "value": "1,2,3" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/ast.json b/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/ast.json deleted file mode 100644 index 284c6aa527..0000000000 --- a/parser/testdata/02186_range_hashed_dictionary_intersecting_intervals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02186_range_dictionary_source_table", - "tables": [ - { - "table": "02186_range_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02187_insert_values_with_mv/ast.json b/parser/testdata/02187_insert_values_with_mv/ast.json deleted file mode 100644 index a53d7e33a7..0000000000 --- a/parser/testdata/02187_insert_values_with_mv/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_not_exists": true, - "table": "data_a_02187", - "columns": [ - { - "name": "a", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02187_test_final_and_limit_modifier/ast.json b/parser/testdata/02187_test_final_and_limit_modifier/ast.json deleted file mode 100644 index c4c7bdaf1e..0000000000 --- a/parser/testdata/02187_test_final_and_limit_modifier/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02187", - "tables": [ - { - "table": "test_02187" - } - ] -} diff --git a/parser/testdata/02188_parser_dictionary_primary_key/ast.json b/parser/testdata/02188_parser_dictionary_primary_key/ast.json deleted file mode 100644 index aaf434dc7d..0000000000 --- a/parser/testdata/02188_parser_dictionary_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02188_test_dictionary_source", - "tables": [ - { - "table": "02188_test_dictionary_source" - } - ] -} diff --git a/parser/testdata/02190_current_metrics_query/ast.json b/parser/testdata/02190_current_metrics_query/ast.json deleted file mode 100644 index 054476d950..0000000000 --- a/parser/testdata/02190_current_metrics_query/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "value" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "metrics" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "metric" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Query" - } - } - } - ] -} diff --git a/parser/testdata/02191_nested_with_dots/ast.json b/parser/testdata/02191_nested_with_dots/ast.json deleted file mode 100644 index 89d4076916..0000000000 --- a/parser/testdata/02191_nested_with_dots/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_nested_with_dots", - "tables": [ - { - "table": "t_nested_with_dots" - } - ] -} diff --git a/parser/testdata/02191_parse_date_time_best_effort_more_cases/ast.json b/parser/testdata/02191_parse_date_time_best_effort_more_cases/ast.json deleted file mode 100644 index 4b39f2e5b5..0000000000 --- a/parser/testdata/02191_parse_date_time_best_effort_more_cases/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "type": "String", - "value": "20220101-010203" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02193_async_insert_tcp_client_1/ast.json b/parser/testdata/02193_async_insert_tcp_client_1/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/02193_async_insert_tcp_client_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02205_ephemeral_1/ast.json b/parser/testdata/02205_ephemeral_1/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02205_ephemeral_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02205_map_populate_series_non_const/ast.json b/parser/testdata/02205_map_populate_series_non_const/ast.json deleted file mode 100644 index 46933766f2..0000000000 --- a/parser/testdata/02205_map_populate_series_non_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02005_test_table", - "tables": [ - { - "table": "02005_test_table" - } - ] -} diff --git a/parser/testdata/02205_postgresql_functions/ast.json b/parser/testdata/02205_postgresql_functions/ast.json deleted file mode 100644 index 253ad9b3d4..0000000000 --- a/parser/testdata/02205_postgresql_functions/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "a key=\"v\" " - }, - { - "type": "String", - "value": "key=\"(.*?)\"" - } - ] - }, - { - "name": "REGEXP_MATCHES", - "arguments": [ - { - "type": "String", - "value": "a key=\"v\" " - }, - { - "type": "String", - "value": "key=\"(.*?)\"" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02206_array_starts_ends_with/ast.json b/parser/testdata/02206_array_starts_ends_with/ast.json deleted file mode 100644 index 760128921e..0000000000 --- a/parser/testdata/02206_array_starts_ends_with/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "startsWith", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02206_minimum_sample_size/ast.json b/parser/testdata/02206_minimum_sample_size/ast.json deleted file mode 100644 index 2a8c3cafbf..0000000000 --- a/parser/testdata/02206_minimum_sample_size/ast.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "res", - "query": { - "name": "minSampleSizeContinous", - "arguments": [ - { - "type": "Integer", - "value": 20 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Float", - "value": 0.05 - }, - { - "type": "Float", - "value": 0.8 - }, - { - "type": "Float", - "value": 0.05 - } - ] - } - } - ], - "columns": [ - { - "type": "String", - "value": "continous const 1" - }, - { - "name": "roundBankers", - "arguments": [ - { - "tuple": { - "parts": [ - "res" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "roundBankers", - "arguments": [ - { - "tuple": { - "parts": [ - "res" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "roundBankers", - "arguments": [ - { - "tuple": { - "parts": [ - "res" - ] - }, - "index": { - "type": "Integer", - "value": 3 - } - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02207_key_condition_floats/ast.json b/parser/testdata/02207_key_condition_floats/ast.json deleted file mode 100644 index 08c74aaecd..0000000000 --- a/parser/testdata/02207_key_condition_floats/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_key_condition_float", - "tables": [ - { - "table": "t_key_condition_float" - } - ] -} diff --git a/parser/testdata/02207_subseconds_intervals/ast.json b/parser/testdata/02207_subseconds_intervals/ast.json deleted file mode 100644 index 4ed3aedb17..0000000000 --- a/parser/testdata/02207_subseconds_intervals/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "test intervals" - } - ] - } - ] -} diff --git a/parser/testdata/02207_ttl_move_if_exists/ast.json b/parser/testdata/02207_ttl_move_if_exists/ast.json deleted file mode 100644 index 13d8622d33..0000000000 --- a/parser/testdata/02207_ttl_move_if_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_ttl_move_if_exists", - "tables": [ - { - "table": "t_ttl_move_if_exists" - } - ] -} diff --git a/parser/testdata/02209_short_circuit_node_without_parents/ast.json b/parser/testdata/02209_short_circuit_node_without_parents/ast.json deleted file mode 100644 index 8ac3fcb44f..0000000000 --- a/parser/testdata/02209_short_circuit_node_without_parents/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "name": "empty", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02210_append_to_dev_dull/ast.json b/parser/testdata/02210_append_to_dev_dull/ast.json deleted file mode 100644 index cb4714cffc..0000000000 --- a/parser/testdata/02210_append_to_dev_dull/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "/dev/null" - }, - { - "type": "String", - "value": "Parquet" - }, - { - "type": "String", - "value": "number UInt64" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02210_processors_profile_log/ast.json b/parser/testdata/02210_processors_profile_log/ast.json deleted file mode 100644 index 4f6a980654..0000000000 --- a/parser/testdata/02210_processors_profile_log/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "explain_type": "PIPELINE", - "statement": { - "selects": [ - { - "columns": [ - { - "name": "sleep", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } -} diff --git a/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/ast.json b/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/ast.json deleted file mode 100644 index b46c00c27f..0000000000 --- a/parser/testdata/02210_toColumnTypeName_toLowCardinality_const/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toColumnTypeName", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02211_jsonl_format_extension/ast.json b/parser/testdata/02211_jsonl_format_extension/ast.json deleted file mode 100644 index 647117b723..0000000000 --- a/parser/testdata/02211_jsonl_format_extension/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "data.jsonl" - }, - { - "type": "String", - "value": "JSONEachRow" - }, - { - "type": "String", - "value": "x UInt32" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02212_cte_and_table_alias/ast.json b/parser/testdata/02212_cte_and_table_alias/ast.json deleted file mode 100644 index 73b8d35028..0000000000 --- a/parser/testdata/02212_cte_and_table_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_global_with_statement", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02212_h3_get_pentagon_indexes/ast.json b/parser/testdata/02212_h3_get_pentagon_indexes/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/02212_h3_get_pentagon_indexes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/02212_h3_get_res0_indexes/ast.json b/parser/testdata/02212_h3_get_res0_indexes/ast.json deleted file mode 100644 index 9a211b7b5b..0000000000 --- a/parser/testdata/02212_h3_get_res0_indexes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3GetRes0Indexes" - } - ] - } - ] -} diff --git a/parser/testdata/02212_h3_point_dist/ast.json b/parser/testdata/02212_h3_point_dist/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/02212_h3_point_dist/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/02220_array_join_format/ast.json b/parser/testdata/02220_array_join_format/ast.json deleted file mode 100644 index ca0b845a13..0000000000 --- a/parser/testdata/02220_array_join_format/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 10 - } - ], - "alias": "range_" - }, - { - "parts": [ - "point_" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "parts": [ - "range_" - ], - "alias": "point_" - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/ast.json b/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/ast.json deleted file mode 100644 index b90bb423c0..0000000000 --- a/parser/testdata/02222_allow_experimental_projection_optimization__enable_global_with_statement/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02222", - "tables": [ - { - "table": "data_02222" - } - ] -} diff --git a/parser/testdata/02223_h3_test_const_columns/ast.json b/parser/testdata/02223_h3_test_const_columns/ast.json deleted file mode 100644 index fa0b374d10..0000000000 --- a/parser/testdata/02223_h3_test_const_columns/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "geoToH3", - "arguments": [ - { - "name": "toFloat64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toFloat64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02223_insert_select_schema_inference/ast.json b/parser/testdata/02223_insert_select_schema_inference/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02223_insert_select_schema_inference/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02224_parallel_distributed_insert_select_cluster/ast.json b/parser/testdata/02224_parallel_distributed_insert_select_cluster/ast.json deleted file mode 100644 index b51f75428a..0000000000 --- a/parser/testdata/02224_parallel_distributed_insert_select_cluster/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dst_02224", - "tables": [ - { - "table": "dst_02224" - } - ] -} diff --git a/parser/testdata/02224_s2_test_const_columns/ast.json b/parser/testdata/02224_s2_test_const_columns/ast.json deleted file mode 100644 index 1b4a70d559..0000000000 --- a/parser/testdata/02224_s2_test_const_columns/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "geoToS2", - "arguments": [ - { - "type": "Float", - "value": 37.79506683 - }, - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 55.71290588 - }, - { - "type": "Float", - "value": 37.79506683 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02226_analyzer_or_like_combine/ast.json b/parser/testdata/02226_analyzer_or_like_combine/ast.json deleted file mode 100644 index 9308dc7d03..0000000000 --- a/parser/testdata/02226_analyzer_or_like_combine/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "allow_hyperscan", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_hyperscan_regexp_length", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_hyperscan_regexp_total_length", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02226_async_insert_table_function/ast.json b/parser/testdata/02226_async_insert_table_function/ast.json deleted file mode 100644 index 367b6a5b46..0000000000 --- a/parser/testdata/02226_async_insert_table_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_async_insert_table_function", - "tables": [ - { - "table": "t_async_insert_table_function" - } - ] -} diff --git a/parser/testdata/02226_in_untuple_issue_34810/ast.json b/parser/testdata/02226_in_untuple_issue_34810/ast.json deleted file mode 100644 index 115e0d88f9..0000000000 --- a/parser/testdata/02226_in_untuple_issue_34810/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "calendar", - "tables": [ - { - "table": "calendar" - } - ] -} diff --git a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/ast.json b/parser/testdata/02226_low_cardinality_text_bloom_filter_index/ast.json deleted file mode 100644 index f05e89909b..0000000000 --- a/parser/testdata/02226_low_cardinality_text_bloom_filter_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bf_tokenbf_lowcard_test", - "tables": [ - { - "table": "bf_tokenbf_lowcard_test" - } - ] -} diff --git a/parser/testdata/02227_union_match_by_name/ast.json b/parser/testdata/02227_union_match_by_name/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02227_union_match_by_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02228_merge_tree_insert_memory_usage/ast.json b/parser/testdata/02228_merge_tree_insert_memory_usage/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/02228_merge_tree_insert_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02230_create_table_as_ignore_ttl/ast.json b/parser/testdata/02230_create_table_as_ignore_ttl/ast.json deleted file mode 100644 index dcb7a24d09..0000000000 --- a/parser/testdata/02230_create_table_as_ignore_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02230_ttl", - "tables": [ - { - "table": "data_02230_ttl" - } - ] -} diff --git a/parser/testdata/02231_bloom_filter_sizing/ast.json b/parser/testdata/02231_bloom_filter_sizing/ast.json deleted file mode 100644 index ff4122bcf5..0000000000 --- a/parser/testdata/02231_bloom_filter_sizing/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Bloom filter on sort key" - } - ] - } - ] -} diff --git a/parser/testdata/02231_buffer_aggregate_states_leak/ast.json b/parser/testdata/02231_buffer_aggregate_states_leak/ast.json deleted file mode 100644 index ba1e00ae78..0000000000 --- a/parser/testdata/02231_buffer_aggregate_states_leak/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "buffer_02231", - "tables": [ - { - "table": "buffer_02231" - } - ] -} diff --git a/parser/testdata/02231_hierarchical_dictionaries_constant/ast.json b/parser/testdata/02231_hierarchical_dictionaries_constant/ast.json deleted file mode 100644 index 65fe336542..0000000000 --- a/parser/testdata/02231_hierarchical_dictionaries_constant/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hierarchy_source_table", - "tables": [ - { - "table": "hierarchy_source_table" - } - ] -} diff --git a/parser/testdata/02232_functions_to_subcolumns_alias/ast.json b/parser/testdata/02232_functions_to_subcolumns_alias/ast.json deleted file mode 100644 index baad2393de..0000000000 --- a/parser/testdata/02232_functions_to_subcolumns_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_functions_to_subcolumns_alias", - "tables": [ - { - "table": "t_functions_to_subcolumns_alias" - } - ] -} diff --git a/parser/testdata/02232_partition_pruner_mixed_constant_type/ast.json b/parser/testdata/02232_partition_pruner_mixed_constant_type/ast.json deleted file mode 100644 index b211dfff47..0000000000 --- a/parser/testdata/02232_partition_pruner_mixed_constant_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "broken", - "tables": [ - { - "table": "broken" - } - ] -} diff --git a/parser/testdata/02232_partition_pruner_single_point/ast.json b/parser/testdata/02232_partition_pruner_single_point/ast.json deleted file mode 100644 index 4345ad112e..0000000000 --- a/parser/testdata/02232_partition_pruner_single_point/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lower_test", - "tables": [ - { - "table": "lower_test" - } - ] -} diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix/ast.json b/parser/testdata/02233_optimize_aggregation_in_order_prefix/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02233_optimize_aggregation_in_order_prefix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/ast.json b/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/ast.json deleted file mode 100644 index b67903486e..0000000000 --- a/parser/testdata/02233_optimize_aggregation_in_order_prefix_with_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02233", - "tables": [ - { - "table": "data_02233" - } - ] -} diff --git a/parser/testdata/02233_set_enable_with_statement_cte_perf/ast.json b/parser/testdata/02233_set_enable_with_statement_cte_perf/ast.json deleted file mode 100644 index 71b1a52dd6..0000000000 --- a/parser/testdata/02233_set_enable_with_statement_cte_perf/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ev", - "tables": [ - { - "table": "ev" - } - ] -} diff --git a/parser/testdata/02233_with_total_empty_chunk/ast.json b/parser/testdata/02233_with_total_empty_chunk/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02233_with_total_empty_chunk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02234_cast_to_ip_address/ast.json b/parser/testdata/02234_cast_to_ip_address/ast.json deleted file mode 100644 index b82a70df75..0000000000 --- a/parser/testdata/02234_cast_to_ip_address/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "IPv4 functions" - } - ] - } - ] -} diff --git a/parser/testdata/02234_column_function_short_circuit/ast.json b/parser/testdata/02234_column_function_short_circuit/ast.json deleted file mode 100644 index 6de10424b8..0000000000 --- a/parser/testdata/02234_column_function_short_circuit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_table", - "tables": [ - { - "table": "dict_table" - } - ] -} diff --git a/parser/testdata/02235_add_part_offset_virtual_column/ast.json b/parser/testdata/02235_add_part_offset_virtual_column/ast.json deleted file mode 100644 index 119fff4640..0000000000 --- a/parser/testdata/02235_add_part_offset_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_1", - "tables": [ - { - "table": "t_1" - } - ] -} diff --git a/parser/testdata/02235_check_table_sparse_serialization/ast.json b/parser/testdata/02235_check_table_sparse_serialization/ast.json deleted file mode 100644 index 4e4da2b875..0000000000 --- a/parser/testdata/02235_check_table_sparse_serialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_02235", - "tables": [ - { - "table": "t_sparse_02235" - } - ] -} diff --git a/parser/testdata/02236_explain_pipeline_join/ast.json b/parser/testdata/02236_explain_pipeline_join/ast.json deleted file mode 100644 index 6b49942a87..0000000000 --- a/parser/testdata/02236_explain_pipeline_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_join_swap_table", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/02236_json_each_row_empty_map_schema_inference/ast.json b/parser/testdata/02236_json_each_row_empty_map_schema_inference/ast.json deleted file mode 100644 index bfb9156238..0000000000 --- a/parser/testdata/02236_json_each_row_empty_map_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_named_tuples_from_objects", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02240_asof_join_biginteger/ast.json b/parser/testdata/02240_asof_join_biginteger/ast.json deleted file mode 100644 index d0ce1adf99..0000000000 --- a/parser/testdata/02240_asof_join_biginteger/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "k" - }, - { - "name": "toInt128", - "arguments": [ - { - "type": "String", - "value": "18446744073709551617" - } - ], - "alias": "v" - } - ] - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "k" - }, - { - "name": "toInt128", - "arguments": [ - { - "type": "String", - "value": "18446744073709551616" - } - ], - "alias": "v" - } - ] - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "strictness": "ASOF", - "using": [ - { - "parts": [ - "k" - ] - }, - { - "parts": [ - "v" - ] - } - ] - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/ast.json b/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/ast.json deleted file mode 100644 index 4442e8566b..0000000000 --- a/parser/testdata/02240_filesystem_cache_bypass_cache_threshold/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP FILESYSTEM CACHE" -} diff --git a/parser/testdata/02240_filesystem_query_cache/ast.json b/parser/testdata/02240_filesystem_query_cache/ast.json deleted file mode 100644 index 4442e8566b..0000000000 --- a/parser/testdata/02240_filesystem_query_cache/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP FILESYSTEM CACHE" -} diff --git a/parser/testdata/02240_get_type_serialization_streams/ast.json b/parser/testdata/02240_get_type_serialization_streams/ast.json deleted file mode 100644 index bce012d27d..0000000000 --- a/parser/testdata/02240_get_type_serialization_streams/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "getTypeSerializationStreams", - "arguments": [ - { - "type": "String", - "value": "Array(Int8)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02241_array_first_last_or_null/ast.json b/parser/testdata/02241_array_first_last_or_null/ast.json deleted file mode 100644 index 5615b8d732..0000000000 --- a/parser/testdata/02241_array_first_last_or_null/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "ArrayFirst constant predicate" - } - ] - } - ] -} diff --git a/parser/testdata/02242_if_then_else_null_bug/ast.json b/parser/testdata/02242_if_then_else_null_bug/ast.json deleted file mode 100644 index 3d675e44b6..0000000000 --- a/parser/testdata/02242_if_then_else_null_bug/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(Int64)" - } - }, - { - "name": "materialize", - "arguments": [ - { - "name": "toInt32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02242_join_rocksdb/ast.json b/parser/testdata/02242_join_rocksdb/ast.json deleted file mode 100644 index 9396556435..0000000000 --- a/parser/testdata/02242_join_rocksdb/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rdb", - "tables": [ - { - "table": "rdb" - } - ] -} diff --git a/parser/testdata/02242_make_date/ast.json b/parser/testdata/02242_make_date/ast.json deleted file mode 100644 index 7598e0c947..0000000000 --- a/parser/testdata/02242_make_date/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "makeDate", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 24 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02242_make_date_mysql/ast.json b/parser/testdata/02242_make_date_mysql/ast.json deleted file mode 100644 index 371964ae17..0000000000 --- a/parser/testdata/02242_make_date_mysql/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "makeDate", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02242_negative_datetime64/ast.json b/parser/testdata/02242_negative_datetime64/ast.json deleted file mode 100644 index 10e11e92ae..0000000000 --- a/parser/testdata/02242_negative_datetime64/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1965-12-12 12:12:12.123" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - "type": { - "name": "Decimal64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - } - ] - } - ] -} diff --git a/parser/testdata/02242_optimize_to_subcolumns_no_storage/ast.json b/parser/testdata/02242_optimize_to_subcolumns_no_storage/ast.json deleted file mode 100644 index 5db256c789..0000000000 --- a/parser/testdata/02242_optimize_to_subcolumns_no_storage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_functions_to_subcolumns", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02242_subcolumns_sizes/ast.json b/parser/testdata/02242_subcolumns_sizes/ast.json deleted file mode 100644 index a9a1c89d35..0000000000 --- a/parser/testdata/02242_subcolumns_sizes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_subcolumns_sizes", - "tables": [ - { - "table": "t_subcolumns_sizes" - } - ] -} diff --git a/parser/testdata/02242_throw_if_constant_argument/ast.json b/parser/testdata/02242_throw_if_constant_argument/ast.json deleted file mode 100644 index 91ec7a484b..0000000000 --- a/parser/testdata/02242_throw_if_constant_argument/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "throwIf", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "AND", - "right": { - "type": "Integer", - "value": 2147483646 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02243_in_ip_address/ast.json b/parser/testdata/02243_in_ip_address/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02243_in_ip_address/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02243_ipv6_long_parsing/ast.json b/parser/testdata/02243_ipv6_long_parsing/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02243_ipv6_long_parsing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02243_make_date32/ast.json b/parser/testdata/02243_make_date32/ast.json deleted file mode 100644 index 9e825da795..0000000000 --- a/parser/testdata/02243_make_date32/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "makeDate32", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 24 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02243_make_date32_mysql/ast.json b/parser/testdata/02243_make_date32_mysql/ast.json deleted file mode 100644 index 35bf70c0c8..0000000000 --- a/parser/testdata/02243_make_date32_mysql/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "makeDate32", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02244_casewithexpression_return_type/ast.json b/parser/testdata/02244_casewithexpression_return_type/ast.json deleted file mode 100644 index b12b3751c5..0000000000 --- a/parser/testdata/02244_casewithexpression_return_type/ast.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "operand": { - "parts": [ - "number" - ] - }, - "whens": [ - { - "condition": { - "type": "Integer", - "value": 3 - }, - "result": { - "type": "Integer", - "value": 55 - } - }, - { - "condition": { - "type": "Integer", - "value": 6 - }, - "result": { - "type": "Integer", - "value": 77 - } - }, - { - "condition": { - "type": "Integer", - "value": 9 - }, - "result": { - "type": "Integer", - "value": 95 - } - } - ], - "else": { - "whens": [ - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "result": { - "type": "Integer", - "value": 10 - } - }, - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 10 - } - }, - "result": { - "type": "Integer", - "value": 100 - } - } - ], - "else": { - "type": "Integer", - "value": 555555 - } - }, - "alias": "LONG_COL_0", - "quoted_alias": true - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/02244_column_names_in_shcmea_inference/ast.json b/parser/testdata/02244_column_names_in_shcmea_inference/ast.json deleted file mode 100644 index 6dd29b540a..0000000000 --- a/parser/testdata/02244_column_names_in_shcmea_inference/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_test_02244" - } - }, - { - "type": "String", - "value": "TSV" - }, - { - "type": "String", - "value": "x String, y UInt32" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Hello, world!" - }, - { - "type": "Integer", - "value": 42 - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02244_ip_address_invalid_insert/ast.json b/parser/testdata/02244_ip_address_invalid_insert/ast.json deleted file mode 100644 index d62fd8141e..0000000000 --- a/parser/testdata/02244_ip_address_invalid_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_ipv4", - "tables": [ - { - "table": "test_table_ipv4" - } - ] -} diff --git a/parser/testdata/02244_lowcardinality_hash_join/ast.json b/parser/testdata/02244_lowcardinality_hash_join/ast.json deleted file mode 100644 index 8ce7063f98..0000000000 --- a/parser/testdata/02244_lowcardinality_hash_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_table", - "tables": [ - { - "table": "lc_table" - } - ] -} diff --git a/parser/testdata/02244_make_datetime/ast.json b/parser/testdata/02244_make_datetime/ast.json deleted file mode 100644 index ecf3ecfe94..0000000000 --- a/parser/testdata/02244_make_datetime/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "makeDateTime", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 24 - }, - { - "type": "Integer", - "value": 21 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02244_url_engine_headers_test/ast.json b/parser/testdata/02244_url_engine_headers_test/ast.json deleted file mode 100644 index 58703aa85c..0000000000 --- a/parser/testdata/02244_url_engine_headers_test/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "parts": [ - "url_with_headers" - ] - }, - { - "left": { - "parts": [ - "url" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "http://127.0.0.1:8123?query=select+12" - } - }, - { - "left": { - "parts": [ - "format" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "RawBLOB" - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02245_format_string_stack_overflow/ast.json b/parser/testdata/02245_format_string_stack_overflow/ast.json deleted file mode 100644 index 46b405c1e3..0000000000 --- a/parser/testdata/02245_format_string_stack_overflow/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "format", - "arguments": [ - { - "type": "String", - "value": "{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}{0}" - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "str" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02245_join_with_nullable_lowcardinality_crash/ast.json b/parser/testdata/02245_join_with_nullable_lowcardinality_crash/ast.json deleted file mode 100644 index 529e91d47b..0000000000 --- a/parser/testdata/02245_join_with_nullable_lowcardinality_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "with_nullable", - "tables": [ - { - "table": "with_nullable" - } - ] -} diff --git a/parser/testdata/02245_make_datetime64/ast.json b/parser/testdata/02245_make_datetime64/ast.json deleted file mode 100644 index ce5b8c4434..0000000000 --- a/parser/testdata/02245_make_datetime64/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "makeDateTime64", - "arguments": [ - { - "type": "Integer", - "value": 1991 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 24 - }, - { - "type": "Integer", - "value": 21 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02245_s3_support_read_nested_column/ast.json b/parser/testdata/02245_s3_support_read_nested_column/ast.json deleted file mode 100644 index b6e50b2185..0000000000 --- a/parser/testdata/02245_s3_support_read_nested_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02245_s3_nested_parquet1", - "tables": [ - { - "table": "test_02245_s3_nested_parquet1" - } - ] -} diff --git a/parser/testdata/02245_s3_virtual_columns/ast.json b/parser/testdata/02245_s3_virtual_columns/ast.json deleted file mode 100644 index a848f75aec..0000000000 --- a/parser/testdata/02245_s3_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02245", - "tables": [ - { - "table": "test_02245" - } - ] -} diff --git a/parser/testdata/02245_weird_partitions_pruning/ast.json b/parser/testdata/02245_weird_partitions_pruning/ast.json deleted file mode 100644 index 4371fa52e2..0000000000 --- a/parser/testdata/02245_weird_partitions_pruning/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "weird_partitions_02245", - "tables": [ - { - "table": "weird_partitions_02245" - } - ] -} diff --git a/parser/testdata/02246_flatten_tuple/ast.json b/parser/testdata/02246_flatten_tuple/ast.json deleted file mode 100644 index 5808e373a0..0000000000 --- a/parser/testdata/02246_flatten_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_flatten_tuple", - "tables": [ - { - "table": "t_flatten_tuple" - } - ] -} diff --git a/parser/testdata/02247_fix_extract_parser/ast.json b/parser/testdata/02247_fix_extract_parser/ast.json deleted file mode 100644 index 2f72ec1e2b..0000000000 --- a/parser/testdata/02247_fix_extract_parser/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "year", - "query": { - "type": "String", - "value": "number: 1" - } - } - ], - "columns": [ - { - "name": "extract", - "arguments": [ - { - "parts": [ - "year" - ] - }, - { - "type": "String", - "value": "\\d+" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02248_nullable_custom_types_to_string/ast.json b/parser/testdata/02248_nullable_custom_types_to_string/ast.json deleted file mode 100644 index 34f9e88411..0000000000 --- a/parser/testdata/02248_nullable_custom_types_to_string/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Boolean", - "value": true - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02249_insert_select_from_input_schema_inference/ast.json b/parser/testdata/02249_insert_select_from_input_schema_inference/ast.json deleted file mode 100644 index a3499455bf..0000000000 --- a/parser/testdata/02249_insert_select_from_input_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_structure_from_insertion_table_in_table_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02249_parse_date_time_basic/ast.json b/parser/testdata/02249_parse_date_time_basic/ast.json deleted file mode 100644 index a16c8310e4..0000000000 --- a/parser/testdata/02249_parse_date_time_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "date_time_output_format", - "value": { - "type": "String", - "value": "iso" - } - } - ] -} diff --git a/parser/testdata/02250_insert_select_from_file_schema_inference/ast.json b/parser/testdata/02250_insert_select_from_file_schema_inference/ast.json deleted file mode 100644 index a3499455bf..0000000000 --- a/parser/testdata/02250_insert_select_from_file_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_structure_from_insertion_table_in_table_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02251_alter_enum_nested_struct/ast.json b/parser/testdata/02251_alter_enum_nested_struct/ast.json deleted file mode 100644 index 550180da78..0000000000 --- a/parser/testdata/02251_alter_enum_nested_struct/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_enum_array", - "tables": [ - { - "table": "alter_enum_array" - } - ] -} diff --git a/parser/testdata/02252_executable_user_defined_function_short_circuit/ast.json b/parser/testdata/02252_executable_user_defined_function_short_circuit/ast.json deleted file mode 100644 index b08b3a7e08..0000000000 --- a/parser/testdata/02252_executable_user_defined_function_short_circuit/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 15 - } - }, - "op": "AND", - "right": { - "left": { - "name": "test_function", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - }, - "op": "==", - "right": { - "type": "Integer", - "value": 4 - } - } - } - } - ] -} diff --git a/parser/testdata/02252_jit_profile_events/ast.json b/parser/testdata/02252_jit_profile_events/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02252_jit_profile_events/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02252_reset_non_existing_setting/ast.json b/parser/testdata/02252_reset_non_existing_setting/ast.json deleted file mode 100644 index e2e7619a65..0000000000 --- a/parser/testdata/02252_reset_non_existing_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "most_ordinary_mt", - "tables": [ - { - "table": "most_ordinary_mt" - } - ] -} diff --git a/parser/testdata/02265_column_ttl/ast.json b/parser/testdata/02265_column_ttl/ast.json deleted file mode 100644 index d6c50bcba2..0000000000 --- a/parser/testdata/02265_column_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_02265", - "tables": [ - { - "table": "ttl_02265" - } - ] -} diff --git a/parser/testdata/02265_per_table_ttl_mutation_on_change/ast.json b/parser/testdata/02265_per_table_ttl_mutation_on_change/ast.json deleted file mode 100644 index 3bf9de4fd0..0000000000 --- a/parser/testdata/02265_per_table_ttl_mutation_on_change/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "per_table_ttl_02265", - "tables": [ - { - "table": "per_table_ttl_02265" - } - ] -} diff --git a/parser/testdata/02265_rename_join_ordinary_to_atomic/ast.json b/parser/testdata/02265_rename_join_ordinary_to_atomic/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02265_rename_join_ordinary_to_atomic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02266_auto_add_nullable/ast.json b/parser/testdata/02266_auto_add_nullable/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02266_auto_add_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02267_empty_arrays_read_reverse/ast.json b/parser/testdata/02267_empty_arrays_read_reverse/ast.json deleted file mode 100644 index 8a473d16f7..0000000000 --- a/parser/testdata/02267_empty_arrays_read_reverse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02267", - "tables": [ - { - "table": "t_02267" - } - ] -} diff --git a/parser/testdata/02267_insert_empty_data/ast.json b/parser/testdata/02267_insert_empty_data/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02267_insert_empty_data/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02267_jsonlines_ndjson_format/ast.json b/parser/testdata/02267_jsonlines_ndjson_format/ast.json deleted file mode 100644 index 3eba7a1ff2..0000000000 --- a/parser/testdata/02267_jsonlines_ndjson_format/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "JSONLines" - ] - } - } - ] -} diff --git a/parser/testdata/02267_special_operator_parse_alias_check/ast.json b/parser/testdata/02267_special_operator_parse_alias_check/ast.json deleted file mode 100644 index 08bd20c3b5..0000000000 --- a/parser/testdata/02267_special_operator_parse_alias_check/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "1234" - }, - "type": { - "name": "UInt32" - } - } - ] - } - ] -} diff --git a/parser/testdata/02267_type_inference_for_insert_into_function_null/ast.json b/parser/testdata/02267_type_inference_for_insert_into_function_null/ast.json deleted file mode 100644 index a7bf89e742..0000000000 --- a/parser/testdata/02267_type_inference_for_insert_into_function_null/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "function": { - "name": "null" - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } -} diff --git a/parser/testdata/02268_json_wrong_root_type_in_schema_inference/ast.json b/parser/testdata/02268_json_wrong_root_type_in_schema_inference/ast.json deleted file mode 100644 index 5b5a75507a..0000000000 --- a/parser/testdata/02268_json_wrong_root_type_in_schema_inference/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_02268_data.jsonl" - } - }, - { - "type": "String", - "value": "TSV" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } -} diff --git a/parser/testdata/02269_insert_select_with_format_without_schema_inference/ast.json b/parser/testdata/02269_insert_select_with_format_without_schema_inference/ast.json deleted file mode 100644 index 26035093f8..0000000000 --- a/parser/testdata/02269_insert_select_with_format_without_schema_inference/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_02269_data" - } - }, - { - "type": "String", - "value": "RowBinary" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02269_to_start_of_interval_overflow/ast.json b/parser/testdata/02269_to_start_of_interval_overflow/ast.json deleted file mode 100644 index 636924da7b..0000000000 --- a/parser/testdata/02269_to_start_of_interval_overflow/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfInterval", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "\u0000930-12-12 12:12:12.1234567" - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "name": "toIntervalNanosecond", - "arguments": [ - { - "type": "Integer", - "value": 1024 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02271_fix_column_matcher_and_column_transformer/ast.json b/parser/testdata/02271_fix_column_matcher_and_column_transformer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02271_fix_column_matcher_and_column_transformer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02271_replace_partition_many_tables/ast.json b/parser/testdata/02271_replace_partition_many_tables/ast.json deleted file mode 100644 index dfd94fca5a..0000000000 --- a/parser/testdata/02271_replace_partition_many_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "replace_partition_source", - "tables": [ - { - "table": "replace_partition_source" - } - ] -} diff --git a/parser/testdata/02271_temporary_table_show_rows_bytes/ast.json b/parser/testdata/02271_temporary_table_show_rows_bytes/ast.json deleted file mode 100644 index 0f8f0a3691..0000000000 --- a/parser/testdata/02271_temporary_table_show_rows_bytes/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "temporary": true, - "table": "02271_temporary_table_show_rows_bytes", - "columns": [ - { - "name": "A", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory" - }, - "as_select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02276_full_sort_join_unsupported/ast.json b/parser/testdata/02276_full_sort_join_unsupported/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02276_full_sort_join_unsupported/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02277_full_sort_join_misc/ast.json b/parser/testdata/02277_full_sort_join_misc/ast.json deleted file mode 100644 index 78aa8b9181..0000000000 --- a/parser/testdata/02277_full_sort_join_misc/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "full_sorting_merge" - } - } - ] -} diff --git a/parser/testdata/02280_add_query_level_settings/ast.json b/parser/testdata/02280_add_query_level_settings/ast.json deleted file mode 100644 index 5c06716578..0000000000 --- a/parser/testdata/02280_add_query_level_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_for_alter", - "tables": [ - { - "table": "table_for_alter" - } - ] -} diff --git a/parser/testdata/02281_limit_by_distributed/ast.json b/parser/testdata/02281_limit_by_distributed/ast.json deleted file mode 100644 index 2b656970e1..0000000000 --- a/parser/testdata/02281_limit_by_distributed/ast.json +++ /dev/null @@ -1,126 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "k" - ] - }, - { - "name": "abs", - "arguments": [ - { - "parts": [ - "v" - ] - } - ], - "alias": "_v" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,2}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "foo" - } - ], - "alias": "k" - }, - { - "expr": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - "alias": "v" - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "_v" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "limit_by": [ - { - "parts": [ - "k" - ] - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02282_array_distance/ast.json b/parser/testdata/02282_array_distance/ast.json deleted file mode 100644 index 2d1570031a..0000000000 --- a/parser/testdata/02282_array_distance/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "hash" - } - } - ] -} diff --git a/parser/testdata/02283_array_norm/ast.json b/parser/testdata/02283_array_norm/ast.json deleted file mode 100644 index 4088c0c705..0000000000 --- a/parser/testdata/02283_array_norm/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "L1Norm", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02285_executable_user_defined_function_group_by/ast.json b/parser/testdata/02285_executable_user_defined_function_group_by/ast.json deleted file mode 100644 index 8657608f2f..0000000000 --- a/parser/testdata/02285_executable_user_defined_function_group_by/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "test_function", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "a" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "a" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02285_hex_bin_support_more_types/ast.json b/parser/testdata/02285_hex_bin_support_more_types/ast.json deleted file mode 100644 index ea75861438..0000000000 --- a/parser/testdata/02285_hex_bin_support_more_types/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 100000000000 - } - ] - } - ], - "alias": "res" - } - ] - } - ] -} diff --git a/parser/testdata/02286_convert_decimal_type/ast.json b/parser/testdata/02286_convert_decimal_type/ast.json deleted file mode 100644 index 7a51ed54bb..0000000000 --- a/parser/testdata/02286_convert_decimal_type/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "VALUES", - "arguments": [ - { - "type": "String", - "value": "x Decimal32(0)" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02286_function_wyhash/ast.json b/parser/testdata/02286_function_wyhash/ast.json deleted file mode 100644 index 47d2fe4eac..0000000000 --- a/parser/testdata/02286_function_wyhash/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "wyHash64", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02286_quantile_tdigest_infinity/ast.json b/parser/testdata/02286_quantile_tdigest_infinity/ast.json deleted file mode 100644 index 26fdfd9893..0000000000 --- a/parser/testdata/02286_quantile_tdigest_infinity/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "1" - } - ] - } - ] -} diff --git a/parser/testdata/02286_tuple_numeric_identifier/ast.json b/parser/testdata/02286_tuple_numeric_identifier/ast.json deleted file mode 100644 index bd4d71d2d6..0000000000 --- a/parser/testdata/02286_tuple_numeric_identifier/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_tuple_numeric", - "tables": [ - { - "table": "t_tuple_numeric" - } - ] -} diff --git a/parser/testdata/02286_vertical_merges_missed_column/ast.json b/parser/testdata/02286_vertical_merges_missed_column/ast.json deleted file mode 100644 index 834d818e14..0000000000 --- a/parser/testdata/02286_vertical_merges_missed_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_vertical_merges", - "tables": [ - { - "table": "t_vertical_merges" - } - ] -} diff --git a/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/ast.json b/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/ast.json deleted file mode 100644 index df8010d7c7..0000000000 --- a/parser/testdata/02287_legacy_column_name_of_tuple_literal_over_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "legacy_column_name_of_tuple_literal", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02291_dictionary_scalar_subquery_reload/ast.json b/parser/testdata/02291_dictionary_scalar_subquery_reload/ast.json deleted file mode 100644 index 17d711a11b..0000000000 --- a/parser/testdata/02291_dictionary_scalar_subquery_reload/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_dictionary_source_table", - "tables": [ - { - "table": "test_dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02291_join_const_literal_36279/ast.json b/parser/testdata/02291_join_const_literal_36279/ast.json deleted file mode 100644 index 7b6b454796..0000000000 --- a/parser/testdata/02291_join_const_literal_36279/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_distributed", - "tables": [ - { - "table": "test_distributed" - } - ] -} diff --git a/parser/testdata/02292_create_function_validate/ast.json b/parser/testdata/02292_create_function_validate/ast.json deleted file mode 100644 index ade95b1cd2..0000000000 --- a/parser/testdata/02292_create_function_validate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "create_function": true, - "function_name": "foo", - "function_body": { - "parts": [ - "x" - ] - } -} diff --git a/parser/testdata/02292_h3_unidirectional_funcs/ast.json b/parser/testdata/02292_h3_unidirectional_funcs/ast.json deleted file mode 100644 index 09e92fc59b..0000000000 --- a/parser/testdata/02292_h3_unidirectional_funcs/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3GetDestinationIndexFromUnidirectionalEdge", - "arguments": [ - { - "type": "Integer", - "value": 1248204388774707197 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02292_hash_array_tuples/ast.json b/parser/testdata/02292_hash_array_tuples/ast.json deleted file mode 100644 index 2d11247488..0000000000 --- a/parser/testdata/02292_hash_array_tuples/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "arrays" - } - ] - } - ] -} diff --git a/parser/testdata/02292_nested_not_flattened_detach/ast.json b/parser/testdata/02292_nested_not_flattened_detach/ast.json deleted file mode 100644 index 209d216029..0000000000 --- a/parser/testdata/02292_nested_not_flattened_detach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_nested_detach", - "tables": [ - { - "table": "t_nested_detach" - } - ] -} diff --git a/parser/testdata/02293_arrow_dictionary_indexes/ast.json b/parser/testdata/02293_arrow_dictionary_indexes/ast.json deleted file mode 100644 index c258166a18..0000000000 --- a/parser/testdata/02293_arrow_dictionary_indexes/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_02293_data.arrow" - } - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 300 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "output_format_arrow_low_cardinality_as_dictionary", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02293_grouping_function/ast.json b/parser/testdata/02293_grouping_function/ast.json deleted file mode 100644 index 8502d50e3b..0000000000 --- a/parser/testdata/02293_grouping_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_group_by_function_keys", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02293_grouping_function_group_by/ast.json b/parser/testdata/02293_grouping_function_group_by/ast.json deleted file mode 100644 index 8502d50e3b..0000000000 --- a/parser/testdata/02293_grouping_function_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_group_by_function_keys", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02293_h3_distance/ast.json b/parser/testdata/02293_h3_distance/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02293_h3_distance/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02293_h3_hex_ring/ast.json b/parser/testdata/02293_h3_hex_ring/ast.json deleted file mode 100644 index 861f31c3eb..0000000000 --- a/parser/testdata/02293_h3_hex_ring/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3HexRing", - "arguments": [ - { - "type": "Integer", - "value": 581276613233082367 - }, - { - "name": "toUInt16", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02293_h3_line/ast.json b/parser/testdata/02293_h3_line/ast.json deleted file mode 100644 index eb76eb72d2..0000000000 --- a/parser/testdata/02293_h3_line/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "h3_indexes", - "tables": [ - { - "table": "h3_indexes" - } - ] -} diff --git a/parser/testdata/02293_ilike_on_fixed_strings/ast.json b/parser/testdata/02293_ilike_on_fixed_strings/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02293_ilike_on_fixed_strings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/ast.json b/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/ast.json deleted file mode 100644 index 692cf1bf1c..0000000000 --- a/parser/testdata/02293_optimize_aggregation_in_order_Array_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02293", - "tables": [ - { - "table": "data_02293" - } - ] -} diff --git a/parser/testdata/02294_decimal_second_errors/ast.json b/parser/testdata/02294_decimal_second_errors/ast.json deleted file mode 100644 index 7e4da0eac2..0000000000 --- a/parser/testdata/02294_decimal_second_errors/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "settings": [ - { - "name": "max_execution_time", - "value": { - "type": "Float", - "value": "NaN" - } - } - ] - } - ] -} diff --git a/parser/testdata/02294_dictionaries_hierarchical_index/ast.json b/parser/testdata/02294_dictionaries_hierarchical_index/ast.json deleted file mode 100644 index 7896e3f7a9..0000000000 --- a/parser/testdata/02294_dictionaries_hierarchical_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_hierarchy_source_table", - "tables": [ - { - "table": "test_hierarchy_source_table" - } - ] -} diff --git a/parser/testdata/02294_fp_seconds_profile/ast.json b/parser/testdata/02294_fp_seconds_profile/ast.json deleted file mode 100644 index eb813b5981..0000000000 --- a/parser/testdata/02294_fp_seconds_profile/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "if_exists": true, - "table": "02294_profile1", - "tables": [ - { - "table": "02294_profile1" - }, - { - "table": "02294_profile2" - } - ] -} diff --git a/parser/testdata/02294_nothing_arguments_in_functions/ast.json b/parser/testdata/02294_nothing_arguments_in_functions/ast.json deleted file mode 100644 index 5b02884838..0000000000 --- a/parser/testdata/02294_nothing_arguments_in_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_named_columns_in_function_tuple", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/ast.json b/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/ast.json deleted file mode 100644 index f2bbe892f9..0000000000 --- a/parser/testdata/02294_optimize_aggregation_in_order_prefix_Array_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02294", - "tables": [ - { - "table": "data_02294" - } - ] -} diff --git a/parser/testdata/02294_stringsearch_with_nonconst_needle/ast.json b/parser/testdata/02294_stringsearch_with_nonconst_needle/ast.json deleted file mode 100644 index cb407ae780..0000000000 --- a/parser/testdata/02294_stringsearch_with_nonconst_needle/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "non_const_needle", - "tables": [ - { - "table": "non_const_needle" - } - ] -} diff --git a/parser/testdata/02295_GROUP_BY_AggregateFunction/ast.json b/parser/testdata/02295_GROUP_BY_AggregateFunction/ast.json deleted file mode 100644 index 1731de5a50..0000000000 --- a/parser/testdata/02295_GROUP_BY_AggregateFunction/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02295", - "tables": [ - { - "table": "data_02295" - } - ] -} diff --git a/parser/testdata/02296_nullable_arguments_in_array_filter/ast.json b/parser/testdata/02296_nullable_arguments_in_array_filter/ast.json deleted file mode 100644 index adea9366a1..0000000000 --- a/parser/testdata/02296_nullable_arguments_in_array_filter/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "left": { - "type": "Integer", - "value": 2 - }, - "op": "*", - "right": { - "parts": [ - "x" - ] - } - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02296_ttl_non_deterministic/ast.json b/parser/testdata/02296_ttl_non_deterministic/ast.json deleted file mode 100644 index ce3ec53186..0000000000 --- a/parser/testdata/02296_ttl_non_deterministic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_ttl_non_deterministic", - "tables": [ - { - "table": "t_ttl_non_deterministic" - } - ] -} diff --git a/parser/testdata/02302_clash_const_aggegate_join/ast.json b/parser/testdata/02302_clash_const_aggegate_join/ast.json deleted file mode 100644 index 6c51602ea9..0000000000 --- a/parser/testdata/02302_clash_const_aggegate_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "e", - "tables": [ - { - "table": "e" - } - ] -} diff --git a/parser/testdata/02302_join_auto_lc_nullable_bug/ast.json b/parser/testdata/02302_join_auto_lc_nullable_bug/ast.json deleted file mode 100644 index d724f086b5..0000000000 --- a/parser/testdata/02302_join_auto_lc_nullable_bug/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_in_join", - "value": { - "type": "String", - "value": "100" - } - }, - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "auto" - } - } - ] -} diff --git a/parser/testdata/02302_lc_nullable_string_insert_as_number/ast.json b/parser/testdata/02302_lc_nullable_string_insert_as_number/ast.json deleted file mode 100644 index 87c053dd92..0000000000 --- a/parser/testdata/02302_lc_nullable_string_insert_as_number/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lc_nullable_string", - "tables": [ - { - "table": "lc_nullable_string" - } - ] -} diff --git a/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/ast.json b/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/ast.json deleted file mode 100644 index 238bb2b052..0000000000 --- a/parser/testdata/02302_projections_GROUP_BY_ORDERY_BY_optimize_aggregation_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_agg_proj_02302", - "tables": [ - { - "table": "test_agg_proj_02302" - } - ] -} diff --git a/parser/testdata/02302_s3_file_pruning/ast.json b/parser/testdata/02302_s3_file_pruning/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02302_s3_file_pruning/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02303_cast_nullable_to_custom_types/ast.json b/parser/testdata/02303_cast_nullable_to_custom_types/ast.json deleted file mode 100644 index 9e560629f5..0000000000 --- a/parser/testdata/02303_cast_nullable_to_custom_types/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(String)" - } - }, - "type": { - "name": "Nullable(Bool)" - } - } - ] - } - ] -} diff --git a/parser/testdata/02304_grouping_set_order_by/ast.json b/parser/testdata/02304_grouping_set_order_by/ast.json deleted file mode 100644 index 16684916ef..0000000000 --- a/parser/testdata/02304_grouping_set_order_by/ast.json +++ /dev/null @@ -1,154 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfHour", - "arguments": [ - { - "parts": [ - "time" - ] - } - ], - "alias": "timex" - }, - { - "parts": [ - "id" - ] - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "id" - }, - { - "name": "toString", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ] - } - ], - "alias": "id" - }, - { - "expr": { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-01" - } - ] - }, - "op": "+", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 60 - } - } - }, - "alias": "time" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "timex" - ] - }, - { - "parts": [ - "id" - ] - } - ] - }, - { - "parts": [ - "timex" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "timex" - ] - } - }, - { - "expression": { - "parts": [ - "id" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02304_orc_arrow_parquet_string_as_string/ast.json b/parser/testdata/02304_orc_arrow_parquet_string_as_string/ast.json deleted file mode 100644 index acf1e390ab..0000000000 --- a/parser/testdata/02304_orc_arrow_parquet_string_as_string/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_data_02304.parquet" - } - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "hello" - }, - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_parquet_string_as_string", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02306_part_types_profile_events/ast.json b/parser/testdata/02306_part_types_profile_events/ast.json deleted file mode 100644 index 778fa3c068..0000000000 --- a/parser/testdata/02306_part_types_profile_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_parts_profile_events", - "tables": [ - { - "table": "t_parts_profile_events" - } - ] -} diff --git a/parser/testdata/02307_join_get_array_null/ast.json b/parser/testdata/02307_join_get_array_null/ast.json deleted file mode 100644 index aa22c2a4f6..0000000000 --- a/parser/testdata/02307_join_get_array_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "id_val", - "tables": [ - { - "table": "id_val" - } - ] -} diff --git a/parser/testdata/02310_generate_multi_columns_with_uuid/ast.json b/parser/testdata/02310_generate_multi_columns_with_uuid/ast.json deleted file mode 100644 index d073bc334b..0000000000 --- a/parser/testdata/02310_generate_multi_columns_with_uuid/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "generateUUIDv4", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "=", - "right": { - "name": "generateUUIDv4", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02310_uuid_v7/ast.json b/parser/testdata/02310_uuid_v7/ast.json deleted file mode 100644 index 5e7cc3c914..0000000000 --- a/parser/testdata/02310_uuid_v7/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "generateUUIDv7" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02311_create_table_with_unknown_format/ast.json b/parser/testdata/02311_create_table_with_unknown_format/ast.json deleted file mode 100644 index a0b4342b64..0000000000 --- a/parser/testdata/02311_create_table_with_unknown_format/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "table": "test_02311", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "File", - "parameters": [ - { - "parts": [ - "UnknownFormat" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02311_range_hashed_dictionary_range_cast/ast.json b/parser/testdata/02311_range_hashed_dictionary_range_cast/ast.json deleted file mode 100644 index 7052bf8d47..0000000000 --- a/parser/testdata/02311_range_hashed_dictionary_range_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_source_table", - "tables": [ - { - "table": "dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02311_system_zookeeper_insert/ast.json b/parser/testdata/02311_system_zookeeper_insert/ast.json deleted file mode 100644 index 9b8420768d..0000000000 --- a/parser/testdata/02311_system_zookeeper_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_unrestricted_reads_from_keeper", - "value": { - "type": "String", - "value": "true" - } - } - ] -} diff --git a/parser/testdata/02312_is_not_null_prewhere/ast.json b/parser/testdata/02312_is_not_null_prewhere/ast.json deleted file mode 100644 index 29b0748bf4..0000000000 --- a/parser/testdata/02312_is_not_null_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bug_36995", - "tables": [ - { - "table": "bug_36995" - } - ] -} diff --git a/parser/testdata/02312_parquet_orc_arrow_names_tuples/ast.json b/parser/testdata/02312_parquet_orc_arrow_names_tuples/ast.json deleted file mode 100644 index e59c2b614d..0000000000 --- a/parser/testdata/02312_parquet_orc_arrow_names_tuples/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02312", - "tables": [ - { - "table": "test_02312" - } - ] -} diff --git a/parser/testdata/02313_cross_join_dup_col_names/ast.json b/parser/testdata/02313_cross_join_dup_col_names/ast.json deleted file mode 100644 index 82bc18ba50..0000000000 --- a/parser/testdata/02313_cross_join_dup_col_names/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Null", - "value": null - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - }, - "alias": "s1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "count", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - }, - "alias": "s2" - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02313_displayname/ast.json b/parser/testdata/02313_displayname/ast.json deleted file mode 100644 index 459fae8641..0000000000 --- a/parser/testdata/02313_displayname/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "displayName" - } - ] - } - ] -} diff --git a/parser/testdata/02313_group_by_modifiers_with_non_default_types/ast.json b/parser/testdata/02313_group_by_modifiers_with_non_default_types/ast.json deleted file mode 100644 index a82b3a6fb6..0000000000 --- a/parser/testdata/02313_group_by_modifiers_with_non_default_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test02313", - "tables": [ - { - "table": "test02313" - } - ] -} diff --git a/parser/testdata/02313_multiple_limits/ast.json b/parser/testdata/02313_multiple_limits/ast.json deleted file mode 100644 index bc20533b8d..0000000000 --- a/parser/testdata/02313_multiple_limits/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "read_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - } - } - } - ] - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 20 - } - }, - { - "name": "read_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02313_test_fpc_codec/ast.json b/parser/testdata/02313_test_fpc_codec/ast.json deleted file mode 100644 index 7ac5fba392..0000000000 --- a/parser/testdata/02313_test_fpc_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "codecTest", - "tables": [ - { - "table": "codecTest" - } - ] -} diff --git a/parser/testdata/02314_csv_tsv_skip_first_lines/ast.json b/parser/testdata/02314_csv_tsv_skip_first_lines/ast.json deleted file mode 100644 index e3d0e682e8..0000000000 --- a/parser/testdata/02314_csv_tsv_skip_first_lines/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_data_02314.csv" - } - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02315_grouping_constant_folding/ast.json b/parser/testdata/02315_grouping_constant_folding/ast.json deleted file mode 100644 index da752fcfb6..0000000000 --- a/parser/testdata/02315_grouping_constant_folding/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test02315", - "tables": [ - { - "table": "test02315" - } - ] -} diff --git a/parser/testdata/02315_pmj_union_ubsan_35857/ast.json b/parser/testdata/02315_pmj_union_ubsan_35857/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/02315_pmj_union_ubsan_35857/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/02315_replace_multiif_to_if/ast.json b/parser/testdata/02315_replace_multiif_to_if/ast.json deleted file mode 100644 index 2e6729bcdf..0000000000 --- a/parser/testdata/02315_replace_multiif_to_if/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - { - "name": "multiIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "Null", - "value": null - }, - { - "name": "toNullable", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02316_cast_to_ip_address_default_column/ast.json b/parser/testdata/02316_cast_to_ip_address_default_column/ast.json deleted file mode 100644 index e93967b09a..0000000000 --- a/parser/testdata/02316_cast_to_ip_address_default_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "cast_ipv4_ipv6_default_on_conversion_error", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02316_literal_no_octal/ast.json b/parser/testdata/02316_literal_no_octal/ast.json deleted file mode 100644 index 7a286b27c8..0000000000 --- a/parser/testdata/02316_literal_no_octal/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 77 - }, - { - "type": "Integer", - "value": 78 - } - ] - } - ] -} diff --git a/parser/testdata/02316_values_table_func_bug/ast.json b/parser/testdata/02316_values_table_func_bug/ast.json deleted file mode 100644 index 5651449839..0000000000 --- a/parser/testdata/02316_values_table_func_bug/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.2 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02317_distinct_in_order_optimization/ast.json b/parser/testdata/02317_distinct_in_order_optimization/ast.json deleted file mode 100644 index 4a64b49de1..0000000000 --- a/parser/testdata/02317_distinct_in_order_optimization/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- enable distinct in order optimization" - } - ] - } - ] -} diff --git a/parser/testdata/02317_functions_with_nothing/ast.json b/parser/testdata/02317_functions_with_nothing/ast.json deleted file mode 100644 index 688eefa184..0000000000 --- a/parser/testdata/02317_functions_with_nothing/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtractKeysAndValuesRaw", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02317_like_with_trailing_escape/ast.json b/parser/testdata/02317_like_with_trailing_escape/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02317_like_with_trailing_escape/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02318_template_schema_inference_bug/ast.json b/parser/testdata/02318_template_schema_inference_bug/ast.json deleted file mode 100644 index 1e8abf6396..0000000000 --- a/parser/testdata/02318_template_schema_inference_bug/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_data_02318.tsv" - } - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02319_dict_get_check_arguments_size/ast.json b/parser/testdata/02319_dict_get_check_arguments_size/ast.json deleted file mode 100644 index 7052bf8d47..0000000000 --- a/parser/testdata/02319_dict_get_check_arguments_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_source_table", - "tables": [ - { - "table": "dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02319_lightweight_delete_on_merge_tree/ast.json b/parser/testdata/02319_lightweight_delete_on_merge_tree/ast.json deleted file mode 100644 index cc338cec75..0000000000 --- a/parser/testdata/02319_lightweight_delete_on_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_table_standard_delete", - "tables": [ - { - "table": "merge_table_standard_delete" - } - ] -} diff --git a/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/ast.json b/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/ast.json deleted file mode 100644 index cc338cec75..0000000000 --- a/parser/testdata/02319_lightweight_delete_on_merge_tree_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_table_standard_delete", - "tables": [ - { - "table": "merge_table_standard_delete" - } - ] -} diff --git a/parser/testdata/02319_quantile_interpolated_weighted/ast.json b/parser/testdata/02319_quantile_interpolated_weighted/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/02319_quantile_interpolated_weighted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/02319_sql_standard_create_drop_index/ast.json b/parser/testdata/02319_sql_standard_create_drop_index/ast.json deleted file mode 100644 index 702aeb7c59..0000000000 --- a/parser/testdata/02319_sql_standard_create_drop_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index", - "tables": [ - { - "table": "t_index" - } - ] -} diff --git a/parser/testdata/02319_timeslots_dt64/ast.json b/parser/testdata/02319_timeslots_dt64/ast.json deleted file mode 100644 index 0b4c58893e..0000000000 --- a/parser/testdata/02319_timeslots_dt64/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "timeSlots", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2000-01-02 03:04:05.12" - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDecimal64", - "arguments": [ - { - "type": "Integer", - "value": 10000 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02320_alter_columns_with_dots/ast.json b/parser/testdata/02320_alter_columns_with_dots/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02320_alter_columns_with_dots/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02320_mapped_array_witn_const_nullable/ast.json b/parser/testdata/02320_mapped_array_witn_const_nullable/ast.json deleted file mode 100644 index 7ed7d727c9..0000000000 --- a/parser/testdata/02320_mapped_array_witn_const_nullable/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02321_nested_short_circuit_functions/ast.json b/parser/testdata/02321_nested_short_circuit_functions/ast.json deleted file mode 100644 index 7f1c87e5dd..0000000000 --- a/parser/testdata/02321_nested_short_circuit_functions/ast.json +++ /dev/null @@ -1,75 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "AND", - "right": { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "intDiv", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02322_sql_insert_format/ast.json b/parser/testdata/02322_sql_insert_format/ast.json deleted file mode 100644 index 5882ee647b..0000000000 --- a/parser/testdata/02322_sql_insert_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "schema_inference_use_cache_for_file", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02323_null_modifier_in_table_function/ast.json b/parser/testdata/02323_null_modifier_in_table_function/ast.json deleted file mode 100644 index 3d4de782b2..0000000000 --- a/parser/testdata/02323_null_modifier_in_table_function/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "x UInt8 NOT NULL" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02324_map_combinator_bug/ast.json b/parser/testdata/02324_map_combinator_bug/ast.json deleted file mode 100644 index 999e1ca0a5..0000000000 --- a/parser/testdata/02324_map_combinator_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "segfault", - "tables": [ - { - "table": "segfault" - } - ] -} diff --git a/parser/testdata/02325_compatibility_setting_2/ast.json b/parser/testdata/02325_compatibility_setting_2/ast.json deleted file mode 100644 index 3e673b1d95..0000000000 --- a/parser/testdata/02325_compatibility_setting_2/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "value" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "allow_settings_after_format_in_insert" - } - } - } - ] -} diff --git a/parser/testdata/02325_dates_schema_inference/ast.json b/parser/testdata/02325_dates_schema_inference/ast.json deleted file mode 100644 index 3fe936330b..0000000000 --- a/parser/testdata/02325_dates_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_try_infer_dates", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02326_numbers_from_json_strings_schema_inference/ast.json b/parser/testdata/02326_numbers_from_json_strings_schema_inference/ast.json deleted file mode 100644 index 0a95182900..0000000000 --- a/parser/testdata/02326_numbers_from_json_strings_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02327_try_infer_integers_schema_inference/ast.json b/parser/testdata/02327_try_infer_integers_schema_inference/ast.json deleted file mode 100644 index 7d0a95435c..0000000000 --- a/parser/testdata/02327_try_infer_integers_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_try_infer_integers", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02336_sparse_columns_s3/ast.json b/parser/testdata/02336_sparse_columns_s3/ast.json deleted file mode 100644 index 4035154b94..0000000000 --- a/parser/testdata/02336_sparse_columns_s3/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_s3", - "tables": [ - { - "table": "t_sparse_s3" - } - ] -} diff --git a/parser/testdata/02337_analyzer_columns_basic/ast.json b/parser/testdata/02337_analyzer_columns_basic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02337_analyzer_columns_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02337_base58/ast.json b/parser/testdata/02337_base58/ast.json deleted file mode 100644 index f52f78726d..0000000000 --- a/parser/testdata/02337_base58/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base58Encode", - "arguments": [ - { - "type": "String", - "value": "Hold my beer..." - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02337_check_translate_qualified_names_matcher/ast.json b/parser/testdata/02337_check_translate_qualified_names_matcher/ast.json deleted file mode 100644 index 5490998fac..0000000000 --- a/parser/testdata/02337_check_translate_qualified_names_matcher/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "nested_name_tuples", - "columns": [ - { - "name": "a", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "x", - "type": { - "name": "String" - } - }, - { - "name": "y", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "i", - "type": { - "name": "Int32" - } - }, - { - "name": "j", - "type": { - "name": "String" - } - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02337_multiple_joins_original_names/ast.json b/parser/testdata/02337_multiple_joins_original_names/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02337_multiple_joins_original_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02338_analyzer_constants_basic/ast.json b/parser/testdata/02338_analyzer_constants_basic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02338_analyzer_constants_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02339_analyzer_matcher_basic/ast.json b/parser/testdata/02339_analyzer_matcher_basic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02339_analyzer_matcher_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02340_analyzer_functions/ast.json b/parser/testdata/02340_analyzer_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02340_analyzer_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02340_union_header/ast.json b/parser/testdata/02340_union_header/ast.json deleted file mode 100644 index 38a8983f28..0000000000 --- a/parser/testdata/02340_union_header/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - }, - { - "parts": [ - "c" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2147483647 - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 1048575 - }, - "alias": "c" - } - ] - }, - { - "columns": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Null", - "value": null - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - }, - "alias": "js1" - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02341_analyzer_aliases_basics/ast.json b/parser/testdata/02341_analyzer_aliases_basics/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02341_analyzer_aliases_basics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02342_analyzer_compound_types/ast.json b/parser/testdata/02342_analyzer_compound_types/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02342_analyzer_compound_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02343_aggregation_pipeline/ast.json b/parser/testdata/02343_aggregation_pipeline/ast.json deleted file mode 100644 index e0ffff1924..0000000000 --- a/parser/testdata/02343_aggregation_pipeline/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_memory_bound_merging_of_aggregation_results", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02343_analyzer_column_transformers_strict/ast.json b/parser/testdata/02343_analyzer_column_transformers_strict/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02343_analyzer_column_transformers_strict/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02343_analyzer_lambdas/ast.json b/parser/testdata/02343_analyzer_lambdas/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02343_analyzer_lambdas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02343_analyzer_lambdas_issue_28083/ast.json b/parser/testdata/02343_analyzer_lambdas_issue_28083/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02343_analyzer_lambdas_issue_28083/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02343_analyzer_lambdas_issue_36677/ast.json b/parser/testdata/02343_analyzer_lambdas_issue_36677/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02343_analyzer_lambdas_issue_36677/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02343_group_by_use_nulls/ast.json b/parser/testdata/02343_group_by_use_nulls/ast.json deleted file mode 100644 index 8502d50e3b..0000000000 --- a/parser/testdata/02343_group_by_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_group_by_function_keys", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02343_group_by_use_nulls_distributed/ast.json b/parser/testdata/02343_group_by_use_nulls_distributed/ast.json deleted file mode 100644 index 8502d50e3b..0000000000 --- a/parser/testdata/02343_group_by_use_nulls_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_group_by_function_keys", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02343_read_from_s3_compressed_blocks/ast.json b/parser/testdata/02343_read_from_s3_compressed_blocks/ast.json deleted file mode 100644 index 30efaeae9d..0000000000 --- a/parser/testdata/02343_read_from_s3_compressed_blocks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_s3_compressed_blocks", - "tables": [ - { - "table": "t_s3_compressed_blocks" - } - ] -} diff --git a/parser/testdata/02344_analyzer_multiple_aliases_for_expression/ast.json b/parser/testdata/02344_analyzer_multiple_aliases_for_expression/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02344_analyzer_multiple_aliases_for_expression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02344_distinct_limit_distiributed/ast.json b/parser/testdata/02344_distinct_limit_distiributed/ast.json deleted file mode 100644 index 045e7cb924..0000000000 --- a/parser/testdata/02344_distinct_limit_distiributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_distinct_limit", - "tables": [ - { - "table": "t_distinct_limit" - } - ] -} diff --git a/parser/testdata/02344_insert_profile_events_stress/ast.json b/parser/testdata/02344_insert_profile_events_stress/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/02344_insert_profile_events_stress/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02345_analyzer_subqueries/ast.json b/parser/testdata/02345_analyzer_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02345_analyzer_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02345_create_table_allow_trailing_comma/ast.json b/parser/testdata/02345_create_table_allow_trailing_comma/ast.json deleted file mode 100644 index d2d0c5be77..0000000000 --- a/parser/testdata/02345_create_table_allow_trailing_comma/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "trailing_comma_1", - "tables": [ - { - "table": "trailing_comma_1" - } - ], - "sync": true -} diff --git a/parser/testdata/02345_implicit_transaction/ast.json b/parser/testdata/02345_implicit_transaction/ast.json deleted file mode 100644 index 4ba1d1a6df..0000000000 --- a/parser/testdata/02345_implicit_transaction/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "landing_to_target", - "tables": [ - { - "table": "landing_to_target" - } - ] -} diff --git a/parser/testdata/02345_partial_sort_transform_optimization/ast.json b/parser/testdata/02345_partial_sort_transform_optimization/ast.json deleted file mode 100644 index 987a70958d..0000000000 --- a/parser/testdata/02345_partial_sort_transform_optimization/ast.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "a" - }, - { - "name": "toNullable", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "b" - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 1000000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "b" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "c" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1500 - } - } - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02346_additional_filters/ast.json b/parser/testdata/02346_additional_filters/ast.json deleted file mode 100644 index 6a056e024c..0000000000 --- a/parser/testdata/02346_additional_filters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_1", - "tables": [ - { - "table": "table_1" - } - ] -} diff --git a/parser/testdata/02346_additional_filters_distr/ast.json b/parser/testdata/02346_additional_filters_distr/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/02346_additional_filters_distr/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/02346_additional_filters_index/ast.json b/parser/testdata/02346_additional_filters_index/ast.json deleted file mode 100644 index 7ebef89e6f..0000000000 --- a/parser/testdata/02346_additional_filters_index/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "table": "table_1", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - }, - { - "name": "y", - "type": { - "name": "String" - } - } - ], - "indexes": [ - { - "name": "a", - "expression": { - "name": "length", - "arguments": [ - { - "parts": [ - "y" - ] - } - ] - }, - "type": { - "name": "minmax" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/ast.json b/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02346_exclude_materialize_skip_indexes_on_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/ast.json b/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02346_exclude_materialize_skip_indexes_on_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_non_negative_derivative/ast.json b/parser/testdata/02346_non_negative_derivative/ast.json deleted file mode 100644 index cc48143789..0000000000 --- a/parser/testdata/02346_non_negative_derivative/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nnd", - "tables": [ - { - "table": "nnd" - } - ] -} diff --git a/parser/testdata/02346_position_countsubstrings_zero_byte/ast.json b/parser/testdata/02346_position_countsubstrings_zero_byte/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02346_position_countsubstrings_zero_byte/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02346_text_index_array_support/ast.json b/parser/testdata/02346_text_index_array_support/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_array_support/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug47393/ast.json b/parser/testdata/02346_text_index_bug47393/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug47393/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug54541/ast.json b/parser/testdata/02346_text_index_bug54541/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug54541/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug59039/ast.json b/parser/testdata/02346_text_index_bug59039/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug59039/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug62681/ast.json b/parser/testdata/02346_text_index_bug62681/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug62681/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug84805/ast.json b/parser/testdata/02346_text_index_bug84805/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug84805/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug87887/ast.json b/parser/testdata/02346_text_index_bug87887/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug87887/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug88080/ast.json b/parser/testdata/02346_text_index_bug88080/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug88080/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_bug89605/ast.json b/parser/testdata/02346_text_index_bug89605/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_bug89605/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_coalescingmergetree/ast.json b/parser/testdata/02346_text_index_coalescingmergetree/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_coalescingmergetree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_collapsingmergetree/ast.json b/parser/testdata/02346_text_index_collapsingmergetree/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_collapsingmergetree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_creation/ast.json b/parser/testdata/02346_text_index_creation/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_creation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_default_granularity/ast.json b/parser/testdata/02346_text_index_default_granularity/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_default_granularity/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_detach_attach/ast.json b/parser/testdata/02346_text_index_detach_attach/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_detach_attach/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_dictionary_cache/ast.json b/parser/testdata/02346_text_index_dictionary_cache/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_dictionary_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_dictionary_frontcoding/ast.json b/parser/testdata/02346_text_index_dictionary_frontcoding/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_dictionary_frontcoding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_direct_read/ast.json b/parser/testdata/02346_text_index_direct_read/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/02346_text_index_direct_read/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_direct_read_crash/ast.json b/parser/testdata/02346_text_index_direct_read_crash/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_direct_read_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/ast.json b/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_direct_read_with_query_condition_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_experimental_flag/ast.json b/parser/testdata/02346_text_index_experimental_flag/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02346_text_index_experimental_flag/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens/ast.json b/parser/testdata/02346_text_index_function_hasAnyAllTokens/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_function_hasAnyAllTokens/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/ast.json b/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_function_hasAnyAllTokens_partially_materialized/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_functions_with_empty_needle/ast.json b/parser/testdata/02346_text_index_functions_with_empty_needle/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_functions_with_empty_needle/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_header_cache/ast.json b/parser/testdata/02346_text_index_header_cache/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_header_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_hits/ast.json b/parser/testdata/02346_text_index_hits/ast.json deleted file mode 100644 index 3795809323..0000000000 --- a/parser/testdata/02346_text_index_hits/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "hits_text", - "tables": [ - { - "table": "hits_text" - } - ] -} diff --git a/parser/testdata/02346_text_index_map_support/ast.json b/parser/testdata/02346_text_index_map_support/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_map_support/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_match_predicate/ast.json b/parser/testdata/02346_text_index_match_predicate/ast.json deleted file mode 100644 index bf389eb38e..0000000000 --- a/parser/testdata/02346_text_index_match_predicate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02346_text_index_on_lower_column/ast.json b/parser/testdata/02346_text_index_on_lower_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_on_lower_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_parallel_replicas/ast.json b/parser/testdata/02346_text_index_parallel_replicas/ast.json deleted file mode 100644 index b253921876..0000000000 --- a/parser/testdata/02346_text_index_parallel_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_parallel_replicas", - "value": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_part_format/ast.json b/parser/testdata/02346_text_index_part_format/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_part_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_postings_cache/ast.json b/parser/testdata/02346_text_index_postings_cache/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02346_text_index_postings_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_prefetch/ast.json b/parser/testdata/02346_text_index_prefetch/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_prefetch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_preprocessor/ast.json b/parser/testdata/02346_text_index_preprocessor/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_preprocessor/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_queries/ast.json b/parser/testdata/02346_text_index_queries/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_queries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_replacingmergetree/ast.json b/parser/testdata/02346_text_index_replacingmergetree/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_replacingmergetree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_text_index_summingmergetree/ast.json b/parser/testdata/02346_text_index_summingmergetree/ast.json deleted file mode 100644 index 61cb754f22..0000000000 --- a/parser/testdata/02346_text_index_summingmergetree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_full_text_index", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02346_to_hour_monotonicity_fix/ast.json b/parser/testdata/02346_to_hour_monotonicity_fix/ast.json deleted file mode 100644 index ccf0760f38..0000000000 --- a/parser/testdata/02346_to_hour_monotonicity_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tz_hour", - "tables": [ - { - "table": "test_tz_hour" - } - ] -} diff --git a/parser/testdata/02346_to_hour_monotonicity_fix_2/ast.json b/parser/testdata/02346_to_hour_monotonicity_fix_2/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02346_to_hour_monotonicity_fix_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02347_rank_corr_size_overflow/ast.json b/parser/testdata/02347_rank_corr_size_overflow/ast.json deleted file mode 100644 index 153fc8d76d..0000000000 --- a/parser/testdata/02347_rank_corr_size_overflow/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "rankCorr", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "op": "-", - "operand": { - "parts": [ - "number" - ] - } - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5000000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02350_views_max_insert_threads/ast.json b/parser/testdata/02350_views_max_insert_threads/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02350_views_max_insert_threads/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02351_Map_combinator_dist/ast.json b/parser/testdata/02351_Map_combinator_dist/ast.json deleted file mode 100644 index 43b3351dad..0000000000 --- a/parser/testdata/02351_Map_combinator_dist/ast.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 67 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "A" - ] - }, - { - "name": "sumMap", - "arguments": [ - { - "expr": { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "type": "Tuple", - "value": [ - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - }, - { - "parts": [ - "r" - ] - } - ] - }, - "type": { - "name": "Map(UInt8,Int64)" - } - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,1}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "A" - }, - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 150 - } - ], - "alias": "r" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 60 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "A" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "name": "shardNum" - } - } - } - ] - } - } - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "A" - ] - } - ], - "limit": { - "type": "Integer", - "value": 100000000 - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "A" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 53 - } - }, - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "distributed_aggregation_memory_efficient", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "group_by_two_level_threshold_bytes", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02352_grouby_shadows_arg/ast.json b/parser/testdata/02352_grouby_shadows_arg/ast.json deleted file mode 100644 index 50fba7e33b..0000000000 --- a/parser/testdata/02352_grouby_shadows_arg/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "dummy" - ] - } - ], - "alias": "dummy" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.{1,1}" - }, - { - "type": "String", - "value": "system.one" - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "dummy" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02352_lightweight_delete/ast.json b/parser/testdata/02352_lightweight_delete/ast.json deleted file mode 100644 index f27c115b84..0000000000 --- a/parser/testdata/02352_lightweight_delete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lwd_test", - "tables": [ - { - "table": "lwd_test" - } - ] -} diff --git a/parser/testdata/02352_lightweight_delete_in_partition/ast.json b/parser/testdata/02352_lightweight_delete_in_partition/ast.json deleted file mode 100644 index 473d82e2af..0000000000 --- a/parser/testdata/02352_lightweight_delete_in_partition/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_merge_tree", - "tables": [ - { - "table": "t_merge_tree" - } - ], - "sync": true -} diff --git a/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/ast.json b/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/ast.json deleted file mode 100644 index b0d1363d6e..0000000000 --- a/parser/testdata/02352_lightweight_delete_on_replicated_merge_tree/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "replicated_table_r1", - "tables": [ - { - "table": "replicated_table_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/02353_ascii/ast.json b/parser/testdata/02353_ascii/ast.json deleted file mode 100644 index 3ec5c19cf2..0000000000 --- a/parser/testdata/02353_ascii/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ascii", - "arguments": [ - { - "type": "String", - "value": "234" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02353_isnullable/ast.json b/parser/testdata/02353_isnullable/ast.json deleted file mode 100644 index ffb5076409..0000000000 --- a/parser/testdata/02353_isnullable/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isNullable", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02353_partition_prune_nullable_key/ast.json b/parser/testdata/02353_partition_prune_nullable_key/ast.json deleted file mode 100644 index f1d2c74f0f..0000000000 --- a/parser/testdata/02353_partition_prune_nullable_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "n", - "tables": [ - { - "table": "n" - } - ] -} diff --git a/parser/testdata/02353_simdjson_buffer_overflow/ast.json b/parser/testdata/02353_simdjson_buffer_overflow/ast.json deleted file mode 100644 index b879f8b8c3..0000000000 --- a/parser/testdata/02353_simdjson_buffer_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/02353_translate/ast.json b/parser/testdata/02353_translate/ast.json deleted file mode 100644 index f82e7e2363..0000000000 --- a/parser/testdata/02353_translate/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "translate", - "arguments": [ - { - "type": "String", - "value": "Hello? world." - }, - { - "type": "String", - "value": ".?" - }, - { - "type": "String", - "value": "!," - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02354_array_lowcardinality/ast.json b/parser/testdata/02354_array_lowcardinality/ast.json deleted file mode 100644 index d9a4c00eea..0000000000 --- a/parser/testdata/02354_array_lowcardinality/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "1" - } - ] - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "2" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/ast.json b/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/ast.json deleted file mode 100644 index ccacf824eb..0000000000 --- a/parser/testdata/02354_distributed_with_external_aggregation_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "101M" - } - } - ] -} diff --git a/parser/testdata/02354_numeric_literals_with_underscores/ast.json b/parser/testdata/02354_numeric_literals_with_underscores/ast.json deleted file mode 100644 index afecf23983..0000000000 --- a/parser/testdata/02354_numeric_literals_with_underscores/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - ] -} diff --git a/parser/testdata/02354_parse_timedelta/ast.json b/parser/testdata/02354_parse_timedelta/ast.json deleted file mode 100644 index 136b5780ed..0000000000 --- a/parser/testdata/02354_parse_timedelta/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseTimeDelta", - "arguments": [ - { - "type": "String", - "value": "1 min 35 sec" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02354_read_in_order_prewhere/ast.json b/parser/testdata/02354_read_in_order_prewhere/ast.json deleted file mode 100644 index 297ecacec0..0000000000 --- a/parser/testdata/02354_read_in_order_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order", - "tables": [ - { - "table": "order" - } - ] -} diff --git a/parser/testdata/02354_tuple_element_with_default/ast.json b/parser/testdata/02354_tuple_element_with_default/ast.json deleted file mode 100644 index f7414f0074..0000000000 --- a/parser/testdata/02354_tuple_element_with_default/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleElement", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "default" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02354_tuple_lowcardinality/ast.json b/parser/testdata/02354_tuple_lowcardinality/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02354_tuple_lowcardinality/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_adaptive_index_granularity/ast.json b/parser/testdata/02354_vector_search_adaptive_index_granularity/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_adaptive_index_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_and_other_skipping_indexes/ast.json b/parser/testdata/02354_vector_search_and_other_skipping_indexes/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_and_other_skipping_indexes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_binary_quantization/ast.json b/parser/testdata/02354_vector_search_binary_quantization/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_binary_quantization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_choose_correct_index/ast.json b/parser/testdata/02354_vector_search_choose_correct_index/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02354_vector_search_choose_correct_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_default_granularity/ast.json b/parser/testdata/02354_vector_search_default_granularity/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_default_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_detach_attach/ast.json b/parser/testdata/02354_vector_search_detach_attach/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_detach_attach/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_different_array_sizes/ast.json b/parser/testdata/02354_vector_search_different_array_sizes/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_different_array_sizes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_drop_table_clear_cache/ast.json b/parser/testdata/02354_vector_search_drop_table_clear_cache/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_drop_table_clear_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_empty_arrays_or_default_values/ast.json b/parser/testdata/02354_vector_search_empty_arrays_or_default_values/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_empty_arrays_or_default_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_expansion_search/ast.json b/parser/testdata/02354_vector_search_expansion_search/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_expansion_search/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_index_creation_negative/ast.json b/parser/testdata/02354_vector_search_index_creation_negative/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_index_creation_negative/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_multiple_indexes/ast.json b/parser/testdata/02354_vector_search_multiple_indexes/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_multiple_indexes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_multiple_marks/ast.json b/parser/testdata/02354_vector_search_multiple_marks/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02354_vector_search_multiple_marks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02354_vector_search_part_format/ast.json b/parser/testdata/02354_vector_search_part_format/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02354_vector_search_part_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_postfiltering_bug/ast.json b/parser/testdata/02354_vector_search_postfiltering_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_postfiltering_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_pre_and_post_filtering/ast.json b/parser/testdata/02354_vector_search_pre_and_post_filtering/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_pre_and_post_filtering/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_queries/ast.json b/parser/testdata/02354_vector_search_queries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_queries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_reference_vector_types/ast.json b/parser/testdata/02354_vector_search_reference_vector_types/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_reference_vector_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_rescoring/ast.json b/parser/testdata/02354_vector_search_rescoring/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_rescoring/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_rescoring_and_prewhere/ast.json b/parser/testdata/02354_vector_search_rescoring_and_prewhere/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_rescoring_and_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/ast.json b/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_rescoring_distance_in_select_list/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_subquery/ast.json b/parser/testdata/02354_vector_search_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02354_vector_search_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_unquoted_index_parameters/ast.json b/parser/testdata/02354_vector_search_unquoted_index_parameters/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/02354_vector_search_unquoted_index_parameters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/02354_vector_search_vector_similarity_index_cache/ast.json b/parser/testdata/02354_vector_search_vector_similarity_index_cache/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02354_vector_search_vector_similarity_index_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_vector_search_with_huge_dimension/ast.json b/parser/testdata/02354_vector_search_with_huge_dimension/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/02354_vector_search_with_huge_dimension/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02354_with_statement_non_exist_column/ast.json b/parser/testdata/02354_with_statement_non_exist_column/ast.json deleted file mode 100644 index efa3add7cb..0000000000 --- a/parser/testdata/02354_with_statement_non_exist_column/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "temporary": true -} diff --git a/parser/testdata/02355_column_type_name_lc/ast.json b/parser/testdata/02355_column_type_name_lc/ast.json deleted file mode 100644 index dbced655b0..0000000000 --- a/parser/testdata/02355_column_type_name_lc/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toColumnTypeName", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "foo" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02355_control_block_size_in_aggregator/ast.json b/parser/testdata/02355_control_block_size_in_aggregator/ast.json deleted file mode 100644 index a34b72ecdc..0000000000 --- a/parser/testdata/02355_control_block_size_in_aggregator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 4213 - } - } - ] -} diff --git a/parser/testdata/02355_control_block_size_in_array_join/ast.json b/parser/testdata/02355_control_block_size_in_array_join/ast.json deleted file mode 100644 index 9c10cb736c..0000000000 --- a/parser/testdata/02355_control_block_size_in_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/02356_insert_query_log_metrics/ast.json b/parser/testdata/02356_insert_query_log_metrics/ast.json deleted file mode 100644 index 932fe70324..0000000000 --- a/parser/testdata/02356_insert_query_log_metrics/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "02356_destination", - "columns": [ - { - "name": "a", - "type": { - "name": "Int64" - } - }, - { - "name": "b", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02356_trivial_count_with_empty_set/ast.json b/parser/testdata/02356_trivial_count_with_empty_set/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02356_trivial_count_with_empty_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02357_file_default_value/ast.json b/parser/testdata/02357_file_default_value/ast.json deleted file mode 100644 index 12146e681c..0000000000 --- a/parser/testdata/02357_file_default_value/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "nonexistent.txt" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02360_small_notation_h_for_hour_interval/ast.json b/parser/testdata/02360_small_notation_h_for_hour_interval/ast.json deleted file mode 100644 index dea6b38df7..0000000000 --- a/parser/testdata/02360_small_notation_h_for_hour_interval/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "h" - }, - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2018-01-01 22:00:00" - } - ] - }, - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2018-01-02 23:00:00" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02363_mapupdate_improve/ast.json b/parser/testdata/02363_mapupdate_improve/ast.json deleted file mode 100644 index ea07bcd0cc..0000000000 --- a/parser/testdata/02363_mapupdate_improve/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_test", - "tables": [ - { - "table": "map_test" - } - ] -} diff --git a/parser/testdata/02364_dictionary_datetime_64_attribute_crash/ast.json b/parser/testdata/02364_dictionary_datetime_64_attribute_crash/ast.json deleted file mode 100644 index fbf341c8f0..0000000000 --- a/parser/testdata/02364_dictionary_datetime_64_attribute_crash/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "dat", - "columns": [ - { - "name": "blockNum", - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 0 - } - ], - "has_parentheses": true - } - }, - { - "name": "eventTimestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 9 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "primary_key": [ - { - "parts": [ - "eventTimestamp" - ] - } - ] -} diff --git a/parser/testdata/02364_multiSearch_function_family/ast.json b/parser/testdata/02364_multiSearch_function_family/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02364_multiSearch_function_family/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02364_setting_cross_to_inner_rewrite/ast.json b/parser/testdata/02364_setting_cross_to_inner_rewrite/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02364_setting_cross_to_inner_rewrite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02364_window_case/ast.json b/parser/testdata/02364_window_case/ast.json deleted file mode 100644 index e07caa285b..0000000000 --- a/parser/testdata/02364_window_case/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "whens": [ - { - "condition": { - "left": { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "over": {} - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "result": { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ], - "else": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02365_multisearch_random_tests/ast.json b/parser/testdata/02365_multisearch_random_tests/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02365_multisearch_random_tests/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02366_asof_optimize_predicate_bug_37813/ast.json b/parser/testdata/02366_asof_optimize_predicate_bug_37813/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02366_asof_optimize_predicate_bug_37813/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02366_direct_dictionary_dict_has/ast.json b/parser/testdata/02366_direct_dictionary_dict_has/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02366_direct_dictionary_dict_has/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02366_explain_query_tree/ast.json b/parser/testdata/02366_explain_query_tree/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02366_explain_query_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_create_table/ast.json b/parser/testdata/02366_kql_create_table/ast.json deleted file mode 100644 index 69ad5fe81f..0000000000 --- a/parser/testdata/02366_kql_create_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Customers", - "tables": [ - { - "table": "Customers" - } - ] -} diff --git a/parser/testdata/02366_kql_datatype/ast.json b/parser/testdata/02366_kql_datatype/ast.json deleted file mode 100644 index 82fcceebb6..0000000000 --- a/parser/testdata/02366_kql_datatype/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_kusto_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_distinct/ast.json b/parser/testdata/02366_kql_distinct/ast.json deleted file mode 100644 index 69ad5fe81f..0000000000 --- a/parser/testdata/02366_kql_distinct/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Customers", - "tables": [ - { - "table": "Customers" - } - ] -} diff --git a/parser/testdata/02366_kql_func_binary/ast.json b/parser/testdata/02366_kql_func_binary/ast.json deleted file mode 100644 index 82fcceebb6..0000000000 --- a/parser/testdata/02366_kql_func_binary/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_kusto_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_func_datetime/ast.json b/parser/testdata/02366_kql_func_datetime/ast.json deleted file mode 100644 index 82fcceebb6..0000000000 --- a/parser/testdata/02366_kql_func_datetime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_kusto_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_func_dynamic/ast.json b/parser/testdata/02366_kql_func_dynamic/ast.json deleted file mode 100644 index 108754526b..0000000000 --- a/parser/testdata/02366_kql_func_dynamic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array_test", - "tables": [ - { - "table": "array_test" - } - ] -} diff --git a/parser/testdata/02366_kql_func_ip/ast.json b/parser/testdata/02366_kql_func_ip/ast.json deleted file mode 100644 index 82fcceebb6..0000000000 --- a/parser/testdata/02366_kql_func_ip/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_kusto_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_func_math/ast.json b/parser/testdata/02366_kql_func_math/ast.json deleted file mode 100644 index 82fcceebb6..0000000000 --- a/parser/testdata/02366_kql_func_math/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_kusto_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02366_kql_func_scalar/ast.json b/parser/testdata/02366_kql_func_scalar/ast.json deleted file mode 100644 index f34f9635ad..0000000000 --- a/parser/testdata/02366_kql_func_scalar/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Bin_at_test", - "tables": [ - { - "table": "Bin_at_test" - } - ] -} diff --git a/parser/testdata/02366_kql_func_string/ast.json b/parser/testdata/02366_kql_func_string/ast.json deleted file mode 100644 index 69ad5fe81f..0000000000 --- a/parser/testdata/02366_kql_func_string/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Customers", - "tables": [ - { - "table": "Customers" - } - ] -} diff --git a/parser/testdata/02366_kql_mvexpand/ast.json b/parser/testdata/02366_kql_mvexpand/ast.json deleted file mode 100644 index e538374a6f..0000000000 --- a/parser/testdata/02366_kql_mvexpand/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv_expand_test_table", - "tables": [ - { - "table": "mv_expand_test_table" - } - ] -} diff --git a/parser/testdata/02366_kql_operator_in_sql/ast.json b/parser/testdata/02366_kql_operator_in_sql/ast.json deleted file mode 100644 index 69ad5fe81f..0000000000 --- a/parser/testdata/02366_kql_operator_in_sql/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Customers", - "tables": [ - { - "table": "Customers" - } - ] -} diff --git a/parser/testdata/02366_normalize_aggregate_function_types_and_states/ast.json b/parser/testdata/02366_normalize_aggregate_function_types_and_states/ast.json deleted file mode 100644 index 540759e0a1..0000000000 --- a/parser/testdata/02366_normalize_aggregate_function_types_and_states/ast.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countMerge", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "countState", - "arguments": [ - { - "type": "Float", - "value": 0.5 - } - ], - "alias": "a" - } - ] - }, - { - "columns": [ - { - "name": "countState" - } - ] - }, - { - "columns": [ - { - "name": "countIfState", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "columns": [ - { - "name": "countArrayState", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - }, - { - "columns": [ - { - "name": "countArrayIfState", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL", - "UNION ALL", - "UNION ALL", - "UNION ALL" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02366_window_function_order_by/ast.json b/parser/testdata/02366_window_function_order_by/ast.json deleted file mode 100644 index 14a1fb3633..0000000000 --- a/parser/testdata/02366_window_function_order_by/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "parts": [ - "value" - ] - } - ] - } - ], - "over": {} - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "value" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "value" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02366_with_fill_date/ast.json b/parser/testdata/02366_with_fill_date/ast.json deleted file mode 100644 index 18cac8c498..0000000000 --- a/parser/testdata/02366_with_fill_date/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2022-02-01" - } - ], - "alias": "d1" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 18 - } - ] - }, - "alias": "number" - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "d1" - ] - }, - "with_fill": true, - "fill_from": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2022-02-01" - } - ] - }, - "fill_to": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2022-07-01" - } - ] - }, - "fill_step": { - "name": "toIntervalMonth", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02367_analyzer_table_alias_columns/ast.json b/parser/testdata/02367_analyzer_table_alias_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02367_analyzer_table_alias_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02367_optimize_trivial_count_with_array_join/ast.json b/parser/testdata/02367_optimize_trivial_count_with_array_join/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02367_optimize_trivial_count_with_array_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02368_analyzer_table_functions/ast.json b/parser/testdata/02368_analyzer_table_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02368_analyzer_table_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02369_analyzer_array_join_function/ast.json b/parser/testdata/02369_analyzer_array_join_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02369_analyzer_array_join_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02370_analyzer_in_function/ast.json b/parser/testdata/02370_analyzer_in_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02370_analyzer_in_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02371_analyzer_join_cross/ast.json b/parser/testdata/02371_analyzer_join_cross/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02371_analyzer_join_cross/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02371_create_temporary_table_as_with_columns_list/ast.json b/parser/testdata/02371_create_temporary_table_as_with_columns_list/ast.json deleted file mode 100644 index 8b7bde65b5..0000000000 --- a/parser/testdata/02371_create_temporary_table_as_with_columns_list/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "temporary": true, - "table": "test_02327", - "columns": [ - { - "name": "name", - "type": { - "name": "String" - } - } - ], - "as_select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "VALUES", - "arguments": [ - { - "type": "String", - "value": "Vasya" - }, - { - "type": "String", - "value": "Petya" - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02371_select_projection_normal_agg/ast.json b/parser/testdata/02371_select_projection_normal_agg/ast.json deleted file mode 100644 index 3124e5799e..0000000000 --- a/parser/testdata/02371_select_projection_normal_agg/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "video_log", - "tables": [ - { - "table": "video_log" - } - ] -} diff --git a/parser/testdata/02372_nowInBlock/ast.json b/parser/testdata/02372_nowInBlock/ast.json deleted file mode 100644 index af0c79f96f..0000000000 --- a/parser/testdata/02372_nowInBlock/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02373_analyzer_join_use_nulls/ast.json b/parser/testdata/02373_analyzer_join_use_nulls/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02373_analyzer_join_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02374_analyzer_array_join/ast.json b/parser/testdata/02374_analyzer_array_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02374_analyzer_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02374_combine_multi_if_and_count_if_opt/ast.json b/parser/testdata/02374_combine_multi_if_and_count_if_opt/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/02374_combine_multi_if_and_count_if_opt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/02374_in_tuple_index/ast.json b/parser/testdata/02374_in_tuple_index/ast.json deleted file mode 100644 index 7f91982501..0000000000 --- a/parser/testdata/02374_in_tuple_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_in_tuple_index", - "tables": [ - { - "table": "t_in_tuple_index" - } - ] -} diff --git a/parser/testdata/02375_double_escaping_json/ast.json b/parser/testdata/02375_double_escaping_json/ast.json deleted file mode 100644 index ea926ff516..0000000000 --- a/parser/testdata/02375_double_escaping_json/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "\\" - }, - "alias": "\"" - } - ], - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ], - "format": { - "parts": [ - "JSON" - ] - } - } - ] -} diff --git a/parser/testdata/02375_scalar_lc_cte/ast.json b/parser/testdata/02375_scalar_lc_cte/ast.json deleted file mode 100644 index 00cd3a5050..0000000000 --- a/parser/testdata/02375_scalar_lc_cte/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "bar", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - } - } - ], - "columns": [ - { - "parts": [ - "bar" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02376_analyzer_in_function_subquery/ast.json b/parser/testdata/02376_analyzer_in_function_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02376_analyzer_in_function_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02376_arrow_dict_with_string/ast.json b/parser/testdata/02376_arrow_dict_with_string/ast.json deleted file mode 100644 index 7a667f5846..0000000000 --- a/parser/testdata/02376_arrow_dict_with_string/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "02376_data", - "arrow" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "output_format_arrow_string_as_string", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_arrow_low_cardinality_as_dictionary", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02377_analyzer_in_function_set/ast.json b/parser/testdata/02377_analyzer_in_function_set/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02377_analyzer_in_function_set/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02377_executable_function_settings/ast.json b/parser/testdata/02377_executable_function_settings/ast.json deleted file mode 100644 index 1da331b783..0000000000 --- a/parser/testdata/02377_executable_function_settings/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "executable", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "JSON" - }, - { - "type": "String", - "value": "data String" - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02377_fix_file_virtual_column/ast.json b/parser/testdata/02377_fix_file_virtual_column/ast.json deleted file mode 100644 index 077c96fc9d..0000000000 --- a/parser/testdata/02377_fix_file_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02377", - "tables": [ - { - "table": "test_02377" - } - ] -} diff --git a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/ast.json b/parser/testdata/02377_majority_insert_quorum_zookeeper_long/ast.json deleted file mode 100644 index 898f6f1062..0000000000 --- a/parser/testdata/02377_majority_insert_quorum_zookeeper_long/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_quorum_parallel", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/02377_modify_column_from_lc/ast.json b/parser/testdata/02377_modify_column_from_lc/ast.json deleted file mode 100644 index c2cf5907c4..0000000000 --- a/parser/testdata/02377_modify_column_from_lc/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_modify_from_lc_1", - "tables": [ - { - "table": "t_modify_from_lc_1" - } - ] -} diff --git a/parser/testdata/02377_modify_column_from_nested/ast.json b/parser/testdata/02377_modify_column_from_nested/ast.json deleted file mode 100644 index 40b30c1df8..0000000000 --- a/parser/testdata/02377_modify_column_from_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_nested_modify", - "tables": [ - { - "table": "t_nested_modify" - } - ] -} diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties/ast.json b/parser/testdata/02377_optimize_sorting_by_input_stream_properties/ast.json deleted file mode 100644 index fa533fb7d9..0000000000 --- a/parser/testdata/02377_optimize_sorting_by_input_stream_properties/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_sorting_by_input_stream_properties", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/ast.json b/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02377_optimize_sorting_by_input_stream_properties_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02378_analyzer_projection_names/ast.json b/parser/testdata/02378_analyzer_projection_names/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02378_analyzer_projection_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02378_part_log_profile_events_replicated/ast.json b/parser/testdata/02378_part_log_profile_events_replicated/ast.json deleted file mode 100644 index b041aaedf3..0000000000 --- a/parser/testdata/02378_part_log_profile_events_replicated/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "part_log_profile_events_r1", - "tables": [ - { - "table": "part_log_profile_events_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/02379_analyzer_subquery_depth/ast.json b/parser/testdata/02379_analyzer_subquery_depth/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02379_analyzer_subquery_depth/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02380_analyzer_join_sample/ast.json b/parser/testdata/02380_analyzer_join_sample/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02380_analyzer_join_sample/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02381_analyzer_join_final/ast.json b/parser/testdata/02381_analyzer_join_final/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02381_analyzer_join_final/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02381_compress_marks_and_primary_key/ast.json b/parser/testdata/02381_compress_marks_and_primary_key/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/02381_compress_marks_and_primary_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02381_parseDateTime64BestEffortUS/ast.json b/parser/testdata/02381_parseDateTime64BestEffortUS/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/02381_parseDateTime64BestEffortUS/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02381_parse_array_of_tuples/ast.json b/parser/testdata/02381_parse_array_of_tuples/ast.json deleted file mode 100644 index b1b8bb652b..0000000000 --- a/parser/testdata/02381_parse_array_of_tuples/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_parse_tuples", - "tables": [ - { - "table": "t_parse_tuples" - } - ] -} diff --git a/parser/testdata/02381_setting_value_auto/ast.json b/parser/testdata/02381_setting_value_auto/ast.json deleted file mode 100644 index 41d5c13104..0000000000 --- a/parser/testdata/02381_setting_value_auto/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "value" - ] - }, - { - "parts": [ - "changed" - ] - }, - { - "parts": [ - "type" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "insert_quorum" - } - } - } - ] -} diff --git a/parser/testdata/02382_analyzer_matcher_join_using/ast.json b/parser/testdata/02382_analyzer_matcher_join_using/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02382_analyzer_matcher_join_using/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02382_join_and_filtering_set/ast.json b/parser/testdata/02382_join_and_filtering_set/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02382_join_and_filtering_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02383_analyzer_merge_tree_self_join/ast.json b/parser/testdata/02383_analyzer_merge_tree_self_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02383_analyzer_merge_tree_self_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02384_analyzer_dict_get_join_get/ast.json b/parser/testdata/02384_analyzer_dict_get_join_get/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02384_analyzer_dict_get_join_get/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02384_decrypt_bad_arguments/ast.json b/parser/testdata/02384_decrypt_bad_arguments/ast.json deleted file mode 100644 index 95d0148c70..0000000000 --- a/parser/testdata/02384_decrypt_bad_arguments/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "decrypt", - "arguments": [ - { - "type": "String", - "value": "aes-128-gcm" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1024 - }, - { - "type": "Integer", - "value": 65535 - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Integer", - "value": 1048576 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "String", - "value": "text" - }, - { - "type": "String", - "value": "key" - }, - { - "type": "String", - "value": "IV" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/ast.json b/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/ast.json deleted file mode 100644 index 629de7e17b..0000000000 --- a/parser/testdata/02384_nullable_low_cardinality_as_dict_in_arrow/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "02384_data", - "arrow" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ] - } - ], - "alias": "lc" - } - ], - "settings": [ - { - "name": "output_format_arrow_low_cardinality_as_dictionary", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_arrow_string_as_string", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02385_analyzer_aliases_compound_expression/ast.json b/parser/testdata/02385_analyzer_aliases_compound_expression/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02385_analyzer_aliases_compound_expression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02385_profile_events_overflow/ast.json b/parser/testdata/02385_profile_events_overflow/ast.json deleted file mode 100644 index eabe1a7c3d..0000000000 --- a/parser/testdata/02385_profile_events_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "system_events_show_zero_values", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02386_analyzer_in_function_nested_subqueries/ast.json b/parser/testdata/02386_analyzer_in_function_nested_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02386_analyzer_in_function_nested_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02386_set_columns_order/ast.json b/parser/testdata/02386_set_columns_order/ast.json deleted file mode 100644 index bd59ade554..0000000000 --- a/parser/testdata/02386_set_columns_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "userid_set", - "tables": [ - { - "table": "userid_set" - } - ] -} diff --git a/parser/testdata/02387_analyzer_cte/ast.json b/parser/testdata/02387_analyzer_cte/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02387_analyzer_cte/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02387_parse_date_as_datetime/ast.json b/parser/testdata/02387_parse_date_as_datetime/ast.json deleted file mode 100644 index 655375fb3f..0000000000 --- a/parser/testdata/02387_parse_date_as_datetime/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "i", - "type": { - "name": "Int64" - } - }, - { - "name": "d", - "type": { - "name": "DateTime" - } - } - ] -} diff --git a/parser/testdata/02388_analyzer_recursive_lambda/ast.json b/parser/testdata/02388_analyzer_recursive_lambda/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02388_analyzer_recursive_lambda/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/ast.json b/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/ast.json deleted file mode 100644 index 44e1b426d0..0000000000 --- a/parser/testdata/02388_conversion_from_string_with_datetime64_to_date_and_date32/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2022-08-22 01:02:03" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02389_analyzer_nested_lambda/ast.json b/parser/testdata/02389_analyzer_nested_lambda/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02389_analyzer_nested_lambda/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02391_hashed_dictionary_shards/ast.json b/parser/testdata/02391_hashed_dictionary_shards/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02391_hashed_dictionary_shards/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02391_recursive_buffer/ast.json b/parser/testdata/02391_recursive_buffer/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02391_recursive_buffer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02392_every_setting_must_have_documentation/ast.json b/parser/testdata/02392_every_setting_must_have_documentation/ast.json deleted file mode 100644 index 65cfe84454..0000000000 --- a/parser/testdata/02392_every_setting_must_have_documentation/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "description" - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - } - } - ] -} diff --git a/parser/testdata/02393_every_metric_must_have_documentation/ast.json b/parser/testdata/02393_every_metric_must_have_documentation/ast.json deleted file mode 100644 index 021b3b4fa8..0000000000 --- a/parser/testdata/02393_every_metric_must_have_documentation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "system_events_show_zero_values", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02394_every_profile_event_must_have_documentation/ast.json b/parser/testdata/02394_every_profile_event_must_have_documentation/ast.json deleted file mode 100644 index 021b3b4fa8..0000000000 --- a/parser/testdata/02394_every_profile_event_must_have_documentation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "system_events_show_zero_values", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/ast.json b/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/ast.json deleted file mode 100644 index ae9c204877..0000000000 --- a/parser/testdata/02395_every_merge_tree_setting_must_have_documentation/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "merge_tree_settings" - } - } - } - ] - }, - "where": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "description" - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - } - } - ] -} diff --git a/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/ast.json b/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02398_subquery_where_pushdown_and_limit_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02399_merge_tree_mutate_in_partition/ast.json b/parser/testdata/02399_merge_tree_mutate_in_partition/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/02399_merge_tree_mutate_in_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/02400_create_table_on_cluster_normalization/ast.json b/parser/testdata/02400_create_table_on_cluster_normalization/ast.json deleted file mode 100644 index a1ad39a6aa..0000000000 --- a/parser/testdata/02400_create_table_on_cluster_normalization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_t_l5ydey", - "tables": [ - { - "table": "local_t_l5ydey" - } - ] -} diff --git a/parser/testdata/02400_memory_accounting_on_error/ast.json b/parser/testdata/02400_memory_accounting_on_error/ast.json deleted file mode 100644 index 2a8e94a734..0000000000 --- a/parser/testdata/02400_memory_accounting_on_error/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "i Array(Int8)" - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1048577 - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 65536 - }, - "settings": [ - { - "name": "max_memory_usage", - "value": { - "type": "String", - "value": "1Gi" - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65505 - } - }, - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/ast.json b/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/ast.json deleted file mode 100644 index 2c13617dbc..0000000000 --- a/parser/testdata/02401_merge_tree_old_tmp_dirs_cleanup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_inserts", - "tables": [ - { - "table": "test_inserts" - } - ] -} diff --git a/parser/testdata/02402_external_disk_metrics/ast.json b/parser/testdata/02402_external_disk_metrics/ast.json deleted file mode 100644 index 526a183dc5..0000000000 --- a/parser/testdata/02402_external_disk_metrics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_before_external_sort", - "value": { - "type": "Integer", - "value": 33554432 - } - } - ] -} diff --git a/parser/testdata/02402_merge_engine_with_view/ast.json b/parser/testdata/02402_merge_engine_with_view/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02402_merge_engine_with_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02403_ttl_column_multiple_times/ast.json b/parser/testdata/02403_ttl_column_multiple_times/ast.json deleted file mode 100644 index 7969279fc9..0000000000 --- a/parser/testdata/02403_ttl_column_multiple_times/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_table", - "tables": [ - { - "table": "ttl_table" - } - ] -} diff --git a/parser/testdata/02404_lightweight_delete_vertical_merge/ast.json b/parser/testdata/02404_lightweight_delete_vertical_merge/ast.json deleted file mode 100644 index f27c115b84..0000000000 --- a/parser/testdata/02404_lightweight_delete_vertical_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lwd_test", - "tables": [ - { - "table": "lwd_test" - } - ] -} diff --git a/parser/testdata/02404_memory_bound_merging/ast.json b/parser/testdata/02404_memory_bound_merging/ast.json deleted file mode 100644 index 18cae223c9..0000000000 --- a/parser/testdata/02404_memory_bound_merging/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pr_t", - "tables": [ - { - "table": "pr_t" - } - ] -} diff --git a/parser/testdata/02405_avro_read_nested/ast.json b/parser/testdata/02405_avro_read_nested/ast.json deleted file mode 100644 index 83f3909a83..0000000000 --- a/parser/testdata/02405_avro_read_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "flatten_nested", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02405_pmj_issue_40335/ast.json b/parser/testdata/02405_pmj_issue_40335/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02405_pmj_issue_40335/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02406_minmax_behaviour/ast.json b/parser/testdata/02406_minmax_behaviour/ast.json deleted file mode 100644 index 5add01f01c..0000000000 --- a/parser/testdata/02406_minmax_behaviour/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02406_try_read_datetime64_bug/ast.json b/parser/testdata/02406_try_read_datetime64_bug/ast.json deleted file mode 100644 index 2a97349397..0000000000 --- a/parser/testdata/02406_try_read_datetime64_bug/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64OrDefault", - "arguments": [ - { - "type": "String", - "value": "Aaaa e a.a.aaaaaaaaa" - }, - { - "type": "Integer", - "value": 9 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02407_array_element_from_map_wrong_type/ast.json b/parser/testdata/02407_array_element_from_map_wrong_type/ast.json deleted file mode 100644 index 5875d31fde..0000000000 --- a/parser/testdata/02407_array_element_from_map_wrong_type/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "parts": [ - "m" - ] - }, - "index": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "materialize", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "String", - "value": "key" - }, - { - "type": "Integer", - "value": 42 - } - ] - } - ], - "alias": "m" - } - ] - } - ] -} diff --git a/parser/testdata/02408_to_fixed_string_short_circuit/ast.json b/parser/testdata/02408_to_fixed_string_short_circuit/ast.json deleted file mode 100644 index bbdd917528..0000000000 --- a/parser/testdata/02408_to_fixed_string_short_circuit/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "toFixedString", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "123" - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Null", - "value": null - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02410_to_decimal_or_default/ast.json b/parser/testdata/02410_to_decimal_or_default/ast.json deleted file mode 100644 index 9d7badf29c..0000000000 --- a/parser/testdata/02410_to_decimal_or_default/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal32OrDefault", - "arguments": [ - { - "type": "Integer", - "value": 111 - }, - { - "type": "Integer", - "value": 3 - }, - { - "expr": { - "type": "Float", - "value": 123.456 - }, - "type": { - "name": "Decimal32", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02411_legacy_geobase/ast.json b/parser/testdata/02411_legacy_geobase/ast.json deleted file mode 100644 index d29ebf790d..0000000000 --- a/parser/testdata/02411_legacy_geobase/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "regionToName", - "arguments": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "UInt32" - }, - "operator_syntax": true - }, - { - "type": "String", - "value": "en" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 13 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02412_nlp/ast.json b/parser/testdata/02412_nlp/ast.json deleted file mode 100644 index d6eb296192..0000000000 --- a/parser/testdata/02412_nlp/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_nlp_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02414_all_new_table_functions_must_be_documented/ast.json b/parser/testdata/02414_all_new_table_functions_must_be_documented/ast.json deleted file mode 100644 index 032b108e26..0000000000 --- a/parser/testdata/02414_all_new_table_functions_must_be_documented/ast.json +++ /dev/null @@ -1,112 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "table_functions" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "description" - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - }, - "op": "AND", - "right": { - "expr": { - "parts": [ - "name" - ] - }, - "not": true, - "list": [ - { - "type": "String", - "value": "cosn" - }, - { - "type": "String", - "value": "oss" - }, - { - "type": "String", - "value": "hdfs" - }, - { - "type": "String", - "value": "hdfsCluster" - }, - { - "type": "String", - "value": "hive" - }, - { - "type": "String", - "value": "mysql" - }, - { - "type": "String", - "value": "postgresql" - }, - { - "type": "String", - "value": "s3" - }, - { - "type": "String", - "value": "s3Cluster" - }, - { - "type": "String", - "value": "sqlite" - }, - { - "type": "String", - "value": "urlCluster" - }, - { - "type": "String", - "value": "mergeTreeParts" - } - ] - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02415_all_new_functions_must_be_documented/ast.json b/parser/testdata/02415_all_new_functions_must_be_documented/ast.json deleted file mode 100644 index 05aa16aa3f..0000000000 --- a/parser/testdata/02415_all_new_functions_must_be_documented/ast.json +++ /dev/null @@ -1,401 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "left": { - "op": "NOT", - "operand": { - "parts": [ - "is_aggregate" - ] - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "origin" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "System" - } - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "alias_to" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "" - } - } - }, - "op": "AND", - "right": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "description" - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - } - }, - "op": "AND", - "right": { - "expr": { - "parts": [ - "name" - ] - }, - "not": true, - "list": [ - { - "type": "String", - "value": "aes_decrypt_mysql" - }, - { - "type": "String", - "value": "aes_encrypt_mysql" - }, - { - "type": "String", - "value": "decrypt" - }, - { - "type": "String", - "value": "encrypt" - }, - { - "type": "String", - "value": "convertCharset" - }, - { - "type": "String", - "value": "detectLanguage" - }, - { - "type": "String", - "value": "detectLanguageMixed" - }, - { - "type": "String", - "value": "geoToH3" - }, - { - "type": "String", - "value": "h3CellAreaM2" - }, - { - "type": "String", - "value": "h3CellAreaRads2" - }, - { - "type": "String", - "value": "h3Distance" - }, - { - "type": "String", - "value": "h3EdgeAngle" - }, - { - "type": "String", - "value": "h3EdgeLengthKm" - }, - { - "type": "String", - "value": "h3EdgeLengthM" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthKm" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthM" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthRads" - }, - { - "type": "String", - "value": "h3GetBaseCell" - }, - { - "type": "String", - "value": "h3GetDestinationIndexFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetFaces" - }, - { - "type": "String", - "value": "h3GetIndexesFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetOriginIndexFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetPentagonIndexes" - }, - { - "type": "String", - "value": "h3GetRes0Indexes" - }, - { - "type": "String", - "value": "h3GetResolution" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdgeBoundary" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdgesFromHexagon" - }, - { - "type": "String", - "value": "h3HexAreaKm2" - }, - { - "type": "String", - "value": "h3HexAreaM2" - }, - { - "type": "String", - "value": "h3HexRing" - }, - { - "type": "String", - "value": "h3IndexesAreNeighbors" - }, - { - "type": "String", - "value": "h3IsPentagon" - }, - { - "type": "String", - "value": "h3IsResClassIII" - }, - { - "type": "String", - "value": "h3IsValid" - }, - { - "type": "String", - "value": "h3Line" - }, - { - "type": "String", - "value": "h3NumHexagons" - }, - { - "type": "String", - "value": "h3PointDistKm" - }, - { - "type": "String", - "value": "h3PointDistM" - }, - { - "type": "String", - "value": "h3PointDistRads" - }, - { - "type": "String", - "value": "h3ToCenterChild" - }, - { - "type": "String", - "value": "h3ToChildren" - }, - { - "type": "String", - "value": "h3ToGeo" - }, - { - "type": "String", - "value": "h3ToGeoBoundary" - }, - { - "type": "String", - "value": "h3ToParent" - }, - { - "type": "String", - "value": "h3ToString" - }, - { - "type": "String", - "value": "h3UnidirectionalEdgeIsValid" - }, - { - "type": "String", - "value": "h3kRing" - }, - { - "type": "String", - "value": "stringToH3" - }, - { - "type": "String", - "value": "geoToS2" - }, - { - "type": "String", - "value": "s2CapContains" - }, - { - "type": "String", - "value": "s2CapUnion" - }, - { - "type": "String", - "value": "s2CellsIntersect" - }, - { - "type": "String", - "value": "s2GetNeighbors" - }, - { - "type": "String", - "value": "s2RectAdd" - }, - { - "type": "String", - "value": "s2RectContains" - }, - { - "type": "String", - "value": "s2RectIntersection" - }, - { - "type": "String", - "value": "s2RectUnion" - }, - { - "type": "String", - "value": "s2ToGeo" - }, - { - "type": "String", - "value": "normalizeUTF8NFC" - }, - { - "type": "String", - "value": "normalizeUTF8NFD" - }, - { - "type": "String", - "value": "normalizeUTF8NFKC" - }, - { - "type": "String", - "value": "normalizeUTF8NFKD" - }, - { - "type": "String", - "value": "bech32Encode" - }, - { - "type": "String", - "value": "bech32Decode" - }, - { - "type": "String", - "value": "lemmatize" - }, - { - "type": "String", - "value": "stem" - }, - { - "type": "String", - "value": "synonyms" - }, - { - "type": "String", - "value": "kql_array_sort_asc" - }, - { - "type": "String", - "value": "kql_array_sort_desc" - }, - { - "type": "String", - "value": "detectCharset" - }, - { - "type": "String", - "value": "detectLanguageUnknown" - }, - { - "type": "String", - "value": "detectProgrammingLanguage" - }, - { - "type": "String", - "value": "detectTonality" - } - ] - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02415_all_new_functions_must_have_version_information/ast.json b/parser/testdata/02415_all_new_functions_must_have_version_information/ast.json deleted file mode 100644 index 3e1a6ec4c5..0000000000 --- a/parser/testdata/02415_all_new_functions_must_have_version_information/ast.json +++ /dev/null @@ -1,512 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "left": { - "op": "NOT", - "operand": { - "parts": [ - "is_aggregate" - ] - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "origin" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "System" - } - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "alias_to" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "" - } - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "introduced_in" - ] - }, - "op": "==", - "right": { - "type": "String", - "value": "" - } - } - }, - "op": "AND", - "right": { - "expr": { - "parts": [ - "name" - ] - }, - "not": true, - "list": [ - { - "type": "String", - "value": "aes_decrypt_mysql" - }, - { - "type": "String", - "value": "aes_encrypt_mysql" - }, - { - "type": "String", - "value": "decrypt" - }, - { - "type": "String", - "value": "encrypt" - }, - { - "type": "String", - "value": "convertCharset" - }, - { - "type": "String", - "value": "detectLanguage" - }, - { - "type": "String", - "value": "detectLanguageMixed" - }, - { - "type": "String", - "value": "geoToH3" - }, - { - "type": "String", - "value": "h3CellAreaM2" - }, - { - "type": "String", - "value": "h3CellAreaRads2" - }, - { - "type": "String", - "value": "h3Distance" - }, - { - "type": "String", - "value": "h3EdgeAngle" - }, - { - "type": "String", - "value": "h3EdgeLengthKm" - }, - { - "type": "String", - "value": "h3EdgeLengthM" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthKm" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthM" - }, - { - "type": "String", - "value": "h3ExactEdgeLengthRads" - }, - { - "type": "String", - "value": "h3GetBaseCell" - }, - { - "type": "String", - "value": "h3GetDestinationIndexFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetFaces" - }, - { - "type": "String", - "value": "h3GetIndexesFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetOriginIndexFromUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetPentagonIndexes" - }, - { - "type": "String", - "value": "h3GetRes0Indexes" - }, - { - "type": "String", - "value": "h3GetResolution" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdge" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdgeBoundary" - }, - { - "type": "String", - "value": "h3GetUnidirectionalEdgesFromHexagon" - }, - { - "type": "String", - "value": "h3HexAreaKm2" - }, - { - "type": "String", - "value": "h3HexAreaM2" - }, - { - "type": "String", - "value": "h3HexRing" - }, - { - "type": "String", - "value": "h3IndexesAreNeighbors" - }, - { - "type": "String", - "value": "h3IsPentagon" - }, - { - "type": "String", - "value": "h3IsResClassIII" - }, - { - "type": "String", - "value": "h3IsValid" - }, - { - "type": "String", - "value": "h3Line" - }, - { - "type": "String", - "value": "h3NumHexagons" - }, - { - "type": "String", - "value": "h3PointDistKm" - }, - { - "type": "String", - "value": "h3PointDistM" - }, - { - "type": "String", - "value": "h3PointDistRads" - }, - { - "type": "String", - "value": "h3ToCenterChild" - }, - { - "type": "String", - "value": "h3ToChildren" - }, - { - "type": "String", - "value": "h3ToGeo" - }, - { - "type": "String", - "value": "h3ToGeoBoundary" - }, - { - "type": "String", - "value": "h3ToParent" - }, - { - "type": "String", - "value": "h3ToString" - }, - { - "type": "String", - "value": "h3UnidirectionalEdgeIsValid" - }, - { - "type": "String", - "value": "h3kRing" - }, - { - "type": "String", - "value": "stringToH3" - }, - { - "type": "String", - "value": "geoToS2" - }, - { - "type": "String", - "value": "s2CapContains" - }, - { - "type": "String", - "value": "s2CapUnion" - }, - { - "type": "String", - "value": "s2CellsIntersect" - }, - { - "type": "String", - "value": "s2GetNeighbors" - }, - { - "type": "String", - "value": "s2RectAdd" - }, - { - "type": "String", - "value": "s2RectContains" - }, - { - "type": "String", - "value": "s2RectIntersection" - }, - { - "type": "String", - "value": "s2RectUnion" - }, - { - "type": "String", - "value": "s2ToGeo" - }, - { - "type": "String", - "value": "normalizeUTF8NFC" - }, - { - "type": "String", - "value": "normalizeUTF8NFD" - }, - { - "type": "String", - "value": "normalizeUTF8NFKC" - }, - { - "type": "String", - "value": "normalizeUTF8NFKD" - }, - { - "type": "String", - "value": "lemmatize" - }, - { - "type": "String", - "value": "tokenize" - }, - { - "type": "String", - "value": "stem" - }, - { - "type": "String", - "value": "synonyms" - }, - { - "type": "String", - "value": "kql_array_sort_asc" - }, - { - "type": "String", - "value": "kql_array_sort_desc" - }, - { - "type": "String", - "value": "detectCharset" - }, - { - "type": "String", - "value": "detectLanguageUnknown" - }, - { - "type": "String", - "value": "detectProgrammingLanguage" - }, - { - "type": "String", - "value": "detectTonality" - }, - { - "type": "String", - "value": "bech32Encode" - }, - { - "type": "String", - "value": "bech32Decode" - }, - { - "type": "String", - "value": "BLAKE3" - }, - { - "type": "String", - "value": "JSONMergePatch" - }, - { - "type": "String", - "value": "MD4" - }, - { - "type": "String", - "value": "MD5" - }, - { - "type": "String", - "value": "RIPEMD160" - }, - { - "type": "String", - "value": "SHA1" - }, - { - "type": "String", - "value": "SHA224" - }, - { - "type": "String", - "value": "SHA256" - }, - { - "type": "String", - "value": "SHA384" - }, - { - "type": "String", - "value": "SHA512" - }, - { - "type": "String", - "value": "SHA512_256" - }, - { - "type": "String", - "value": "ULIDStringToDateTime" - }, - { - "type": "String", - "value": "generateULID" - }, - { - "type": "String", - "value": "halfMD5" - }, - { - "type": "String", - "value": "idnaDecode" - }, - { - "type": "String", - "value": "idnaEncode" - }, - { - "type": "String", - "value": "keccak256" - }, - { - "type": "String", - "value": "punycodeDecode" - }, - { - "type": "String", - "value": "punycodeEncode" - }, - { - "type": "String", - "value": "seriesPeriodDetectFFT" - }, - { - "type": "String", - "value": "sqidDecode" - }, - { - "type": "String", - "value": "sqidEncode" - }, - { - "type": "String", - "value": "tryDecrypt" - }, - { - "type": "String", - "value": "tryIdnaEncode" - }, - { - "type": "String", - "value": "tryPunycodeDecode" - }, - { - "type": "String", - "value": "uniqThetaIntersect" - }, - { - "type": "String", - "value": "uniqThetaNot" - }, - { - "type": "String", - "value": "uniqThetaUnion" - } - ] - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02416_grouping_function_compatibility/ast.json b/parser/testdata/02416_grouping_function_compatibility/ast.json deleted file mode 100644 index 6a5d17d6f0..0000000000 --- a/parser/testdata/02416_grouping_function_compatibility/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test02416", - "tables": [ - { - "table": "test02416" - } - ] -} diff --git a/parser/testdata/02416_in_set_same_ast_diff_columns/ast.json b/parser/testdata/02416_in_set_same_ast_diff_columns/ast.json deleted file mode 100644 index c9c85b9ab2..0000000000 --- a/parser/testdata/02416_in_set_same_ast_diff_columns/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "set_crash", - "columns": [ - { - "name": "key1", - "type": { - "name": "Int32" - } - }, - { - "name": "id1", - "type": { - "name": "Int64" - } - }, - { - "name": "c1", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key1" - ] - } - ], - "partition_by": { - "parts": [ - "id1" - ] - } -} diff --git a/parser/testdata/02416_json_tuple_to_array_schema_inference/ast.json b/parser/testdata/02416_json_tuple_to_array_schema_inference/ast.json deleted file mode 100644 index 885b13243a..0000000000 --- a/parser/testdata/02416_json_tuple_to_array_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_infer_array_of_dynamic_from_array_of_different_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02416_keeper_map/ast.json b/parser/testdata/02416_keeper_map/ast.json deleted file mode 100644 index 53a0f207d2..0000000000 --- a/parser/testdata/02416_keeper_map/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "02416_test", - "tables": [ - { - "table": "02416_test" - } - ], - "sync": true -} diff --git a/parser/testdata/02416_rocksdb_delete_update/ast.json b/parser/testdata/02416_rocksdb_delete_update/ast.json deleted file mode 100644 index cfc0566263..0000000000 --- a/parser/testdata/02416_rocksdb_delete_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02416_rocksdb", - "tables": [ - { - "table": "02416_rocksdb" - } - ] -} diff --git a/parser/testdata/02416_row_policy_always_false_index/ast.json b/parser/testdata/02416_row_policy_always_false_index/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/02416_row_policy_always_false_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/02417_from_select_syntax/ast.json b/parser/testdata/02417_from_select_syntax/ast.json deleted file mode 100644 index b9e19ff2d2..0000000000 --- a/parser/testdata/02417_from_select_syntax/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02417_json_object_each_row_format/ast.json b/parser/testdata/02417_json_object_each_row_format/ast.json deleted file mode 100644 index 0a95182900..0000000000 --- a/parser/testdata/02417_json_object_each_row_format/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02417_keeper_map_create_drop/ast.json b/parser/testdata/02417_keeper_map_create_drop/ast.json deleted file mode 100644 index 911a1cc286..0000000000 --- a/parser/testdata/02417_keeper_map_create_drop/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "02417_test", - "tables": [ - { - "table": "02417_test" - } - ], - "sync": true -} diff --git a/parser/testdata/02417_null_variadic_behaviour/ast.json b/parser/testdata/02417_null_variadic_behaviour/ast.json deleted file mode 100644 index 2f9ae48c7e..0000000000 --- a/parser/testdata/02417_null_variadic_behaviour/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "avgWeighted", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "t" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02418_aggregate_combinators/ast.json b/parser/testdata/02418_aggregate_combinators/ast.json deleted file mode 100644 index 542c9597ff..0000000000 --- a/parser/testdata/02418_aggregate_combinators/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqStateMap", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02418_keeper_map_keys_limit/ast.json b/parser/testdata/02418_keeper_map_keys_limit/ast.json deleted file mode 100644 index b0f94d000a..0000000000 --- a/parser/testdata/02418_keeper_map_keys_limit/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "02418_test", - "tables": [ - { - "table": "02418_test" - } - ], - "sync": true -} diff --git a/parser/testdata/02418_tautological_if_index/ast.json b/parser/testdata/02418_tautological_if_index/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02418_tautological_if_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02419_contingency_array_nullable/ast.json b/parser/testdata/02419_contingency_array_nullable/ast.json deleted file mode 100644 index 677ed21b4b..0000000000 --- a/parser/testdata/02419_contingency_array_nullable/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "contingency", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02420_final_setting_analyzer/ast.json b/parser/testdata/02420_final_setting_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02420_final_setting_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02420_key_condition_actions_dag_bug_40599/ast.json b/parser/testdata/02420_key_condition_actions_dag_bug_40599/ast.json deleted file mode 100644 index e628ec6e03..0000000000 --- a/parser/testdata/02420_key_condition_actions_dag_bug_40599/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "tba", - "columns": [ - { - "name": "event_id", - "type": { - "name": "Int64" - } - }, - { - "name": "event_dt", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "event_id" - ] - } - ] -} diff --git a/parser/testdata/02421_decimal_in_precision_issue_41125/ast.json b/parser/testdata/02421_decimal_in_precision_issue_41125/ast.json deleted file mode 100644 index d13c9dc82c..0000000000 --- a/parser/testdata/02421_decimal_in_precision_issue_41125/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dtest", - "tables": [ - { - "table": "dtest" - } - ] -} diff --git a/parser/testdata/02421_exponential_join_rewrite_21557/ast.json b/parser/testdata/02421_exponential_join_rewrite_21557/ast.json deleted file mode 100644 index 02b7e63a05..0000000000 --- a/parser/testdata/02421_exponential_join_rewrite_21557/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "store_returns", - "tables": [ - { - "table": "store_returns" - } - ] -} diff --git a/parser/testdata/02421_json_decimals_as_strings/ast.json b/parser/testdata/02421_json_decimals_as_strings/ast.json deleted file mode 100644 index 280ffb91ec..0000000000 --- a/parser/testdata/02421_json_decimals_as_strings/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Float", - "value": 42.42 - }, - { - "type": "Integer", - "value": 5 - } - ], - "alias": "d" - } - ], - "settings": [ - { - "name": "output_format_json_quote_decimals", - "value": { - "type": "Integer", - "value": 1 - } - } - ], - "format": { - "parts": [ - "JSONEachRow" - ] - } - } - ] -} diff --git a/parser/testdata/02422_insert_different_granularity/ast.json b/parser/testdata/02422_insert_different_granularity/ast.json deleted file mode 100644 index ec6445d579..0000000000 --- a/parser/testdata/02422_insert_different_granularity/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "=== ataptive granularity: table one -; table two + ===" - } - ] - } - ] -} diff --git a/parser/testdata/02422_msgpack_uuid_wrong_column/ast.json b/parser/testdata/02422_msgpack_uuid_wrong_column/ast.json deleted file mode 100644 index 9b07110b40..0000000000 --- a/parser/testdata/02422_msgpack_uuid_wrong_column/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "02422_data", - "msgpack" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "f4cdd80d-5d15-4bdc-9527-adcca635ec1f" - } - ], - "alias": "uuid" - } - ], - "settings": [ - { - "name": "output_format_msgpack_uuid_representation", - "value": { - "type": "String", - "value": "ext" - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02422_read_numbers_as_strings/ast.json b/parser/testdata/02422_read_numbers_as_strings/ast.json deleted file mode 100644 index 7ab2d39ecb..0000000000 --- a/parser/testdata/02422_read_numbers_as_strings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_read_numbers_as_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02425_categorical_information_value_properties/ast.json b/parser/testdata/02425_categorical_information_value_properties/ast.json deleted file mode 100644 index 89654045e0..0000000000 --- a/parser/testdata/02425_categorical_information_value_properties/ast.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "categoricalInformationValue", - "arguments": [ - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02426_create_suspicious_fixed_string/ast.json b/parser/testdata/02426_create_suspicious_fixed_string/ast.json deleted file mode 100644 index afa44ec05f..0000000000 --- a/parser/testdata/02426_create_suspicious_fixed_string/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table": "fixed_string", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "s", - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 256 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/02426_pod_array_overflow_2/ast.json b/parser/testdata/02426_pod_array_overflow_2/ast.json deleted file mode 100644 index 8d0c597d1a..0000000000 --- a/parser/testdata/02426_pod_array_overflow_2/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "Native" - ] - }, - { - "type": "String", - "value": "\u0002\u0002\u0002k0#Array(Tuple(FixedString(1), Int64))\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000�����\u0000����������������\u0000�\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000d\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000�1?Vi\u0011�%" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02427_column_nullable_ubsan/ast.json b/parser/testdata/02427_column_nullable_ubsan/ast.json deleted file mode 100644 index 987a70958d..0000000000 --- a/parser/testdata/02427_column_nullable_ubsan/ast.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "a" - }, - { - "name": "toNullable", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "b" - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 1000000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "b" - ] - }, - "descending": true - }, - { - "expression": { - "parts": [ - "c" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1500 - } - } - ] - } - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02427_msan_group_array_resample/ast.json b/parser/testdata/02427_msan_group_array_resample/ast.json deleted file mode 100644 index 19989c48ad..0000000000 --- a/parser/testdata/02427_msan_group_array_resample/ast.json +++ /dev/null @@ -1,141 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "finalizeAggregation", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - }, - { - "parts": [ - "state" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupArrayResample", - "parameters": [ - { - "type": "Integer", - "value": 9223372036854775806 - }, - { - "type": "Integer", - "value": 1048575 - }, - { - "type": "Integer", - "value": 65537 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ] - }, - { - "name": "groupArrayStateResample", - "parameters": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 2147483648 - }, - { - "type": "Integer", - "value": 65535 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 9223372036854775806 - } - } - ], - "alias": "state" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/ast.json b/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/ast.json deleted file mode 100644 index 2babe478d0..0000000000 --- a/parser/testdata/02427_mutate_and_zero_copy_replication_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mutate_and_zero_copy_replication1", - "tables": [ - { - "table": "mutate_and_zero_copy_replication1" - } - ] -} diff --git a/parser/testdata/02428_combinators_with_over_statement/ast.json b/parser/testdata/02428_combinators_with_over_statement/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02428_combinators_with_over_statement/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02428_decimal_in_floating_point_literal/ast.json b/parser/testdata/02428_decimal_in_floating_point_literal/ast.json deleted file mode 100644 index 6c59d5ca10..0000000000 --- a/parser/testdata/02428_decimal_in_floating_point_literal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal_in_float_test", - "tables": [ - { - "table": "decimal_in_float_test" - } - ] -} diff --git a/parser/testdata/02428_delete_with_settings/ast.json b/parser/testdata/02428_delete_with_settings/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02428_delete_with_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02428_index_analysis_with_null_literal/ast.json b/parser/testdata/02428_index_analysis_with_null_literal/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02428_index_analysis_with_null_literal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02428_partial_sort_optimization_bug/ast.json b/parser/testdata/02428_partial_sort_optimization_bug/ast.json deleted file mode 100644 index aaeed02418..0000000000 --- a/parser/testdata/02428_partial_sort_optimization_bug/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "table": "partial_sort_opt_bug", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 1000 - } - } - ] -} diff --git a/parser/testdata/02429_combinators_in_array_reduce/ast.json b/parser/testdata/02429_combinators_in_array_reduce/ast.json deleted file mode 100644 index 4e8f3a5421..0000000000 --- a/parser/testdata/02429_combinators_in_array_reduce/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "uniqStateMap" - }, - { - "type": "Array", - "value": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02429_groupBitmap_chain_state/ast.json b/parser/testdata/02429_groupBitmap_chain_state/ast.json deleted file mode 100644 index 4e7f9eedf0..0000000000 --- a/parser/testdata/02429_groupBitmap_chain_state/ast.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupBitmapAnd", - "arguments": [ - { - "parts": [ - "z" - ] - } - ], - "alias": "y" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupBitmapState", - "arguments": [ - { - "parts": [ - "u" - ] - } - ], - "alias": "z" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 123 - }, - "alias": "u" - } - ] - } - ] - } - }, - "alias": "a1" - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02429_offset_pipeline_stuck_bug/ast.json b/parser/testdata/02429_offset_pipeline_stuck_bug/ast.json deleted file mode 100644 index 5d98884836..0000000000 --- a/parser/testdata/02429_offset_pipeline_stuck_bug/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "t", - "engine": { - "name": "Log" - }, - "as_select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] - } -} diff --git a/parser/testdata/02430_bitmap_transform_exception_code/ast.json b/parser/testdata/02430_bitmap_transform_exception_code/ast.json deleted file mode 100644 index 49eb659f0a..0000000000 --- a/parser/testdata/02430_bitmap_transform_exception_code/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitmapTransform", - "arguments": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "groupBitmapState" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02430_initialize_aggregation_with_combinators/ast.json b/parser/testdata/02430_initialize_aggregation_with_combinators/ast.json deleted file mode 100644 index 0f91b42e2e..0000000000 --- a/parser/testdata/02430_initialize_aggregation_with_combinators/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "uniqStateMap" - }, - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02431_single_value_or_null_empty/ast.json b/parser/testdata/02431_single_value_or_null_empty/ast.json deleted file mode 100644 index 226b2b0488..0000000000 --- a/parser/testdata/02431_single_value_or_null_empty/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "singleValueOrNull", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] - }, - "with_totals": true - } - ] -} diff --git a/parser/testdata/02433_default_expression_operator_in/ast.json b/parser/testdata/02433_default_expression_operator_in/ast.json deleted file mode 100644 index 1e3d83dfd9..0000000000 --- a/parser/testdata/02433_default_expression_operator_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dep", - "tables": [ - { - "table": "dep" - } - ] -} diff --git a/parser/testdata/02436_system_zookeeper_context/ast.json b/parser/testdata/02436_system_zookeeper_context/ast.json deleted file mode 100644 index 1450425ed6..0000000000 --- a/parser/testdata/02436_system_zookeeper_context/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ] -} diff --git a/parser/testdata/02438_sync_replica_lightweight/ast.json b/parser/testdata/02438_sync_replica_lightweight/ast.json deleted file mode 100644 index 540be6d2e3..0000000000 --- a/parser/testdata/02438_sync_replica_lightweight/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_warmed_unmerged_parts_seconds", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02439_merge_selecting_partitions/ast.json b/parser/testdata/02439_merge_selecting_partitions/ast.json deleted file mode 100644 index 790bc2a244..0000000000 --- a/parser/testdata/02439_merge_selecting_partitions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rmt", - "tables": [ - { - "table": "rmt" - } - ] -} diff --git a/parser/testdata/02440_mutations_finalization/ast.json b/parser/testdata/02440_mutations_finalization/ast.json deleted file mode 100644 index 58cd185b15..0000000000 --- a/parser/testdata/02440_mutations_finalization/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "mut", - "columns": [ - { - "name": "n", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/test/02440/{database}/mut" - }, - { - "type": "String", - "value": "1" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02441_alter_delete_and_drop_column/ast.json b/parser/testdata/02441_alter_delete_and_drop_column/ast.json deleted file mode 100644 index 4a82d42ba3..0000000000 --- a/parser/testdata/02441_alter_delete_and_drop_column/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "mut", - "columns": [ - { - "name": "n", - "type": { - "name": "int" - } - }, - { - "name": "m", - "type": { - "name": "int" - } - }, - { - "name": "k", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/test/02441/{database}/mut" - }, - { - "type": "String", - "value": "1" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "n" - ] - } - ] -} diff --git a/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/ast.json b/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/ast.json deleted file mode 100644 index 6c43eb5c43..0000000000 --- a/parser/testdata/02442_auxiliary_zookeeper_endpoint_id/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1_r1", - "tables": [ - { - "table": "t1_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/02448_clone_replica_lost_part/ast.json b/parser/testdata/02448_clone_replica_lost_part/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/02448_clone_replica_lost_part/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02449_check_dependencies_and_table_shutdown/ast.json b/parser/testdata/02449_check_dependencies_and_table_shutdown/ast.json deleted file mode 100644 index e6e111e024..0000000000 --- a/parser/testdata/02449_check_dependencies_and_table_shutdown/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table", - "tables": [ - { - "table": "table" - } - ] -} diff --git a/parser/testdata/02451_variadic_null_garbage_data/ast.json b/parser/testdata/02451_variadic_null_garbage_data/ast.json deleted file mode 100644 index 96e21289b0..0000000000 --- a/parser/testdata/02451_variadic_null_garbage_data/ast.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argMax", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "n" - ] - }, - { - "parts": [ - "n" - ] - } - ] - }, - { - "parts": [ - "n" - ] - } - ], - "alias": "t" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "t" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e=", - "right": { - "type": "Integer", - "value": 100 - } - }, - { - "type": "Null", - "value": null - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "n" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02452_check_low_cardinality/ast.json b/parser/testdata/02452_check_low_cardinality/ast.json deleted file mode 100644 index e6a5a76e97..0000000000 --- a/parser/testdata/02452_check_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_low_cardinality_string", - "tables": [ - { - "table": "test_low_cardinality_string" - } - ] -} diff --git a/parser/testdata/02452_json_utf8_validation/ast.json b/parser/testdata/02452_json_utf8_validation/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/02452_json_utf8_validation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02453_check_path_in_errors_logger/ast.json b/parser/testdata/02453_check_path_in_errors_logger/ast.json deleted file mode 100644 index abcd82f8d6..0000000000 --- a/parser/testdata/02453_check_path_in_errors_logger/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "02453_data", - "jsonl" - ] - }, - { - "parts": [ - "TSV" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02454_compressed_marks_in_compact_part/ast.json b/parser/testdata/02454_compressed_marks_in_compact_part/ast.json deleted file mode 100644 index 4961807eda..0000000000 --- a/parser/testdata/02454_compressed_marks_in_compact_part/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "cc", - "tables": [ - { - "table": "cc" - } - ], - "sync": true -} diff --git a/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/ast.json b/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/ast.json deleted file mode 100644 index c87116bbf0..0000000000 --- a/parser/testdata/02454_disable_mergetree_with_lightweight_delete_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_row_exists", - "tables": [ - { - "table": "t_row_exists" - } - ] -} diff --git a/parser/testdata/02454_json_object_each_row_column_for_object_name/ast.json b/parser/testdata/02454_json_object_each_row_column_for_object_name/ast.json deleted file mode 100644 index 3420338ae5..0000000000 --- a/parser/testdata/02454_json_object_each_row_column_for_object_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "format_json_object_each_row_column_for_object_name", - "value": { - "type": "String", - "value": "name" - } - } - ] -} diff --git a/parser/testdata/02455_count_state_asterisk/ast.json b/parser/testdata/02455_count_state_asterisk/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/02455_count_state_asterisk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/02455_extract_fixed_string_from_nested_json/ast.json b/parser/testdata/02455_extract_fixed_string_from_nested_json/ast.json deleted file mode 100644 index 7bf794bc73..0000000000 --- a/parser/testdata/02455_extract_fixed_string_from_nested_json/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_fixed_string_nested_json", - "tables": [ - { - "table": "test_fixed_string_nested_json" - } - ] -} diff --git a/parser/testdata/02456_BLAKE3_hash_function_test/ast.json b/parser/testdata/02456_BLAKE3_hash_function_test/ast.json deleted file mode 100644 index 38d20afdc5..0000000000 --- a/parser/testdata/02456_BLAKE3_hash_function_test/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "BLAKE3", - "arguments": [ - { - "type": "String", - "value": "test_1" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02456_aggregate_state_conversion/ast.json b/parser/testdata/02456_aggregate_state_conversion/ast.json deleted file mode 100644 index 3363c10100..0000000000 --- a/parser/testdata/02456_aggregate_state_conversion/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "expr": { - "parts": [ - "x" - ] - }, - "type": { - "name": "AggregateFunction(sum, Decimal(50, 10))" - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "String", - "value": "sumState" - }, - { - "type": "Array", - "value": [ - { - "name": "toDecimal256", - "arguments": [ - { - "type": "String", - "value": "0.0000010.000001" - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ], - "alias": "x" - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "x" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02456_alter-nullable-column-bag-2/ast.json b/parser/testdata/02456_alter-nullable-column-bag-2/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/02456_alter-nullable-column-bag-2/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/02456_alter-nullable-column-bag/ast.json b/parser/testdata/02456_alter-nullable-column-bag/ast.json deleted file mode 100644 index a7892c088a..0000000000 --- a/parser/testdata/02456_alter-nullable-column-bag/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "column_modify_test", - "tables": [ - { - "table": "column_modify_test" - } - ] -} diff --git a/parser/testdata/02456_datetime_schema_inference/ast.json b/parser/testdata/02456_datetime_schema_inference/ast.json deleted file mode 100644 index 83991ec566..0000000000 --- a/parser/testdata/02456_datetime_schema_inference/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "type": "String", - "value": "TSV" - }, - { - "type": "String", - "value": "222222222222222" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02456_keeper_retries_during_insert/ast.json b/parser/testdata/02456_keeper_retries_during_insert/ast.json deleted file mode 100644 index 016a716b2f..0000000000 --- a/parser/testdata/02456_keeper_retries_during_insert/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "keeper_retries_r1", - "tables": [ - { - "table": "keeper_retries_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/02456_summing_mt_lc/ast.json b/parser/testdata/02456_summing_mt_lc/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02456_summing_mt_lc/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02457_filesystem_function/ast.json b/parser/testdata/02457_filesystem_function/ast.json deleted file mode 100644 index 253f155549..0000000000 --- a/parser/testdata/02457_filesystem_function/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "filesystemCapacity", - "arguments": [ - { - "type": "String", - "value": "s3_disk" - } - ] - }, - "op": "\u003e=", - "right": { - "name": "filesystemAvailable", - "arguments": [ - { - "type": "String", - "value": "s3_disk" - } - ] - } - }, - "op": "AND", - "right": { - "left": { - "name": "filesystemAvailable", - "arguments": [ - { - "type": "String", - "value": "s3_disk" - } - ] - }, - "op": "\u003e=", - "right": { - "name": "filesystemUnreserved", - "arguments": [ - { - "type": "String", - "value": "s3_disk" - } - ] - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/ast.json b/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02457_key_condition_with_types_that_cannot_be_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02457_morton_coding/ast.json b/parser/testdata/02457_morton_coding/ast.json deleted file mode 100644 index 46aa82ec30..0000000000 --- a/parser/testdata/02457_morton_coding/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----- START -----" - } - ] - } - ] -} diff --git a/parser/testdata/02457_morton_coding_with_mask/ast.json b/parser/testdata/02457_morton_coding_with_mask/ast.json deleted file mode 100644 index 46aa82ec30..0000000000 --- a/parser/testdata/02457_morton_coding_with_mask/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----- START -----" - } - ] - } - ] -} diff --git a/parser/testdata/02457_parse_date_time_best_effort/ast.json b/parser/testdata/02457_parse_date_time_best_effort/ast.json deleted file mode 100644 index 5a648cd4e3..0000000000 --- a/parser/testdata/02457_parse_date_time_best_effort/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "type": "String", - "value": "01/12/2017, 18:31:44" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02458_datediff_date32/ast.json b/parser/testdata/02458_datediff_date32/ast.json deleted file mode 100644 index b66720c967..0000000000 --- a/parser/testdata/02458_datediff_date32/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "second" - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-01" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-02" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02458_default_setting/ast.json b/parser/testdata/02458_default_setting/ast.json deleted file mode 100644 index b9b43c75cb..0000000000 --- a/parser/testdata/02458_default_setting/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "value" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "max_insert_block_size" - } - } - } - ] -} diff --git a/parser/testdata/02458_key_condition_not_like_prefix/ast.json b/parser/testdata/02458_key_condition_not_like_prefix/ast.json deleted file mode 100644 index 7bd1ac0f2c..0000000000 --- a/parser/testdata/02458_key_condition_not_like_prefix/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "data", - "columns": [ - { - "name": "str", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "str" - ] - } - ] -} diff --git a/parser/testdata/02458_relax_too_many_parts/ast.json b/parser/testdata/02458_relax_too_many_parts/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02458_relax_too_many_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02458_use_structure_from_insertion_table/ast.json b/parser/testdata/02458_use_structure_from_insertion_table/ast.json deleted file mode 100644 index ab48bdc6f0..0000000000 --- a/parser/testdata/02458_use_structure_from_insertion_table/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "02458_data", - "jsonl" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Null", - "value": null - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 42 - }, - "alias": "y" - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02459_group_by_all/ast.json b/parser/testdata/02459_group_by_all/ast.json deleted file mode 100644 index d5fbfd0324..0000000000 --- a/parser/testdata/02459_group_by_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "group_by_all", - "tables": [ - { - "table": "group_by_all" - } - ] -} diff --git a/parser/testdata/02459_low_cardinality_uint128_aggregator/ast.json b/parser/testdata/02459_low_cardinality_uint128_aggregator/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02459_low_cardinality_uint128_aggregator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02459_materialized_view_default_value/ast.json b/parser/testdata/02459_materialized_view_default_value/ast.json deleted file mode 100644 index 7525c60465..0000000000 --- a/parser/testdata/02459_materialized_view_default_value/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "session", - "tables": [ - { - "table": "session" - } - ] -} diff --git a/parser/testdata/02459_read_in_order_bufer/ast.json b/parser/testdata/02459_read_in_order_bufer/ast.json deleted file mode 100644 index 2fa974ab3b..0000000000 --- a/parser/testdata/02459_read_in_order_bufer/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "mytable_stored", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/02460_prewhere_row_level_policy/ast.json b/parser/testdata/02460_prewhere_row_level_policy/ast.json deleted file mode 100644 index 179d3db27a..0000000000 --- a/parser/testdata/02460_prewhere_row_level_policy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "row_level_policy_prewhere", - "tables": [ - { - "table": "row_level_policy_prewhere" - } - ] -} diff --git a/parser/testdata/02461_alter_update_respect_part_column_type_bug/ast.json b/parser/testdata/02461_alter_update_respect_part_column_type_bug/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/02461_alter_update_respect_part_column_type_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/02461_join_lc_issue_42380/ast.json b/parser/testdata/02461_join_lc_issue_42380/ast.json deleted file mode 100644 index 2ad952af76..0000000000 --- a/parser/testdata/02461_join_lc_issue_42380/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1__fuzz_13", - "tables": [ - { - "table": "t1__fuzz_13" - } - ] -} diff --git a/parser/testdata/02461_mullable_pk_monotonicity_bug/ast.json b/parser/testdata/02461_mullable_pk_monotonicity_bug/ast.json deleted file mode 100644 index 5eb42ecb61..0000000000 --- a/parser/testdata/02461_mullable_pk_monotonicity_bug/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ], - "settings": [ - { - "name": "allow_nullable_key", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02461_welch_t_test_fuzz/ast.json b/parser/testdata/02461_welch_t_test_fuzz/ast.json deleted file mode 100644 index 9119bf9957..0000000000 --- a/parser/testdata/02461_welch_t_test_fuzz/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "welch_ttest__fuzz_7", - "tables": [ - { - "table": "welch_ttest__fuzz_7" - } - ] -} diff --git a/parser/testdata/02462_match_regexp_pk/ast.json b/parser/testdata/02462_match_regexp_pk/ast.json deleted file mode 100644 index 6be5381b4e..0000000000 --- a/parser/testdata/02462_match_regexp_pk/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "mt_match_pk", - "columns": [ - { - "name": "v", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "v" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02462_number_to_datetype/ast.json b/parser/testdata/02462_number_to_datetype/ast.json deleted file mode 100644 index 4b13f23125..0000000000 --- a/parser/testdata/02462_number_to_datetype/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toYYYYMMDD", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "parts": [ - "recordTimestamp" - ] - }, - { - "type": "String", - "value": "Europe/Amsterdam" - } - ] - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "parts": [ - "recordTimestamp" - ] - }, - { - "type": "String", - "value": "Europe/Amsterdam" - } - ] - }, - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 1665519765 - } - ], - "alias": "recordTimestamp" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "recordTimestamp" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02463_julian_day_ubsan/ast.json b/parser/testdata/02463_julian_day_ubsan/ast.json deleted file mode 100644 index 1a79d0fc96..0000000000 --- a/parser/testdata/02463_julian_day_ubsan/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fromModifiedJulianDay", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 9223372036854775807 - }, - "type": { - "name": "Int64" - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02464_decimal_scale_buffer_overflow/ast.json b/parser/testdata/02464_decimal_scale_buffer_overflow/ast.json deleted file mode 100644 index 028290e94b..0000000000 --- a/parser/testdata/02464_decimal_scale_buffer_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "series__fuzz_35", - "tables": [ - { - "table": "series__fuzz_35" - } - ] -} diff --git a/parser/testdata/02465_limit_trivial_max_rows_to_read/ast.json b/parser/testdata/02465_limit_trivial_max_rows_to_read/ast.json deleted file mode 100644 index aa34e4a9db..0000000000 --- a/parser/testdata/02465_limit_trivial_max_rows_to_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_max_rows_to_read", - "tables": [ - { - "table": "t_max_rows_to_read" - } - ] -} diff --git a/parser/testdata/02467_set_with_lowcardinality_type/ast.json b/parser/testdata/02467_set_with_lowcardinality_type/ast.json deleted file mode 100644 index 45510cacc2..0000000000 --- a/parser/testdata/02467_set_with_lowcardinality_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_nullable_index__fuzz_0", - "tables": [ - { - "table": "bloom_filter_nullable_index__fuzz_0" - } - ] -} diff --git a/parser/testdata/02468_has_any_tuple/ast.json b/parser/testdata/02468_has_any_tuple/ast.json deleted file mode 100644 index 042408a7ce..0000000000 --- a/parser/testdata/02468_has_any_tuple/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "name": "toUInt8", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - }, - "op": "=", - "right": { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "name": "toInt16", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02469_interval_msan/ast.json b/parser/testdata/02469_interval_msan/ast.json deleted file mode 100644 index 1231e016c6..0000000000 --- a/parser/testdata/02469_interval_msan/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "now" - }, - "op": "+", - "right": { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "Int128" - }, - "operator_syntax": true - } - } - ] - } - ] -} diff --git a/parser/testdata/02470_suspicious_low_cardinality_msan/ast.json b/parser/testdata/02470_suspicious_low_cardinality_msan/ast.json deleted file mode 100644 index 1b383ccf63..0000000000 --- a/parser/testdata/02470_suspicious_low_cardinality_msan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alias_2__fuzz_25", - "tables": [ - { - "table": "alias_2__fuzz_25" - } - ] -} diff --git a/parser/testdata/02471_wrong_date_monotonicity/ast.json b/parser/testdata/02471_wrong_date_monotonicity/ast.json deleted file mode 100644 index f076c8c186..0000000000 --- a/parser/testdata/02471_wrong_date_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tdm__fuzz_23", - "tables": [ - { - "table": "tdm__fuzz_23" - } - ] -} diff --git a/parser/testdata/02473_extract_low_cardinality_from_json/ast.json b/parser/testdata/02473_extract_low_cardinality_from_json/ast.json deleted file mode 100644 index 0d59213592..0000000000 --- a/parser/testdata/02473_extract_low_cardinality_from_json/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"a\" : {\"b\" : {\"c\" : 1, \"d\" : \"str\"}}}" - }, - { - "type": "String", - "value": "Tuple( a LowCardinality(String), b LowCardinality(String), c LowCardinality(String), d LowCardinality(String))" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02473_map_element_nullable/ast.json b/parser/testdata/02473_map_element_nullable/ast.json deleted file mode 100644 index b73bd89e88..0000000000 --- a/parser/testdata/02473_map_element_nullable/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "m", - "query": { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Null", - "value": null - } - ] - } - } - ], - "columns": [ - { - "array": { - "parts": [ - "m" - ] - }, - "index": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - { - "array": { - "parts": [ - "m" - ] - }, - "index": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - }, - { - "array": { - "parts": [ - "m" - ] - }, - "index": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02473_prewhere_with_bigint/ast.json b/parser/testdata/02473_prewhere_with_bigint/ast.json deleted file mode 100644 index af8ba7883d..0000000000 --- a/parser/testdata/02473_prewhere_with_bigint/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prewhere_int128", - "tables": [ - { - "table": "prewhere_int128" - } - ] -} diff --git a/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/ast.json b/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02474_analyzer_subqueries_table_expression_modifiers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02474_extract_fixedstring_from_json/ast.json b/parser/testdata/02474_extract_fixedstring_from_json/ast.json deleted file mode 100644 index e3866ea96d..0000000000 --- a/parser/testdata/02474_extract_fixedstring_from_json/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"a\": 123456}" - }, - { - "type": "String", - "value": "FixedString(11)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02474_timeDiff_UTCTimestamp/ast.json b/parser/testdata/02474_timeDiff_UTCTimestamp/ast.json deleted file mode 100644 index 8c242624e3..0000000000 --- a/parser/testdata/02474_timeDiff_UTCTimestamp/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "second" - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-01" - } - ] - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-02" - } - ] - } - ] - }, - "op": "-", - "right": { - "name": "timeDiff", - "arguments": [ - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-01" - } - ] - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-02" - } - ] - } - ] - } - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] -} diff --git a/parser/testdata/02474_unhex_in_fix_string/ast.json b/parser/testdata/02474_unhex_in_fix_string/ast.json deleted file mode 100644 index 7acdbc829e..0000000000 --- a/parser/testdata/02474_unhex_in_fix_string/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "unhex_in_fix_string_table", - "tables": [ - { - "table": "unhex_in_fix_string_table" - } - ] -} diff --git a/parser/testdata/02475_analysis_of_variance/ast.json b/parser/testdata/02475_analysis_of_variance/ast.json deleted file mode 100644 index 38485aeae4..0000000000 --- a/parser/testdata/02475_analysis_of_variance/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "analysisOfVariance", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02475_analyzer_join_tree_subquery/ast.json b/parser/testdata/02475_analyzer_join_tree_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02475_analyzer_join_tree_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02475_analyzer_subquery_compound_expression/ast.json b/parser/testdata/02475_analyzer_subquery_compound_expression/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02475_analyzer_subquery_compound_expression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/ast.json b/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/ast.json deleted file mode 100644 index 0afe441fc6..0000000000 --- a/parser/testdata/02475_bad_cast_low_cardinality_to_string_bug/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "extract", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "expr": { - "type": "String", - "value": "aaaaaa" - }, - "type": { - "name": "LowCardinality(String)" - } - } - ] - }, - { - "type": "String", - "value": "\\w" - } - ] - }, - { - "name": "extract", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "expr": { - "type": "String", - "value": "bbbbb" - }, - "type": { - "name": "LowCardinality(String)" - } - } - ] - }, - { - "type": "String", - "value": "\\w*" - } - ] - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02475_date_time_schema_inference_bug/ast.json b/parser/testdata/02475_date_time_schema_inference_bug/ast.json deleted file mode 100644 index ccfe1df9c1..0000000000 --- a/parser/testdata/02475_date_time_schema_inference_bug/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "\"\"" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02475_join_bug_42832/ast.json b/parser/testdata/02475_join_bug_42832/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/02475_join_bug_42832/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/02475_or_function_alias_and_const_where/ast.json b/parser/testdata/02475_or_function_alias_and_const_where/ast.json deleted file mode 100644 index 95d578b0aa..0000000000 --- a/parser/testdata/02475_or_function_alias_and_const_where/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - }, - "alias": "value" - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "value" - ] - } - ], - "over": {} - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02475_positive_modulo/ast.json b/parser/testdata/02475_positive_modulo/ast.json deleted file mode 100644 index d729df28c8..0000000000 --- a/parser/testdata/02475_positive_modulo/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "positive_modulo", - "arguments": [ - { - "type": "Integer", - "value": 1000 - }, - { - "type": "Integer", - "value": 32 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02475_precise_decimal_arithmetics/ast.json b/parser/testdata/02475_precise_decimal_arithmetics/ast.json deleted file mode 100644 index 337ed2e484..0000000000 --- a/parser/testdata/02475_precise_decimal_arithmetics/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "divideDecimal", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "name": "toDecimal128", - "arguments": [ - { - "type": "Float", - "value": 11.123456 - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02475_split_with_max_substrings/ast.json b/parser/testdata/02475_split_with_max_substrings/ast.json deleted file mode 100644 index b4db085d98..0000000000 --- a/parser/testdata/02475_split_with_max_substrings/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02476_analyzer_join_with_unused_columns/ast.json b/parser/testdata/02476_analyzer_join_with_unused_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02476_analyzer_join_with_unused_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02476_fuse_sum_count/ast.json b/parser/testdata/02476_fuse_sum_count/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02476_fuse_sum_count/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02476_query_parameters_insert/ast.json b/parser/testdata/02476_query_parameters_insert/ast.json deleted file mode 100644 index 65ee3ae946..0000000000 --- a/parser/testdata/02476_query_parameters_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02476_query_parameters_insert", - "tables": [ - { - "table": "02476_query_parameters_insert" - } - ] -} diff --git a/parser/testdata/02476_query_parameters_without_serialisation/ast.json b/parser/testdata/02476_query_parameters_without_serialisation/ast.json deleted file mode 100644 index 74ab93b32e..0000000000 --- a/parser/testdata/02476_query_parameters_without_serialisation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "param_num", - "value": { - "type": "Integer", - "value": 42 - } - } - ] -} diff --git a/parser/testdata/02477_age/ast.json b/parser/testdata/02477_age/ast.json deleted file mode 100644 index bd8c8d97aa..0000000000 --- a/parser/testdata/02477_age/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Various intervals" - } - ] - } - ] -} diff --git a/parser/testdata/02477_age_date32/ast.json b/parser/testdata/02477_age_date32/ast.json deleted file mode 100644 index c30b098ff2..0000000000 --- a/parser/testdata/02477_age_date32/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "age", - "arguments": [ - { - "type": "String", - "value": "second" - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-01" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "1927-01-02" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02477_age_datetime64/ast.json b/parser/testdata/02477_age_datetime64/ast.json deleted file mode 100644 index e8de0a7e08..0000000000 --- a/parser/testdata/02477_age_datetime64/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "age", - "arguments": [ - { - "type": "String", - "value": "second" - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1927-01-01 00:00:00" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1927-01-01 00:00:10" - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02477_analyzer_array_join_with_join/ast.json b/parser/testdata/02477_analyzer_array_join_with_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02477_analyzer_array_join_with_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02477_analyzer_ast_key_condition_crash/ast.json b/parser/testdata/02477_analyzer_ast_key_condition_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02477_analyzer_ast_key_condition_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02477_exists_fuzz_43478/ast.json b/parser/testdata/02477_exists_fuzz_43478/ast.json deleted file mode 100644 index 5e6eb49fdf..0000000000 --- a/parser/testdata/02477_exists_fuzz_43478/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "test_rows_compact_part__fuzz_11", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/02477_fuse_quantiles/ast.json b/parser/testdata/02477_fuse_quantiles/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02477_fuse_quantiles/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02477_invalid_reads/ast.json b/parser/testdata/02477_invalid_reads/ast.json deleted file mode 100644 index 012a21f0e8..0000000000 --- a/parser/testdata/02477_invalid_reads/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "expr": { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "0F00000030" - } - ] - }, - "type": { - "name": "AggregateFunction(min, String)" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02477_is_null_parser/ast.json b/parser/testdata/02477_is_null_parser/ast.json deleted file mode 100644 index ce77ba2a39..0000000000 --- a/parser/testdata/02477_is_null_parser/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "expr": { - "type": "Integer", - "value": 1 - } - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "not": true - } - ] - } - ] - } -} diff --git a/parser/testdata/02477_logical_expressions_optimizer_issue_89803/ast.json b/parser/testdata/02477_logical_expressions_optimizer_issue_89803/ast.json deleted file mode 100644 index a662e66d57..0000000000 --- a/parser/testdata/02477_logical_expressions_optimizer_issue_89803/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Integer" - } - ] - } - ] -} diff --git a/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/ast.json b/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/ast.json deleted file mode 100644 index 103666a0e2..0000000000 --- a/parser/testdata/02477_logical_expressions_optimizer_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_logical_expressions_optimizer_low_cardinality", - "tables": [ - { - "table": "t_logical_expressions_optimizer_low_cardinality" - } - ] -} diff --git a/parser/testdata/02477_single_value_data_string_regression/ast.json b/parser/testdata/02477_single_value_data_string_regression/ast.json deleted file mode 100644 index 9f637a10c8..0000000000 --- a/parser/testdata/02477_single_value_data_string_regression/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "argmaxstate_hex_small", - "columns": [ - { - "name": "v", - "type": { - "name": "String" - } - }, - { - "name": "state", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "TinyLog" - } -} diff --git a/parser/testdata/02478_analyzer_table_expression_aliases/ast.json b/parser/testdata/02478_analyzer_table_expression_aliases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02478_analyzer_table_expression_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02478_factorial/ast.json b/parser/testdata/02478_factorial/ast.json deleted file mode 100644 index 14005368f1..0000000000 --- a/parser/testdata/02478_factorial/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "factorial", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02478_projection_and_alter_low_cardinality/ast.json b/parser/testdata/02478_projection_and_alter_low_cardinality/ast.json deleted file mode 100644 index e8443b5f84..0000000000 --- a/parser/testdata/02478_projection_and_alter_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testing", - "tables": [ - { - "table": "testing" - } - ] -} diff --git a/parser/testdata/02478_projection_with_group_by_alter/ast.json b/parser/testdata/02478_projection_with_group_by_alter/ast.json deleted file mode 100644 index e8443b5f84..0000000000 --- a/parser/testdata/02478_projection_with_group_by_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testing", - "tables": [ - { - "table": "testing" - } - ] -} diff --git a/parser/testdata/02479_analyzer_aggregation_crash/ast.json b/parser/testdata/02479_analyzer_aggregation_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02479_analyzer_aggregation_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/ast.json b/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02479_analyzer_aggregation_totals_rollup_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02479_analyzer_join_with_constants/ast.json b/parser/testdata/02479_analyzer_join_with_constants/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02479_analyzer_join_with_constants/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02479_if_with_null_and_cullable_const/ast.json b/parser/testdata/02479_if_with_null_and_cullable_const/ast.json deleted file mode 100644 index 43dd00ee4e..0000000000 --- a/parser/testdata/02479_if_with_null_and_cullable_const/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Null", - "value": null - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02479_mysql_connect_to_self/ast.json b/parser/testdata/02479_mysql_connect_to_self/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02479_mysql_connect_to_self/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02479_nullable_primary_key_non_first_column/ast.json b/parser/testdata/02479_nullable_primary_key_non_first_column/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02479_nullable_primary_key_non_first_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02480_analyzer_alias_nullptr/ast.json b/parser/testdata/02480_analyzer_alias_nullptr/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02480_analyzer_alias_nullptr/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/ast.json b/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/ast.json deleted file mode 100644 index 05f2c324e9..0000000000 --- a/parser/testdata/02480_every_asynchronous_metric_must_have_documentation/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "metric" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "asynchronous_metrics" - } - } - } - ] - }, - "where": { - "left": { - "name": "length", - "arguments": [ - { - "parts": [ - "description" - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 10 - } - } - } - ] -} diff --git a/parser/testdata/02480_interval_casting_and_subquery/ast.json b/parser/testdata/02480_interval_casting_and_subquery/ast.json deleted file mode 100644 index 97901b448e..0000000000 --- a/parser/testdata/02480_interval_casting_and_subquery/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIntervalSecond", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ], - "alias": "interval" - }, - { - "expr": { - "left": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2017-01-01 00:00:00" - } - ] - }, - "op": "+", - "right": { - "parts": [ - "interval" - ] - } - }, - "alias": "res" - } - ] - } - ] -} diff --git a/parser/testdata/02480_max_map_null_totals/ast.json b/parser/testdata/02480_max_map_null_totals/ast.json deleted file mode 100644 index 2be23f34cd..0000000000 --- a/parser/testdata/02480_max_map_null_totals/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "maxMap", - "arguments": [ - { - "type": "Array", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 4 - } - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02480_parse_date_time_best_effort_math_overflow/ast.json b/parser/testdata/02480_parse_date_time_best_effort_math_overflow/ast.json deleted file mode 100644 index 1c16388914..0000000000 --- a/parser/testdata/02480_parse_date_time_best_effort_math_overflow/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "TSV" - ] - }, - { - "type": "String", - "value": "9279104479c7da1114861274de32208ead91b60e" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "best_effort" - } - } - ] - } - ] -} diff --git a/parser/testdata/02480_s3_support_wildcard/ast.json b/parser/testdata/02480_s3_support_wildcard/ast.json deleted file mode 100644 index 2b537348ed..0000000000 --- a/parser/testdata/02480_s3_support_wildcard/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02480_support_wildcard_write", - "tables": [ - { - "table": "test_02480_support_wildcard_write" - } - ] -} diff --git a/parser/testdata/02480_suspicious_lowcard_in_key/ast.json b/parser/testdata/02480_suspicious_lowcard_in_key/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02480_suspicious_lowcard_in_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02480_tlp_nan/ast.json b/parser/testdata/02480_tlp_nan/ast.json deleted file mode 100644 index 4aea7fa803..0000000000 --- a/parser/testdata/02480_tlp_nan/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sqrt", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ], - "alias": "x" - }, - { - "op": "NOT", - "operand": { - "parts": [ - "x" - ] - } - }, - { - "op": "NOT", - "operand": { - "op": "NOT", - "operand": { - "parts": [ - "x" - ] - } - } - }, - { - "expr": { - "op": "NOT", - "operand": { - "parts": [ - "x" - ] - } - } - } - ], - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02481_aggregation_in_order_plan/ast.json b/parser/testdata/02481_aggregation_in_order_plan/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02481_aggregation_in_order_plan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/ast.json b/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02481_analyzer_join_alias_unknown_identifier_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/ast.json b/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02481_analyzer_optimize_aggregation_arithmetics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/ast.json b/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02481_analyzer_optimize_grouping_sets_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02481_array_join_with_map/ast.json b/parser/testdata/02481_array_join_with_map/ast.json deleted file mode 100644 index 8595d495ff..0000000000 --- a/parser/testdata/02481_array_join_with_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "arrays_test", - "tables": [ - { - "table": "arrays_test" - } - ] -} diff --git a/parser/testdata/02481_default_value_used_in_row_level_filter/ast.json b/parser/testdata/02481_default_value_used_in_row_level_filter/ast.json deleted file mode 100644 index 17be654457..0000000000 --- a/parser/testdata/02481_default_value_used_in_row_level_filter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_rlp", - "tables": [ - { - "table": "test_rlp" - } - ] -} diff --git a/parser/testdata/02481_inject_random_order_for_select_without_order_by/ast.json b/parser/testdata/02481_inject_random_order_for_select_without_order_by/ast.json deleted file mode 100644 index c47893ac26..0000000000 --- a/parser/testdata/02481_inject_random_order_for_select_without_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "inject_random_order_for_select_without_order_by", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02481_low_cardinality_with_short_circuit_functins/ast.json b/parser/testdata/02481_low_cardinality_with_short_circuit_functins/ast.json deleted file mode 100644 index 760e997a06..0000000000 --- a/parser/testdata/02481_low_cardinality_with_short_circuit_functins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "short_circuit_function_evaluation", - "value": { - "type": "String", - "value": "force_enable" - } - } - ] -} diff --git a/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/ast.json b/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/ast.json deleted file mode 100644 index 9667b1b172..0000000000 --- a/parser/testdata/02481_low_cardinality_with_short_circuit_functins_mutations/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "issue_46128", - "tables": [ - { - "table": "issue_46128" - } - ] -} diff --git a/parser/testdata/02481_merge_array_join_sample_by/ast.json b/parser/testdata/02481_merge_array_join_sample_by/ast.json deleted file mode 100644 index 0ec8acd6f9..0000000000 --- a/parser/testdata/02481_merge_array_join_sample_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02481_mergetree", - "tables": [ - { - "table": "02481_mergetree" - } - ] -} diff --git a/parser/testdata/02481_pk_analysis_with_enum_to_string/ast.json b/parser/testdata/02481_pk_analysis_with_enum_to_string/ast.json deleted file mode 100644 index cfd73492ff..0000000000 --- a/parser/testdata/02481_pk_analysis_with_enum_to_string/ast.json +++ /dev/null @@ -1,529 +0,0 @@ -{ - "table": "gen", - "columns": [ - { - "name": "repo_name", - "type": { - "name": "String" - } - }, - { - "name": "event_type", - "type": { - "name": "Enum8", - "parameters": [ - { - "left": { - "type": "String", - "value": "CommitCommentEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "type": "String", - "value": "CreateEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "type": "String", - "value": "DeleteEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "type": "String", - "value": "ForkEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 4 - } - }, - { - "left": { - "type": "String", - "value": "GollumEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 5 - } - }, - { - "left": { - "type": "String", - "value": "IssueCommentEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 6 - } - }, - { - "left": { - "type": "String", - "value": "IssuesEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 7 - } - }, - { - "left": { - "type": "String", - "value": "MemberEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 8 - } - }, - { - "left": { - "type": "String", - "value": "PublicEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 9 - } - }, - { - "left": { - "type": "String", - "value": "PullRequestEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "left": { - "type": "String", - "value": "PullRequestReviewCommentEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 11 - } - }, - { - "left": { - "type": "String", - "value": "PushEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 12 - } - }, - { - "left": { - "type": "String", - "value": "ReleaseEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 13 - } - }, - { - "left": { - "type": "String", - "value": "SponsorshipEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 14 - } - }, - { - "left": { - "type": "String", - "value": "WatchEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 15 - } - }, - { - "left": { - "type": "String", - "value": "GistEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 16 - } - }, - { - "left": { - "type": "String", - "value": "FollowEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 17 - } - }, - { - "left": { - "type": "String", - "value": "DownloadEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 18 - } - }, - { - "left": { - "type": "String", - "value": "PullRequestReviewEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 19 - } - }, - { - "left": { - "type": "String", - "value": "ForkApplyEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 20 - } - }, - { - "left": { - "type": "String", - "value": "Event" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 21 - } - }, - { - "left": { - "type": "String", - "value": "TeamAddEvent" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 22 - } - } - ], - "has_parentheses": true - } - }, - { - "name": "actor_login", - "type": { - "name": "String" - } - }, - { - "name": "created_at", - "type": { - "name": "DateTime" - } - }, - { - "name": "action", - "type": { - "name": "Enum8", - "parameters": [ - { - "left": { - "type": "String", - "value": "none" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "type": "String", - "value": "created" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "type": "String", - "value": "added" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "type": "String", - "value": "edited" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 3 - } - }, - { - "left": { - "type": "String", - "value": "deleted" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 4 - } - }, - { - "left": { - "type": "String", - "value": "opened" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 5 - } - }, - { - "left": { - "type": "String", - "value": "closed" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 6 - } - }, - { - "left": { - "type": "String", - "value": "reopened" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 7 - } - }, - { - "left": { - "type": "String", - "value": "assigned" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 8 - } - }, - { - "left": { - "type": "String", - "value": "unassigned" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 9 - } - }, - { - "left": { - "type": "String", - "value": "labeled" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "left": { - "type": "String", - "value": "unlabeled" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 11 - } - }, - { - "left": { - "type": "String", - "value": "review_requested" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 12 - } - }, - { - "left": { - "type": "String", - "value": "review_request_removed" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 13 - } - }, - { - "left": { - "type": "String", - "value": "synchronize" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 14 - } - }, - { - "left": { - "type": "String", - "value": "started" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 15 - } - }, - { - "left": { - "type": "String", - "value": "published" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 16 - } - }, - { - "left": { - "type": "String", - "value": "update" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 17 - } - }, - { - "left": { - "type": "String", - "value": "create" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 18 - } - }, - { - "left": { - "type": "String", - "value": "fork" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 19 - } - }, - { - "left": { - "type": "String", - "value": "merged" - }, - "op": "=", - "right": { - "type": "Integer", - "value": 20 - } - } - ], - "has_parentheses": true - } - }, - { - "name": "number", - "type": { - "name": "UInt32" - } - }, - { - "name": "merged_at", - "type": { - "name": "DateTime" - } - } - ], - "engine": { - "name": "GenerateRandom" - } -} diff --git a/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/ast.json b/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/ast.json deleted file mode 100644 index 61d6551e5d..0000000000 --- a/parser/testdata/02481_prewhere_filtered_rows_div_by_zero/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_filter", - "tables": [ - { - "table": "test_filter" - } - ] -} diff --git a/parser/testdata/02481_s3_throw_if_mismatch_files/ast.json b/parser/testdata/02481_s3_throw_if_mismatch_files/ast.json deleted file mode 100644 index 30c32b6d02..0000000000 --- a/parser/testdata/02481_s3_throw_if_mismatch_files/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02481_mismatch_files", - "tables": [ - { - "table": "test_02481_mismatch_files" - } - ] -} diff --git a/parser/testdata/02481_xxh3_hash_function/ast.json b/parser/testdata/02481_xxh3_hash_function/ast.json deleted file mode 100644 index d74bb23ac3..0000000000 --- a/parser/testdata/02481_xxh3_hash_function/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "xxh3", - "arguments": [ - { - "type": "String", - "value": "ClickHouse" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02482_execute_functions_before_sorting_bug/ast.json b/parser/testdata/02482_execute_functions_before_sorting_bug/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02482_execute_functions_before_sorting_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02482_insert_into_dist_race/ast.json b/parser/testdata/02482_insert_into_dist_race/ast.json deleted file mode 100644 index 8f8b91094f..0000000000 --- a/parser/testdata/02482_insert_into_dist_race/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp_02482", - "tables": [ - { - "table": "tmp_02482" - } - ] -} diff --git a/parser/testdata/02482_value_block_assert/ast.json b/parser/testdata/02482_value_block_assert/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02482_value_block_assert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/ast.json b/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02483_check_virtuals_shile_using_structure_from_insertion_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02483_cuturlparameter_with_arrays/ast.json b/parser/testdata/02483_cuturlparameter_with_arrays/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02483_cuturlparameter_with_arrays/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02483_substitute_udf_create/ast.json b/parser/testdata/02483_substitute_udf_create/ast.json deleted file mode 100644 index 4b61fb0ef6..0000000000 --- a/parser/testdata/02483_substitute_udf_create/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02483_substitute_udf", - "tables": [ - { - "table": "02483_substitute_udf" - } - ] -} diff --git a/parser/testdata/02484_substitute_udf_storage_args/ast.json b/parser/testdata/02484_substitute_udf_storage_args/ast.json deleted file mode 100644 index c1d30f6672..0000000000 --- a/parser/testdata/02484_substitute_udf_storage_args/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02484_substitute_udf", - "tables": [ - { - "table": "02484_substitute_udf" - } - ] -} diff --git a/parser/testdata/02486_truncate_and_unexpected_parts/ast.json b/parser/testdata/02486_truncate_and_unexpected_parts/ast.json deleted file mode 100644 index 4c4583ccb1..0000000000 --- a/parser/testdata/02486_truncate_and_unexpected_parts/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "table": "rmt", - "columns": [ - { - "name": "n", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/test/02468/{database}" - }, - { - "type": "String", - "value": "1" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ], - "partition_by": { - "left": { - "parts": [ - "n" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "settings": [ - { - "name": "replicated_max_ratio_of_wrong_parts", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_suspicious_broken_parts", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_suspicious_broken_parts_bytes", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02487_create_index_normalize_functions/ast.json b/parser/testdata/02487_create_index_normalize_functions/ast.json deleted file mode 100644 index 806e0ef6a0..0000000000 --- a/parser/testdata/02487_create_index_normalize_functions/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "table": "rmt", - "columns": [ - { - "name": "n", - "type": { - "name": "int" - } - }, - { - "name": "ts", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 8 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/test/02487/{database}/rmt" - }, - { - "type": "String", - "value": "1" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "n" - ] - } - ] -} diff --git a/parser/testdata/02489_analyzer_indexes/ast.json b/parser/testdata/02489_analyzer_indexes/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02489_analyzer_indexes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/ast.json b/parser/testdata/02490_replacing_merge_tree_is_deleted_column/ast.json deleted file mode 100644 index fd7ab2ec60..0000000000 --- a/parser/testdata/02490_replacing_merge_tree_is_deleted_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/ast.json b/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02490_replacing_merge_tree_is_deleted_column_transform_opt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02491_part_log_has_table_uuid/ast.json b/parser/testdata/02491_part_log_has_table_uuid/ast.json deleted file mode 100644 index 649087fac5..0000000000 --- a/parser/testdata/02491_part_log_has_table_uuid/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "table": "data_02491", - "columns": [ - { - "name": "key", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "old_parts_lifetime", - "value": { - "type": "Integer", - "value": 600 - } - } - ] -} diff --git a/parser/testdata/02493_analyzer_sum_if_to_count_if/ast.json b/parser/testdata/02493_analyzer_sum_if_to_count_if/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02493_analyzer_sum_if_to_count_if/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02493_analyzer_table_functions_untuple/ast.json b/parser/testdata/02493_analyzer_table_functions_untuple/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02493_analyzer_table_functions_untuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/ast.json b/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/ast.json deleted file mode 100644 index 8dafadae95..0000000000 --- a/parser/testdata/02493_analyzer_uniq_injective_functions_elimination/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "optimize_injective_functions_inside_uniq", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/ast.json b/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/ast.json deleted file mode 100644 index c25b3c8c1f..0000000000 --- a/parser/testdata/02493_do_not_assume_that_the_original_query_was_valid_when_transforming_joins/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "table1", - "columns": [ - { - "name": "column1", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02493_max_streams_for_merge_tree_reading/ast.json b/parser/testdata/02493_max_streams_for_merge_tree_reading/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02493_max_streams_for_merge_tree_reading/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02494_analyzer_compound_expression_crash_fix/ast.json b/parser/testdata/02494_analyzer_compound_expression_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02494_analyzer_compound_expression_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02494_array_function_range/ast.json b/parser/testdata/02494_array_function_range/ast.json deleted file mode 100644 index cee520477f..0000000000 --- a/parser/testdata/02494_array_function_range/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "left": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - "op": "==", - "right": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - }, - "op": "AND", - "right": { - "left": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - } - ] - }, - "op": "==", - "right": { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 100 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02494_combinators_with_null_argument/ast.json b/parser/testdata/02494_combinators_with_null_argument/ast.json deleted file mode 100644 index 8c57d05185..0000000000 --- a/parser/testdata/02494_combinators_with_null_argument/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumIf", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/ast.json b/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/ast.json deleted file mode 100644 index d11bd360dd..0000000000 --- a/parser/testdata/02494_optimize_group_by_function_keys_and_alias_columns/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime" - } - }, - { - "name": "day", - "type": null, - "default": { - "name": "toYYYYMMDD", - "arguments": [ - { - "parts": [ - "timestamp" - ] - } - ] - }, - "default_kind": "ALIAS" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "timestamp" - ] - } - ] -} diff --git a/parser/testdata/02494_parser_string_binary_literal/ast.json b/parser/testdata/02494_parser_string_binary_literal/ast.json deleted file mode 100644 index b5b4669fce..0000000000 --- a/parser/testdata/02494_parser_string_binary_literal/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "" - } - ] - } - ] -} diff --git a/parser/testdata/02494_query_cache_bugs/ast.json b/parser/testdata/02494_query_cache_bugs/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_bugs/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_case_agnostic_matching/ast.json b/parser/testdata/02494_query_cache_case_agnostic_matching/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_case_agnostic_matching/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_compression/ast.json b/parser/testdata/02494_query_cache_compression/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_compression/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_drop_cache/ast.json b/parser/testdata/02494_query_cache_drop_cache/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_drop_cache/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_eligible_queries/ast.json b/parser/testdata/02494_query_cache_eligible_queries/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_eligible_queries/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_empty_tuple/ast.json b/parser/testdata/02494_query_cache_empty_tuple/ast.json deleted file mode 100644 index 45eda47268..0000000000 --- a/parser/testdata/02494_query_cache_empty_tuple/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tuple" - }, - { - "type": "Integer", - "value": 0 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "use_query_cache", - "value": { - "type": "Boolean", - "value": true - } - } - ] - } - ] -} diff --git a/parser/testdata/02494_query_cache_events/ast.json b/parser/testdata/02494_query_cache_events/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_events/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_exception_handling/ast.json b/parser/testdata/02494_query_cache_exception_handling/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_exception_handling/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_explain/ast.json b/parser/testdata/02494_query_cache_explain/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02494_query_cache_explain/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02494_query_cache_ignore_output_settings/ast.json b/parser/testdata/02494_query_cache_ignore_output_settings/ast.json deleted file mode 100644 index 369b074338..0000000000 --- a/parser/testdata/02494_query_cache_ignore_output_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/02494_query_cache_key/ast.json b/parser/testdata/02494_query_cache_key/ast.json deleted file mode 100644 index 59bbf80803..0000000000 --- a/parser/testdata/02494_query_cache_key/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test (1)" - } - ] - } - ] -} diff --git a/parser/testdata/02494_query_cache_log_comment/ast.json b/parser/testdata/02494_query_cache_log_comment/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_log_comment/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_metrics/ast.json b/parser/testdata/02494_query_cache_metrics/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_metrics/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_min_query_duration/ast.json b/parser/testdata/02494_query_cache_min_query_duration/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_min_query_duration/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_min_query_runs/ast.json b/parser/testdata/02494_query_cache_min_query_runs/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_min_query_runs/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_nondeterministic_functions/ast.json b/parser/testdata/02494_query_cache_nondeterministic_functions/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_nondeterministic_functions/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_normalize_ast/ast.json b/parser/testdata/02494_query_cache_normalize_ast/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_normalize_ast/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_passive_usage/ast.json b/parser/testdata/02494_query_cache_passive_usage/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_passive_usage/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_query_log/ast.json b/parser/testdata/02494_query_cache_query_log/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_query_log/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_secrets/ast.json b/parser/testdata/02494_query_cache_secrets/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_secrets/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_sparse_columns/ast.json b/parser/testdata/02494_query_cache_sparse_columns/ast.json deleted file mode 100644 index 671335e82d..0000000000 --- a/parser/testdata/02494_query_cache_sparse_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_cache_sparse", - "tables": [ - { - "table": "t_cache_sparse" - } - ] -} diff --git a/parser/testdata/02494_query_cache_squash_partial_results/ast.json b/parser/testdata/02494_query_cache_squash_partial_results/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_squash_partial_results/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_system_tables/ast.json b/parser/testdata/02494_query_cache_system_tables/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_system_tables/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_tag/ast.json b/parser/testdata/02494_query_cache_tag/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_tag/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_totals_extremes/ast.json b/parser/testdata/02494_query_cache_totals_extremes/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_totals_extremes/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_ttl_long/ast.json b/parser/testdata/02494_query_cache_ttl_long/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_ttl_long/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_udf_sql/ast.json b/parser/testdata/02494_query_cache_udf_sql/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_udf_sql/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_user_quotas/ast.json b/parser/testdata/02494_query_cache_user_quotas/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_user_quotas/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02494_query_cache_user_quotas_after_drop/ast.json b/parser/testdata/02494_query_cache_user_quotas_after_drop/ast.json deleted file mode 100644 index 59107987f0..0000000000 --- a/parser/testdata/02494_query_cache_user_quotas_after_drop/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "DROP QUERY CACHE" -} diff --git a/parser/testdata/02495_analyzer_storage_join/ast.json b/parser/testdata/02495_analyzer_storage_join/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02495_analyzer_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02495_concat_with_separator/ast.json b/parser/testdata/02495_concat_with_separator/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02495_concat_with_separator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02495_s3_filter_by_file/ast.json b/parser/testdata/02495_s3_filter_by_file/ast.json deleted file mode 100644 index d28c4b7ee1..0000000000 --- a/parser/testdata/02495_s3_filter_by_file/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_s3_filter_02495", - "tables": [ - { - "table": "t_s3_filter_02495" - } - ] -} diff --git a/parser/testdata/02495_sum_if_to_count_if_bug/ast.json b/parser/testdata/02495_sum_if_to_count_if_bug/ast.json deleted file mode 100644 index 73221958dd..0000000000 --- a/parser/testdata/02495_sum_if_to_count_if_bug/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Null", - "value": null - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1024 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "optimize_rewrite_sum_if_to_count_if", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02496_format_datetime_in_joda_syntax/ast.json b/parser/testdata/02496_format_datetime_in_joda_syntax/ast.json deleted file mode 100644 index ac4cbe9698..0000000000 --- a/parser/testdata/02496_format_datetime_in_joda_syntax/ast.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "s", - "query": { - "type": "String", - "value": "2018-01-12 22:33:44" - } - }, - { - "name": "datetime", - "query": { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - }, - { - "name": "datetime64", - "query": { - "name": "toDateTime64", - "arguments": [ - { - "parts": [ - "s" - ] - }, - { - "type": "Integer", - "value": 6 - } - ] - } - }, - { - "name": "date", - "query": { - "name": "toDate", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - }, - { - "name": "date32", - "query": { - "name": "toDate32", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - } - ], - "columns": [ - { - "name": "formatDateTimeInJodaSyntax", - "arguments": [ - { - "parts": [ - "datetime" - ] - }, - { - "type": "String", - "value": "G" - } - ] - }, - { - "name": "formatDateTimeInJodaSyntax", - "arguments": [ - { - "parts": [ - "datetime64" - ] - }, - { - "type": "String", - "value": "G" - } - ] - }, - { - "name": "formatDateTimeInJodaSyntax", - "arguments": [ - { - "parts": [ - "date" - ] - }, - { - "type": "String", - "value": "G" - } - ] - }, - { - "name": "formatDateTimeInJodaSyntax", - "arguments": [ - { - "parts": [ - "date32" - ] - }, - { - "type": "String", - "value": "G" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02496_from_unixtime_in_joda_syntax/ast.json b/parser/testdata/02496_from_unixtime_in_joda_syntax/ast.json deleted file mode 100644 index e1a53a77f3..0000000000 --- a/parser/testdata/02496_from_unixtime_in_joda_syntax/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fromUnixTimestampInJodaSyntax", - "arguments": [ - { - "type": "Integer", - "value": 1669804872 - }, - { - "type": "String", - "value": "G" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02496_storage_s3_profile_events/ast.json b/parser/testdata/02496_storage_s3_profile_events/ast.json deleted file mode 100644 index 97c89588c6..0000000000 --- a/parser/testdata/02496_storage_s3_profile_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_s3_events_02496", - "tables": [ - { - "table": "t_s3_events_02496" - } - ] -} diff --git a/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/ast.json b/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02497_analyzer_sum_if_count_if_pass_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02497_having_without_actual_aggregation_bug/ast.json b/parser/testdata/02497_having_without_actual_aggregation_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02497_having_without_actual_aggregation_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02497_if_transform_strings_to_enum/ast.json b/parser/testdata/02497_if_transform_strings_to_enum/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02497_if_transform_strings_to_enum/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02497_remote_disk_fat_column/ast.json b/parser/testdata/02497_remote_disk_fat_column/ast.json deleted file mode 100644 index d87d4b3975..0000000000 --- a/parser/testdata/02497_remote_disk_fat_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_fixed_string_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02497_schema_inference_nulls/ast.json b/parser/testdata/02497_schema_inference_nulls/ast.json deleted file mode 100644 index 48b54a9865..0000000000 --- a/parser/testdata/02497_schema_inference_nulls/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "JSONEachRow" - } - ] - } - ] -} diff --git a/parser/testdata/02497_source_part_is_intact_when_mutation/ast.json b/parser/testdata/02497_source_part_is_intact_when_mutation/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/02497_source_part_is_intact_when_mutation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02497_storage_join_right_assert/ast.json b/parser/testdata/02497_storage_join_right_assert/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02497_storage_join_right_assert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/ast.json b/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02498_analyzer_aggregate_functions_arithmetic_operations_pass_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02498_analyzer_settings_push_down/ast.json b/parser/testdata/02498_analyzer_settings_push_down/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02498_analyzer_settings_push_down/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02498_storage_join_key_positions/ast.json b/parser/testdata/02498_storage_join_key_positions/ast.json deleted file mode 100644 index 3eb390e577..0000000000 --- a/parser/testdata/02498_storage_join_key_positions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/ast.json b/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02499_analyzer_aggregate_function_lambda_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02499_analyzer_set_index/ast.json b/parser/testdata/02499_analyzer_set_index/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02499_analyzer_set_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02499_quantile_nan_ubsan_msan/ast.json b/parser/testdata/02499_quantile_nan_ubsan_msan/ast.json deleted file mode 100644 index 8fbe2d22cc..0000000000 --- a/parser/testdata/02499_quantile_nan_ubsan_msan/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantiles", - "parameters": [ - { - "type": "Float", - "value": 0.5 - } - ], - "arguments": [ - { - "expr": { - "name": "now" - }, - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ], - "where": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02499_read_json_objects_as_strings/ast.json b/parser/testdata/02499_read_json_objects_as_strings/ast.json deleted file mode 100644 index af23d41521..0000000000 --- a/parser/testdata/02499_read_json_objects_as_strings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_read_objects_as_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02500_analyzer_storage_view_crash_fix/ast.json b/parser/testdata/02500_analyzer_storage_view_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02500_analyzer_storage_view_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02500_prevent_drop_nested_if_empty_part/ast.json b/parser/testdata/02500_prevent_drop_nested_if_empty_part/ast.json deleted file mode 100644 index 7c07e74097..0000000000 --- a/parser/testdata/02500_prevent_drop_nested_if_empty_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02500_nested", - "tables": [ - { - "table": "02500_nested" - } - ] -} diff --git a/parser/testdata/02501_analyzer_expired_context_crash_fix/ast.json b/parser/testdata/02501_analyzer_expired_context_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02501_analyzer_expired_context_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02501_limits_on_result_for_view/ast.json b/parser/testdata/02501_limits_on_result_for_view/ast.json deleted file mode 100644 index 07cc770ab5..0000000000 --- a/parser/testdata/02501_limits_on_result_for_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02501_test", - "tables": [ - { - "table": "02501_test" - } - ] -} diff --git a/parser/testdata/02502_analyzer_insert_select_crash_fix/ast.json b/parser/testdata/02502_analyzer_insert_select_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02502_analyzer_insert_select_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/ast.json b/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/02502_fuzz_bad_cast_to_ast_literal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02503_bad_compatibility_setting/ast.json b/parser/testdata/02503_bad_compatibility_setting/ast.json deleted file mode 100644 index 836e06e194..0000000000 --- a/parser/testdata/02503_bad_compatibility_setting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compatibility", - "value": { - "type": "String", - "value": "a.a" - } - } - ] -} diff --git a/parser/testdata/02503_mysql_compat_utc_timestamp/ast.json b/parser/testdata/02503_mysql_compat_utc_timestamp/ast.json deleted file mode 100644 index e77855eb97..0000000000 --- a/parser/testdata/02503_mysql_compat_utc_timestamp/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "TIMEDIFF", - "arguments": [ - { - "name": "NOW" - }, - { - "name": "UTC_TIMESTAMP" - } - ] - }, - "op": "DIV", - "right": { - "type": "Integer", - "value": 600 - } - } - ] - } - ] -} diff --git a/parser/testdata/02504_disallow_arrayjoin_in_mutations/ast.json b/parser/testdata/02504_disallow_arrayjoin_in_mutations/ast.json deleted file mode 100644 index b441e67c89..0000000000 --- a/parser/testdata/02504_disallow_arrayjoin_in_mutations/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02504", - "tables": [ - { - "table": "test_02504" - } - ] -} diff --git a/parser/testdata/02504_parse_datetime_best_effort_calebeaires/ast.json b/parser/testdata/02504_parse_datetime_best_effort_calebeaires/ast.json deleted file mode 100644 index 9d01ae2667..0000000000 --- a/parser/testdata/02504_parse_datetime_best_effort_calebeaires/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "temporary": true, - "table": "my_table", - "columns": [ - { - "name": "col_date", - "type": { - "name": "Date" - } - }, - { - "name": "col_date32", - "type": { - "name": "Date32" - } - }, - { - "name": "col_datetime", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "col_datetime32", - "type": { - "name": "DateTime32", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "col_datetime64", - "type": { - "name": "DateTime64" - } - } - ] -} diff --git a/parser/testdata/02504_regexp_dictionary_table_source/ast.json b/parser/testdata/02504_regexp_dictionary_table_source/ast.json deleted file mode 100644 index 4ccde69c7a..0000000000 --- a/parser/testdata/02504_regexp_dictionary_table_source/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "regexp_dict1", - "tables": [ - { - "table": "regexp_dict1" - } - ] -} diff --git a/parser/testdata/02505_forbid_paths_in_datetime_timezone/ast.json b/parser/testdata/02505_forbid_paths_in_datetime_timezone/ast.json deleted file mode 100644 index 999294073c..0000000000 --- a/parser/testdata/02505_forbid_paths_in_datetime_timezone/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "String", - "value": "/abc" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02506_date_time64_floating_point_negative_value/ast.json b/parser/testdata/02506_date_time64_floating_point_negative_value/ast.json deleted file mode 100644 index 07e37e9958..0000000000 --- a/parser/testdata/02506_date_time64_floating_point_negative_value/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUnixTimestamp64Milli", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1969-12-31 23:59:59.999" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "Europe/Amsterdam" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02507_to_unix_timestamp_overflow/ast.json b/parser/testdata/02507_to_unix_timestamp_overflow/ast.json deleted file mode 100644 index 337777423f..0000000000 --- a/parser/testdata/02507_to_unix_timestamp_overflow/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUnixTimestamp", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1928-12-31 12:12:12.123" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02508_bad_graphite/ast.json b/parser/testdata/02508_bad_graphite/ast.json deleted file mode 100644 index e6b8a60f87..0000000000 --- a/parser/testdata/02508_bad_graphite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_graphite", - "tables": [ - { - "table": "test_graphite" - } - ] -} diff --git a/parser/testdata/02508_index_analysis_to_date_timezone/ast.json b/parser/testdata/02508_index_analysis_to_date_timezone/ast.json deleted file mode 100644 index e6e111e024..0000000000 --- a/parser/testdata/02508_index_analysis_to_date_timezone/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table", - "tables": [ - { - "table": "table" - } - ] -} diff --git a/parser/testdata/02509_h3_arguments/ast.json b/parser/testdata/02509_h3_arguments/ast.json deleted file mode 100644 index 068fdc767b..0000000000 --- a/parser/testdata/02509_h3_arguments/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToParent", - "arguments": [ - { - "type": "Integer", - "value": 641573946153969375 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02510_group_by_prewhere_null/ast.json b/parser/testdata/02510_group_by_prewhere_null/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/02510_group_by_prewhere_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/ast.json b/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/ast.json deleted file mode 100644 index 2baae2467c..0000000000 --- a/parser/testdata/02511_complex_literals_as_aggregate_function_parameters/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "sumMapFilteredState", - "parameters": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02512_array_join_name_resolution/ast.json b/parser/testdata/02512_array_join_name_resolution/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/02512_array_join_name_resolution/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/ast.json b/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02513_analyzer_duplicate_alias_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02513_analyzer_sort_msan/ast.json b/parser/testdata/02513_analyzer_sort_msan/ast.json deleted file mode 100644 index 3cb5cf5061..0000000000 --- a/parser/testdata/02513_analyzer_sort_msan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "products", - "tables": [ - { - "table": "products" - } - ] -} diff --git a/parser/testdata/02513_broken_datetime64_init_on_mac/ast.json b/parser/testdata/02513_broken_datetime64_init_on_mac/ast.json deleted file mode 100644 index 1df8386afb..0000000000 --- a/parser/testdata/02513_broken_datetime64_init_on_mac/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1670853969 - }, - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/02513_prewhere_combine_step_filters/ast.json b/parser/testdata/02513_prewhere_combine_step_filters/ast.json deleted file mode 100644 index 0dfbf9a2a9..0000000000 --- a/parser/testdata/02513_prewhere_combine_step_filters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_02513", - "tables": [ - { - "table": "table_02513" - } - ] -} diff --git a/parser/testdata/02513_validate_data_types/ast.json b/parser/testdata/02513_validate_data_types/ast.json deleted file mode 100644 index bd27d8c850..0000000000 --- a/parser/testdata/02513_validate_data_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02514_analyzer_drop_join_on/ast.json b/parser/testdata/02514_analyzer_drop_join_on/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/02514_analyzer_drop_join_on/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/02514_bad_index_granularity/ast.json b/parser/testdata/02514_bad_index_granularity/ast.json deleted file mode 100644 index f3ef70ccf0..0000000000 --- a/parser/testdata/02514_bad_index_granularity/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "id", - "type": { - "name": "Int64" - } - }, - { - "name": "d", - "type": { - "name": "String" - } - }, - { - "name": "p", - "type": { - "name": "Map", - "parameters": [ - { - "name": "String" - }, - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "ReplacingMergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02514_if_with_lazy_low_cardinality/ast.json b/parser/testdata/02514_if_with_lazy_low_cardinality/ast.json deleted file mode 100644 index aaf11bc2dc..0000000000 --- a/parser/testdata/02514_if_with_lazy_low_cardinality/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "if_not_exists": true, - "table": "t", - "columns": [ - { - "name": "arr.key", - "type": { - "name": "Array", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "arr.value", - "type": { - "name": "Array", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02514_null_dictionary_source/ast.json b/parser/testdata/02514_null_dictionary_source/ast.json deleted file mode 100644 index d984acd4fa..0000000000 --- a/parser/testdata/02514_null_dictionary_source/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_dict", - "tables": [ - { - "table": "null_dict" - } - ] -} diff --git a/parser/testdata/02514_tsv_zero_started_number/ast.json b/parser/testdata/02514_tsv_zero_started_number/ast.json deleted file mode 100644 index 6281a90247..0000000000 --- a/parser/testdata/02514_tsv_zero_started_number/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - {} - ] - }, - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "TSV" - ] - }, - { - "type": "String", - "value": "0123" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02515_aggregate_functions_statistics/ast.json b/parser/testdata/02515_aggregate_functions_statistics/ast.json deleted file mode 100644 index 151d7b7f28..0000000000 --- a/parser/testdata/02515_aggregate_functions_statistics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fh", - "tables": [ - { - "table": "fh" - } - ] -} diff --git a/parser/testdata/02515_analyzer_null_for_empty/ast.json b/parser/testdata/02515_analyzer_null_for_empty/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02515_analyzer_null_for_empty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02515_and_or_if_multiif_not_return_lc/ast.json b/parser/testdata/02515_and_or_if_multiif_not_return_lc/ast.json deleted file mode 100644 index 5c2bdd94a4..0000000000 --- a/parser/testdata/02515_and_or_if_multiif_not_return_lc/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02515_distinct_zero_size_key_bug_44831/ast.json b/parser/testdata/02515_distinct_zero_size_key_bug_44831/ast.json deleted file mode 100644 index bb425d32d4..0000000000 --- a/parser/testdata/02515_distinct_zero_size_key_bug_44831/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "type": "Null", - "value": null - }, - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "type": "String", - "value": "t" - }, - { - "type": "String", - "value": "" - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "res" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02515_generate_ulid/ast.json b/parser/testdata/02515_generate_ulid/ast.json deleted file mode 100644 index ad262a987a..0000000000 --- a/parser/testdata/02515_generate_ulid/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "generateULID", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "!=", - "right": { - "name": "generateULID", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "generateULID" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02515_projections_with_totals/ast.json b/parser/testdata/02515_projections_with_totals/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02515_projections_with_totals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02516_projections_and_context/ast.json b/parser/testdata/02516_projections_and_context/ast.json deleted file mode 100644 index 4b2c82cf58..0000000000 --- a/parser/testdata/02516_projections_and_context/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1__fuzz_37", - "tables": [ - { - "table": "test1__fuzz_37" - } - ] -} diff --git a/parser/testdata/02516_projections_with_rollup/ast.json b/parser/testdata/02516_projections_with_rollup/ast.json deleted file mode 100644 index 3124e5799e..0000000000 --- a/parser/testdata/02516_projections_with_rollup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "video_log", - "tables": [ - { - "table": "video_log" - } - ] -} diff --git a/parser/testdata/02517_executable_pool_bad_input_query/ast.json b/parser/testdata/02517_executable_pool_bad_input_query/ast.json deleted file mode 100644 index 14310a3e86..0000000000 --- a/parser/testdata/02517_executable_pool_bad_input_query/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "ExecutablePool", - "parameters": [ - { - "type": "String", - "value": "nonexist.py" - }, - { - "type": "String", - "value": "TabSeparated" - }, - { - "parts": [ - "foobar" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02517_uuid_parsing/ast.json b/parser/testdata/02517_uuid_parsing/ast.json deleted file mode 100644 index 30ba751687..0000000000 --- a/parser/testdata/02517_uuid_parsing/ast.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "table": "temp", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "field1", - "type": { - "name": "UUID" - } - }, - { - "name": "field2", - "type": { - "name": "UUID" - } - }, - { - "name": "field3", - "type": { - "name": "Int64" - } - }, - { - "name": "field4", - "type": { - "name": "Int64" - } - }, - { - "name": "field5", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "field6", - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - }, - { - "name": "field7", - "type": { - "name": "String" - } - }, - { - "name": "field8", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UUID" - } - ], - "has_parentheses": true - } - }, - { - "name": "event_at", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "order_id", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UUID" - } - ], - "has_parentheses": true - } - }, - { - "name": "identity", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "field1" - ] - }, - { - "parts": [ - "event_at" - ] - }, - { - "parts": [ - "field2" - ] - }, - { - "parts": [ - "field5" - ] - }, - { - "parts": [ - "id" - ] - } - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "event_at" - ] - } - ] - }, - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/02517_wrong_total_structure_crash/ast.json b/parser/testdata/02517_wrong_total_structure_crash/ast.json deleted file mode 100644 index 01ca44d9fc..0000000000 --- a/parser/testdata/02517_wrong_total_structure_crash/ast.json +++ /dev/null @@ -1,115 +0,0 @@ -{ - "or_replace": true, - "table": "alias10__fuzz_13", - "columns": [ - { - "name": "Id", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Array", - "parameters": [ - { - "name": "UInt256" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "EventDate", - "type": { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "field1", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Array", - "parameters": [ - { - "name": "Nullable", - "parameters": [ - { - "name": "Int8" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "field2", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Date" - } - ], - "has_parentheses": true - } - }, - { - "name": "field3", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Array", - "parameters": [ - { - "name": "Array", - "parameters": [ - { - "name": "UInt128" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Distributed", - "parameters": [ - { - "parts": [ - "test_shard_localhost" - ] - }, - { - "name": "currentDatabase" - }, - { - "parts": [ - "alias_local10" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02518_delete_on_materialized_view/ast.json b/parser/testdata/02518_delete_on_materialized_view/ast.json deleted file mode 100644 index 4585d0adc6..0000000000 --- a/parser/testdata/02518_delete_on_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "kek", - "tables": [ - { - "table": "kek" - } - ] -} diff --git a/parser/testdata/02518_merge_engine_nullable_43324/ast.json b/parser/testdata/02518_merge_engine_nullable_43324/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02518_merge_engine_nullable_43324/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02518_qualified_asterisks_alias_table_name/ast.json b/parser/testdata/02518_qualified_asterisks_alias_table_name/ast.json deleted file mode 100644 index eb8bf39b8a..0000000000 --- a/parser/testdata/02518_qualified_asterisks_alias_table_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_join_1", - "tables": [ - { - "table": "test_table_join_1" - } - ] -} diff --git a/parser/testdata/02518_rewrite_aggregate_function_with_if/ast.json b/parser/testdata/02518_rewrite_aggregate_function_with_if/ast.json deleted file mode 100644 index cb3baa670a..0000000000 --- a/parser/testdata/02518_rewrite_aggregate_function_with_if/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02519_monotonicity_fuzz/ast.json b/parser/testdata/02519_monotonicity_fuzz/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02519_monotonicity_fuzz/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02520_group_array_last/ast.json b/parser/testdata/02520_group_array_last/ast.json deleted file mode 100644 index 9617a76a11..0000000000 --- a/parser/testdata/02520_group_array_last/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_agg_groupArrayLastArray", - "tables": [ - { - "table": "simple_agg_groupArrayLastArray" - } - ] -} diff --git a/parser/testdata/02521_aggregation_by_partitions/ast.json b/parser/testdata/02521_aggregation_by_partitions/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02521_aggregation_by_partitions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02521_analyzer_aggregation_without_column/ast.json b/parser/testdata/02521_analyzer_aggregation_without_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02521_analyzer_aggregation_without_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02521_analyzer_array_join_crash/ast.json b/parser/testdata/02521_analyzer_array_join_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02521_analyzer_array_join_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02521_cannot_find_column_in_projection/ast.json b/parser/testdata/02521_cannot_find_column_in_projection/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02521_cannot_find_column_in_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/ast.json b/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/ast.json deleted file mode 100644 index 14209dcd66..0000000000 --- a/parser/testdata/02521_grouping_sets_plus_memory_efficient_aggr/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_aggregation_memory_efficient", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02521_lightweight_delete_and_ttl/ast.json b/parser/testdata/02521_lightweight_delete_and_ttl/ast.json deleted file mode 100644 index df8e90ddaf..0000000000 --- a/parser/testdata/02521_lightweight_delete_and_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lwd_test_02521", - "tables": [ - { - "table": "lwd_test_02521" - } - ] -} diff --git a/parser/testdata/02521_to_custom_day_of_week/ast.json b/parser/testdata/02521_to_custom_day_of_week/ast.json deleted file mode 100644 index ea613429cf..0000000000 --- a/parser/testdata/02521_to_custom_day_of_week/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "date_mon", - "query": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2023-01-09" - } - ] - } - }, - { - "name": "date_sun", - "query": { - "left": { - "parts": [ - "date_mon" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ], - "columns": [ - { - "name": "toDayOfWeek", - "arguments": [ - { - "parts": [ - "date_mon" - ] - } - ] - }, - { - "name": "toDayOfWeek", - "arguments": [ - { - "parts": [ - "date_sun" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02522_different_types_in_storage_merge/ast.json b/parser/testdata/02522_different_types_in_storage_merge/ast.json deleted file mode 100644 index d6884dea16..0000000000 --- a/parser/testdata/02522_different_types_in_storage_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_table_max_tables_to_look_for_schema_inference", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02523_array_shuffle/ast.json b/parser/testdata/02523_array_shuffle/ast.json deleted file mode 100644 index 94469c9a33..0000000000 --- a/parser/testdata/02523_array_shuffle/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayShuffle", - "arguments": [ - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02524_fuzz_and_fuss_2/ast.json b/parser/testdata/02524_fuzz_and_fuss_2/ast.json deleted file mode 100644 index e7f7fd0527..0000000000 --- a/parser/testdata/02524_fuzz_and_fuss_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_a_02187", - "tables": [ - { - "table": "data_a_02187" - } - ] -} diff --git a/parser/testdata/02525_analyzer_function_in_crash_fix/ast.json b/parser/testdata/02525_analyzer_function_in_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02525_analyzer_function_in_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02525_different_engines_in_temporary_tables/ast.json b/parser/testdata/02525_different_engines_in_temporary_tables/ast.json deleted file mode 100644 index 6553a55504..0000000000 --- a/parser/testdata/02525_different_engines_in_temporary_tables/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "table_merge_tree_02525", - "tables": [ - { - "table": "table_merge_tree_02525" - } - ], - "temporary": true -} diff --git a/parser/testdata/02525_jit_logical_functions_nan/ast.json b/parser/testdata/02525_jit_logical_functions_nan/ast.json deleted file mode 100644 index 3749b5f94b..0000000000 --- a/parser/testdata/02525_jit_logical_functions_nan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "min_count_to_compile_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02525_range_hashed_dictionary_update_field/ast.json b/parser/testdata/02525_range_hashed_dictionary_update_field/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02525_range_hashed_dictionary_update_field/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02526_kv_engine_different_filter_type/ast.json b/parser/testdata/02526_kv_engine_different_filter_type/ast.json deleted file mode 100644 index 3e8ea920d9..0000000000 --- a/parser/testdata/02526_kv_engine_different_filter_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02526_keeper_map", - "tables": [ - { - "table": "02526_keeper_map" - } - ] -} diff --git a/parser/testdata/02526_merge_join_int_decimal/ast.json b/parser/testdata/02526_merge_join_int_decimal/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02526_merge_join_int_decimal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02527_storage_merge_prewhere_different_type/ast.json b/parser/testdata/02527_storage_merge_prewhere_different_type/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02527_storage_merge_prewhere_different_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02530_ip_part_id/ast.json b/parser/testdata/02530_ip_part_id/ast.json deleted file mode 100644 index c4620b7ad4..0000000000 --- a/parser/testdata/02530_ip_part_id/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ip_part_test", - "tables": [ - { - "table": "ip_part_test" - } - ] -} diff --git a/parser/testdata/02531_ipv4_arithmetic/ast.json b/parser/testdata/02531_ipv4_arithmetic/ast.json deleted file mode 100644 index b5ff46617e..0000000000 --- a/parser/testdata/02531_ipv4_arithmetic/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "ip" - ] - }, - { - "left": { - "parts": [ - "ip" - ] - }, - "op": "%", - "right": { - "parts": [ - "number" - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "toIPv4", - "arguments": [ - { - "type": "String", - "value": "1.2.3.4" - } - ], - "alias": "ip" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 20 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02531_semi_join_null_const_bug/ast.json b/parser/testdata/02531_semi_join_null_const_bug/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/02531_semi_join_null_const_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02531_storage_join_null_44940/ast.json b/parser/testdata/02531_storage_join_null_44940/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02531_storage_join_null_44940/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02532_analyzer_aggregation_with_rollup/ast.json b/parser/testdata/02532_analyzer_aggregation_with_rollup/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02532_analyzer_aggregation_with_rollup/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02532_profileevents_server_startup_time/ast.json b/parser/testdata/02532_profileevents_server_startup_time/ast.json deleted file mode 100644 index de5548a9a2..0000000000 --- a/parser/testdata/02532_profileevents_server_startup_time/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "event" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "events" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "event" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "ServerStartupMilliseconds" - } - } - } - ] -} diff --git a/parser/testdata/02533_generate_random_schema_inference/ast.json b/parser/testdata/02533_generate_random_schema_inference/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02533_generate_random_schema_inference/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02534_analyzer_grouping_function/ast.json b/parser/testdata/02534_analyzer_grouping_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02534_analyzer_grouping_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02534_default_granularity/ast.json b/parser/testdata/02534_default_granularity/ast.json deleted file mode 100644 index fa495659e8..0000000000 --- a/parser/testdata/02534_default_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users_02534", - "tables": [ - { - "table": "users_02534" - } - ] -} diff --git a/parser/testdata/02534_join_prewhere_bug/ast.json b/parser/testdata/02534_join_prewhere_bug/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/02534_join_prewhere_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/02534_s3_cluster_insert_select_schema_inference/ast.json b/parser/testdata/02534_s3_cluster_insert_select_schema_inference/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02534_s3_cluster_insert_select_schema_inference/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02534_s3_heap_use_after_free/ast.json b/parser/testdata/02534_s3_heap_use_after_free/ast.json deleted file mode 100644 index 1ac2d516bb..0000000000 --- a/parser/testdata/02534_s3_heap_use_after_free/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "type": "String", - "value": "http://localhost:11111/test/a.tsv" - }, - { - "parts": [ - "CustomSeparated" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02535_analyzer_group_by_use_nulls/ast.json b/parser/testdata/02535_analyzer_group_by_use_nulls/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02535_analyzer_group_by_use_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02535_analyzer_limit_offset/ast.json b/parser/testdata/02535_analyzer_limit_offset/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02535_analyzer_limit_offset/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02535_ip_parser_not_whole/ast.json b/parser/testdata/02535_ip_parser_not_whole/ast.json deleted file mode 100644 index d82973c8a4..0000000000 --- a/parser/testdata/02535_ip_parser_not_whole/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSVWithNamesAndTypes" - ] - }, - { - "type": "String", - "value": "ip,port\nIPv6,UInt16\n::1,42\n" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02536_date_from_number_inference_fix/ast.json b/parser/testdata/02536_date_from_number_inference_fix/ast.json deleted file mode 100644 index 0a95182900..0000000000 --- a/parser/testdata/02536_date_from_number_inference_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02536_delta_gorilla_corruption/ast.json b/parser/testdata/02536_delta_gorilla_corruption/ast.json deleted file mode 100644 index 80fe6886be..0000000000 --- a/parser/testdata/02536_delta_gorilla_corruption/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_codecs", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02536_distributed_detach_table/ast.json b/parser/testdata/02536_distributed_detach_table/ast.json deleted file mode 100644 index 9274fe4240..0000000000 --- a/parser/testdata/02536_distributed_detach_table/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "test_02536", - "columns": [ - { - "name": "n", - "type": { - "name": "Int8" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/ast.json b/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/ast.json deleted file mode 100644 index c6326d858b..0000000000 --- a/parser/testdata/02536_replace_with_nonconst_needle_and_replacement/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tab", - "tables": [ - { - "table": "test_tab" - } - ] -} diff --git a/parser/testdata/02536_system_sync_file_cache/ast.json b/parser/testdata/02536_system_sync_file_cache/ast.json deleted file mode 100644 index 3e92850e1d..0000000000 --- a/parser/testdata/02536_system_sync_file_cache/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "sync file cache" -} diff --git a/parser/testdata/02538_alter_rename_sequence/ast.json b/parser/testdata/02538_alter_rename_sequence/ast.json deleted file mode 100644 index c31a327778..0000000000 --- a/parser/testdata/02538_alter_rename_sequence/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "wrong_metadata", - "tables": [ - { - "table": "wrong_metadata" - } - ] -} diff --git a/parser/testdata/02538_analyzer_create_table_as_select/ast.json b/parser/testdata/02538_analyzer_create_table_as_select/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02538_analyzer_create_table_as_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02538_ngram_bf_index_with_null/ast.json b/parser/testdata/02538_ngram_bf_index_with_null/ast.json deleted file mode 100644 index f96b05501d..0000000000 --- a/parser/testdata/02538_ngram_bf_index_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02538_bf_ngrambf_map_values_test", - "tables": [ - { - "table": "02538_bf_ngrambf_map_values_test" - } - ] -} diff --git a/parser/testdata/02538_nullable_array_tuple_timeseries/ast.json b/parser/testdata/02538_nullable_array_tuple_timeseries/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/02538_nullable_array_tuple_timeseries/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/02539_generate_random_ip/ast.json b/parser/testdata/02539_generate_random_ip/ast.json deleted file mode 100644 index 89e3db2dbd..0000000000 --- a/parser/testdata/02539_generate_random_ip/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "uniq", - "arguments": [ - { - "parts": [ - "v4" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1000 - } - }, - { - "left": { - "name": "uniq", - "arguments": [ - { - "parts": [ - "v6" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1000 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "v4 IPv4, v6 IPv6" - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02539_generate_random_low_cardinality/ast.json b/parser/testdata/02539_generate_random_low_cardinality/ast.json deleted file mode 100644 index 295615d908..0000000000 --- a/parser/testdata/02539_generate_random_low_cardinality/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "uniq", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 1000 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "x Array(LowCardinality(Nullable(String)))" - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 100000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02539_generate_random_map/ast.json b/parser/testdata/02539_generate_random_map/ast.json deleted file mode 100644 index 418a76e456..0000000000 --- a/parser/testdata/02539_generate_random_map/ast.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "max", - "arguments": [ - { - "name": "length", - "arguments": [ - { - "name": "mapKeys", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "a Map(String, String)" - }, - { - "type": "Integer", - "value": 20 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1000 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02539_vertical_merge_compact_parts/ast.json b/parser/testdata/02539_vertical_merge_compact_parts/ast.json deleted file mode 100644 index 566e1e36b0..0000000000 --- a/parser/testdata/02539_vertical_merge_compact_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_compact_vertical_merge", - "tables": [ - { - "table": "t_compact_vertical_merge" - } - ] -} diff --git a/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/ast.json b/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02540_analyzer_matcher_alias_materialized_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02540_date_column_consistent_insert_behaviour/ast.json b/parser/testdata/02540_date_column_consistent_insert_behaviour/ast.json deleted file mode 100644 index 1f3610f083..0000000000 --- a/parser/testdata/02540_date_column_consistent_insert_behaviour/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02540_date", - "tables": [ - { - "table": "02540_date" - } - ] -} diff --git a/parser/testdata/02540_duplicate_primary_key/ast.json b/parser/testdata/02540_duplicate_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02540_duplicate_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02540_duplicate_primary_key2/ast.json b/parser/testdata/02540_duplicate_primary_key2/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02540_duplicate_primary_key2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02541_analyzer_grouping_sets_crash_fix/ast.json b/parser/testdata/02541_analyzer_grouping_sets_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02541_analyzer_grouping_sets_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02541_empty_function_support_ip/ast.json b/parser/testdata/02541_empty_function_support_ip/ast.json deleted file mode 100644 index d562fe2639..0000000000 --- a/parser/testdata/02541_empty_function_support_ip/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "empty", - "arguments": [ - { - "name": "toIPv6", - "arguments": [ - { - "type": "String", - "value": "::" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02541_lightweight_delete_on_cluster/ast.json b/parser/testdata/02541_lightweight_delete_on_cluster/ast.json deleted file mode 100644 index 22deaad37d..0000000000 --- a/parser/testdata/02541_lightweight_delete_on_cluster/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_ddl_output_mode", - "value": { - "type": "String", - "value": "throw" - } - } - ] -} diff --git a/parser/testdata/02541_multiple_ignore_with_nested_select/ast.json b/parser/testdata/02541_multiple_ignore_with_nested_select/ast.json deleted file mode 100644 index 5de40c6e57..0000000000 --- a/parser/testdata/02541_multiple_ignore_with_nested_select/ast.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "type": "Float", - "value": 0.5 - }, - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 65536 - } - }, - "alias": "number" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "name": "ignore", - "arguments": [ - { - "name": "ignore", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Float", - "value": 10.0001 - } - ] - } - ] - }, - "descending": true, - "nulls_first": false - }, - { - "expression": { - "name": "ignore", - "arguments": [ - { - "type": "Integer", - "value": 2147483648 - } - ] - }, - "descending": true, - "nulls_first": true - }, - { - "expression": { - "name": "ignore", - "arguments": [ - { - "type": "Integer", - "value": 255 - }, - { - "type": "Float", - "value": 0.0001 - } - ] - } - }, - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - }, - "nulls_first": true - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "name": "ignore", - "arguments": [ - { - "type": "Integer", - "value": 2147483648 - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - }, - "descending": true - } - ] - } - ] -} diff --git a/parser/testdata/02541_tuple_element_with_null/ast.json b/parser/testdata/02541_tuple_element_with_null/ast.json deleted file mode 100644 index 52ba9eb356..0000000000 --- a/parser/testdata/02541_tuple_element_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tuple_element", - "tables": [ - { - "table": "test_tuple_element" - } - ] -} diff --git a/parser/testdata/02542_transform_new/ast.json b/parser/testdata/02542_transform_new/ast.json deleted file mode 100644 index cb229aabcc..0000000000 --- a/parser/testdata/02542_transform_new/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02542_transform_old/ast.json b/parser/testdata/02542_transform_old/ast.json deleted file mode 100644 index 479637e1fb..0000000000 --- a/parser/testdata/02542_transform_old/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "google" - }, - { - "type": "String", - "value": "yandex" - }, - { - "type": "String", - "value": "yahoo" - } - ] - }, - { - "type": "String", - "value": "other" - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "x" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02551_ipv4_implicit_uint64/ast.json b/parser/testdata/02551_ipv4_implicit_uint64/ast.json deleted file mode 100644 index 36cde79e4e..0000000000 --- a/parser/testdata/02551_ipv4_implicit_uint64/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "ip4test", - "columns": [ - { - "name": "ip", - "type": { - "name": "IPv4" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/ast.json b/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02552_analyzer_optimize_group_by_function_keys_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02552_check_referential_table_dependencies/ast.json b/parser/testdata/02552_check_referential_table_dependencies/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/02552_check_referential_table_dependencies/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/02552_inner_join_with_where_true/ast.json b/parser/testdata/02552_inner_join_with_where_true/ast.json deleted file mode 100644 index cc61a6237c..0000000000 --- a/parser/testdata/02552_inner_join_with_where_true/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02552_regression_crash/ast.json b/parser/testdata/02552_regression_crash/ast.json deleted file mode 100644 index 865a74a6bf..0000000000 --- a/parser/testdata/02552_regression_crash/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "store_sales", - "columns": [ - { - "name": "ss_sold_date_sk", - "type": { - "name": "Float64" - } - }, - { - "name": "ss_sold_time_sk", - "type": { - "name": "Float64" - } - }, - { - "name": "ss_customer_sk", - "type": { - "name": "Float64" - } - }, - { - "name": "ss_cdemo_sk", - "type": { - "name": "Float64" - } - }, - { - "name": "ss_hdemo_sk", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02552_sparse_columns_intersect/ast.json b/parser/testdata/02552_sparse_columns_intersect/ast.json deleted file mode 100644 index 6e57e27c16..0000000000 --- a/parser/testdata/02552_sparse_columns_intersect/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_intersect", - "tables": [ - { - "table": "t_sparse_intersect" - } - ] -} diff --git a/parser/testdata/02553_new_type_json_attach_partition/ast.json b/parser/testdata/02553_new_type_json_attach_partition/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/02553_new_type_json_attach_partition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02554_fix_grouping_sets_predicate_push_down/ast.json b/parser/testdata/02554_fix_grouping_sets_predicate_push_down/ast.json deleted file mode 100644 index f3a8480211..0000000000 --- a/parser/testdata/02554_fix_grouping_sets_predicate_push_down/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 8 - } - } - ] -} diff --git a/parser/testdata/02554_format_json_columns_for_empty/ast.json b/parser/testdata/02554_format_json_columns_for_empty/ast.json deleted file mode 100644 index 827374aa7f..0000000000 --- a/parser/testdata/02554_format_json_columns_for_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "json_columns", - "tables": [ - { - "table": "json_columns" - } - ] -} diff --git a/parser/testdata/02554_log_faminy_support_storage_policy/ast.json b/parser/testdata/02554_log_faminy_support_storage_policy/ast.json deleted file mode 100644 index 09711ff3f5..0000000000 --- a/parser/testdata/02554_log_faminy_support_storage_policy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_2554_log", - "tables": [ - { - "table": "test_2554_log" - } - ] -} diff --git a/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/ast.json b/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/ast.json deleted file mode 100644 index fb7882179b..0000000000 --- a/parser/testdata/02554_rewrite_count_distinct_if_with_count_distinct_implementation/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countDistinctIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 5 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02559_add_parts/ast.json b/parser/testdata/02559_add_parts/ast.json deleted file mode 100644 index 599401ab15..0000000000 --- a/parser/testdata/02559_add_parts/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "table": "check_system_tables", - "columns": [ - { - "name": "name1", - "type": { - "name": "UInt8" - } - }, - { - "name": "name2", - "type": { - "name": "UInt8" - } - }, - { - "name": "name3", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "name1" - ] - } - ], - "partition_by": { - "parts": [ - "name2" - ] - }, - "sample_by": { - "parts": [ - "name1" - ] - }, - "settings": [ - { - "name": "min_bytes_for_wide_part", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "compress_marks", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "compress_primary_key", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/02559_ip_types_bloom/ast.json b/parser/testdata/02559_ip_types_bloom/ast.json deleted file mode 100644 index 9e83ef8bc2..0000000000 --- a/parser/testdata/02559_ip_types_bloom/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ip_bloom", - "tables": [ - { - "table": "ip_bloom" - } - ] -} diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere/ast.json b/parser/testdata/02559_multiple_read_steps_in_prewhere/ast.json deleted file mode 100644 index f2f910be36..0000000000 --- a/parser/testdata/02559_multiple_read_steps_in_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02559", - "tables": [ - { - "table": "test_02559" - } - ] -} diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/ast.json b/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/ast.json deleted file mode 100644 index 9660f9c511..0000000000 --- a/parser/testdata/02559_multiple_read_steps_in_prewhere_fuzz/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "test_02559__fuzz_20", - "columns": [ - { - "name": "id1", - "type": { - "name": "Int16" - } - }, - { - "name": "id2", - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 18 - }, - { - "type": "Integer", - "value": 14 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id1" - ] - } - ] -} diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/ast.json b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/ast.json deleted file mode 100644 index f2f910be36..0000000000 --- a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_02559", - "tables": [ - { - "table": "test_02559" - } - ] -} diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/ast.json b/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/ast.json deleted file mode 100644 index 8cfb5c0d3e..0000000000 --- a/parser/testdata/02559_multiple_read_steps_in_prewhere_missing_columns_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02559", - "tables": [ - { - "table": "t_02559" - } - ] -} diff --git a/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/ast.json b/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/ast.json deleted file mode 100644 index 8cfb5c0d3e..0000000000 --- a/parser/testdata/02559_multiple_read_steps_in_prewhere_reuse_computation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02559", - "tables": [ - { - "table": "t_02559" - } - ] -} diff --git a/parser/testdata/02559_nested_multiple_levels_default/ast.json b/parser/testdata/02559_nested_multiple_levels_default/ast.json deleted file mode 100644 index 7e0b702bf6..0000000000 --- a/parser/testdata/02559_nested_multiple_levels_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_compact", - "tables": [ - { - "table": "data_compact" - } - ] -} diff --git a/parser/testdata/02560_agg_state_deserialization_hash_table_crash/ast.json b/parser/testdata/02560_agg_state_deserialization_hash_table_crash/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02560_agg_state_deserialization_hash_table_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02560_analyzer_materialized_view/ast.json b/parser/testdata/02560_analyzer_materialized_view/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02560_analyzer_materialized_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02560_count_digits/ast.json b/parser/testdata/02560_count_digits/ast.json deleted file mode 100644 index 8ce5c30c8b..0000000000 --- a/parser/testdata/02560_count_digits/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countDigits", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02560_null_as_default/ast.json b/parser/testdata/02560_null_as_default/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02560_null_as_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02560_quantile_min_max/ast.json b/parser/testdata/02560_quantile_min_max/ast.json deleted file mode 100644 index d0f54c39e3..0000000000 --- a/parser/testdata/02560_quantile_min_max/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nums", - "tables": [ - { - "table": "nums" - } - ] -} diff --git a/parser/testdata/02560_regexp_denial_of_service/ast.json b/parser/testdata/02560_regexp_denial_of_service/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02560_regexp_denial_of_service/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02560_vertical_merge_memory_usage/ast.json b/parser/testdata/02560_vertical_merge_memory_usage/ast.json deleted file mode 100644 index f21258e5db..0000000000 --- a/parser/testdata/02560_vertical_merge_memory_usage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tvm", - "tables": [ - { - "table": "tvm" - } - ] -} diff --git a/parser/testdata/02561_sorting_constants_and_distinct_crash/ast.json b/parser/testdata/02561_sorting_constants_and_distinct_crash/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02561_sorting_constants_and_distinct_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02561_with_fill_date_datetime_incompatible/ast.json b/parser/testdata/02561_with_fill_date_datetime_incompatible/ast.json deleted file mode 100644 index fe8d9b222e..0000000000 --- a/parser/testdata/02561_with_fill_date_datetime_incompatible/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "today", - "alias": "a" - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "a" - ] - }, - "with_fill": true, - "fill_from": { - "left": { - "name": "now" - }, - "op": "-", - "right": { - "name": "toIntervalMonth", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "fill_to": { - "left": { - "name": "now" - }, - "op": "+", - "right": { - "name": "toIntervalDay", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - "fill_step": { - "type": "Integer", - "value": 82600 - } - } - ] - } - ] -} diff --git a/parser/testdata/02562_regexp_extract/ast.json b/parser/testdata/02562_regexp_extract/ast.json deleted file mode 100644 index 0f70339af4..0000000000 --- a/parser/testdata/02562_regexp_extract/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "regexpExtract", - "arguments": [ - { - "type": "String", - "value": "100-200" - }, - { - "type": "String", - "value": "(\\d+)-(\\d+)" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02563_analyzer_merge/ast.json b/parser/testdata/02563_analyzer_merge/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02563_analyzer_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02564_analyzer_cross_to_inner/ast.json b/parser/testdata/02564_analyzer_cross_to_inner/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02564_analyzer_cross_to_inner/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02564_analyzer_ssb_cross_to_inner/ast.json b/parser/testdata/02564_analyzer_ssb_cross_to_inner/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02564_analyzer_ssb_cross_to_inner/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02564_date_format/ast.json b/parser/testdata/02564_date_format/ast.json deleted file mode 100644 index 0a3e5e8655..0000000000 --- a/parser/testdata/02564_date_format/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "DATE_FORMAT", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2018-01-02 22:33:44" - } - ] - }, - { - "type": "String", - "value": "%a" - } - ] - }, - { - "name": "DATE_FORMAT", - "arguments": [ - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "2018-01-02" - } - ] - }, - { - "type": "String", - "value": "%a" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02564_read_in_order_final_desc/ast.json b/parser/testdata/02564_read_in_order_final_desc/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/02564_read_in_order_final_desc/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02565_analyzer_limit_settings/ast.json b/parser/testdata/02565_analyzer_limit_settings/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02565_analyzer_limit_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02565_update_empty_nested/ast.json b/parser/testdata/02565_update_empty_nested/ast.json deleted file mode 100644 index 430ec320bf..0000000000 --- a/parser/testdata/02565_update_empty_nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_update_empty_nested", - "tables": [ - { - "table": "t_update_empty_nested" - } - ] -} diff --git a/parser/testdata/02566_analyzer_limit_settings_distributed/ast.json b/parser/testdata/02566_analyzer_limit_settings_distributed/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02566_analyzer_limit_settings_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02567_and_consistency/ast.json b/parser/testdata/02567_and_consistency/ast.json deleted file mode 100644 index baccc6838a..0000000000 --- a/parser/testdata/02567_and_consistency/ast.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toBool", - "arguments": [ - { - "name": "sin", - "arguments": [ - { - "name": "SUM", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "number" - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "having": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "AND", - "right": { - "name": "sin", - "arguments": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "ALL" - ] - } - } - ], - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02568_and_consistency/ast.json b/parser/testdata/02568_and_consistency/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02568_and_consistency/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02568_array_map_const_low_cardinality/ast.json b/parser/testdata/02568_array_map_const_low_cardinality/ast.json deleted file mode 100644 index 32cc201749..0000000000 --- a/parser/testdata/02568_array_map_const_low_cardinality/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "+", - "right": { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02568_json_array_length/ast.json b/parser/testdata/02568_json_array_length/ast.json deleted file mode 100644 index 2d489eb95a..0000000000 --- a/parser/testdata/02568_json_array_length/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONArrayLength", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02569_order_by_aggregation_result/ast.json b/parser/testdata/02569_order_by_aggregation_result/ast.json deleted file mode 100644 index 95d578b0aa..0000000000 --- a/parser/testdata/02569_order_by_aggregation_result/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 2 - } - } - }, - "alias": "value" - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "value" - ] - } - ], - "over": {} - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02572_materialized_views_ignore_errors/ast.json b/parser/testdata/02572_materialized_views_ignore_errors/ast.json deleted file mode 100644 index f1ed162a15..0000000000 --- a/parser/testdata/02572_materialized_views_ignore_errors/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02572_max_intersections/ast.json b/parser/testdata/02572_max_intersections/ast.json deleted file mode 100644 index 262529f172..0000000000 --- a/parser/testdata/02572_max_intersections/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "maxIntersectionsState", - "arguments": [ - {} - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "VALUES", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/ast.json b/parser/testdata/02572_system_logs_materialized_views_ignore_errors/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/02572_system_logs_materialized_views_ignore_errors/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/ast.json b/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/ast.json deleted file mode 100644 index e4e4ba741b..0000000000 --- a/parser/testdata/02573_insert_null_as_default_null_as_empty_nested/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "JSONEachRow" - ] - }, - { - "type": "String", - "value": "payload Tuple(pull_request Tuple(merged_by Tuple(login Nullable(String))))" - }, - { - "type": "String", - "value": "{\"payload\" : {\"pull_request\": {\"merged_by\": {\"login\": \"root\"}}}}" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "input_format_null_as_default", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02573_quantile_fuse_msan/ast.json b/parser/testdata/02573_quantile_fuse_msan/ast.json deleted file mode 100644 index 5b8a655395..0000000000 --- a/parser/testdata/02573_quantile_fuse_msan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_syntax_fuse_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02574_suspicious_low_cardinality_msan/ast.json b/parser/testdata/02574_suspicious_low_cardinality_msan/ast.json deleted file mode 100644 index 27677467c0..0000000000 --- a/parser/testdata/02574_suspicious_low_cardinality_msan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1__fuzz_19", - "tables": [ - { - "table": "table1__fuzz_19" - } - ] -} diff --git a/parser/testdata/02575_map_hashing_msan/ast.json b/parser/testdata/02575_map_hashing_msan/ast.json deleted file mode 100644 index 4df66c0b11..0000000000 --- a/parser/testdata/02575_map_hashing_msan/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Hello" - } - ] - }, - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "World" - } - ] - }, - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02575_merge_prewhere_default_expression/ast.json b/parser/testdata/02575_merge_prewhere_default_expression/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/02575_merge_prewhere_default_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/02575_merge_prewhere_different_default_kind/ast.json b/parser/testdata/02575_merge_prewhere_different_default_kind/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/02575_merge_prewhere_different_default_kind/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/02575_merge_prewhere_ephemeral/ast.json b/parser/testdata/02575_merge_prewhere_ephemeral/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/02575_merge_prewhere_ephemeral/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/02575_merge_prewhere_materialized/ast.json b/parser/testdata/02575_merge_prewhere_materialized/ast.json deleted file mode 100644 index 44a7ee321d..0000000000 --- a/parser/testdata/02575_merge_prewhere_materialized/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m", - "tables": [ - { - "table": "m" - } - ] -} diff --git a/parser/testdata/02576_predicate_push_down_sorting_fix/ast.json b/parser/testdata/02576_predicate_push_down_sorting_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02576_predicate_push_down_sorting_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02576_rewrite_array_exists_to_has/ast.json b/parser/testdata/02576_rewrite_array_exists_to_has/ast.json deleted file mode 100644 index cb3baa670a..0000000000 --- a/parser/testdata/02576_rewrite_array_exists_to_has/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02577_analyzer_array_join_calc_twice/ast.json b/parser/testdata/02577_analyzer_array_join_calc_twice/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02577_analyzer_array_join_calc_twice/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02577_keepermap_delete_update/ast.json b/parser/testdata/02577_keepermap_delete_update/ast.json deleted file mode 100644 index 72881c904a..0000000000 --- a/parser/testdata/02577_keepermap_delete_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02577_keepermap_delete_update", - "tables": [ - { - "table": "02577_keepermap_delete_update" - } - ] -} diff --git a/parser/testdata/02578_ipv4_codec_t64/ast.json b/parser/testdata/02578_ipv4_codec_t64/ast.json deleted file mode 100644 index 021199e50b..0000000000 --- a/parser/testdata/02578_ipv4_codec_t64/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ipv4_t64", - "tables": [ - { - "table": "ipv4_t64" - } - ] -} diff --git a/parser/testdata/02578_parameterized_rename_queries/ast.json b/parser/testdata/02578_parameterized_rename_queries/ast.json deleted file mode 100644 index faf46b2b23..0000000000 --- a/parser/testdata/02578_parameterized_rename_queries/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "02661_db", - "drop_database": true -} diff --git a/parser/testdata/02579_fill_empty_chunk/ast.json b/parser/testdata/02579_fill_empty_chunk/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/02579_fill_empty_chunk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02579_fill_empty_chunk_analyzer/ast.json b/parser/testdata/02579_fill_empty_chunk_analyzer/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/02579_fill_empty_chunk_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02579_parameterized_replace/ast.json b/parser/testdata/02579_parameterized_replace/ast.json deleted file mode 100644 index e91bb4e88b..0000000000 --- a/parser/testdata/02579_parameterized_replace/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "param_test_a", - "value": { - "type": "Integer", - "value": 30 - } - } - ] -} diff --git a/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/ast.json b/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/ast.json deleted file mode 100644 index 68adc6331a..0000000000 --- a/parser/testdata/02581_share_big_sets_between_multiple_mutations_tasks_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02581_trips", - "tables": [ - { - "table": "02581_trips" - } - ] -} diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks/ast.json b/parser/testdata/02581_share_big_sets_between_mutation_tasks/ast.json deleted file mode 100644 index 68adc6331a..0000000000 --- a/parser/testdata/02581_share_big_sets_between_mutation_tasks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02581_trips", - "tables": [ - { - "table": "02581_trips" - } - ] -} diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/ast.json b/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/ast.json deleted file mode 100644 index 68adc6331a..0000000000 --- a/parser/testdata/02581_share_big_sets_between_mutation_tasks_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02581_trips", - "tables": [ - { - "table": "02581_trips" - } - ] -} diff --git a/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/ast.json b/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/ast.json deleted file mode 100644 index 68adc6331a..0000000000 --- a/parser/testdata/02581_share_big_sets_between_mutation_tasks_with_storage_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02581_trips", - "tables": [ - { - "table": "02581_trips" - } - ] -} diff --git a/parser/testdata/02581_width_bucket/ast.json b/parser/testdata/02581_width_bucket/ast.json deleted file mode 100644 index d93d56d4dc..0000000000 --- a/parser/testdata/02581_width_bucket/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "table": "mytable", - "columns": [ - { - "name": "operand", - "type": { - "name": "Float64" - } - }, - { - "name": "low", - "type": { - "name": "Float64" - } - }, - { - "name": "high", - "type": { - "name": "Float64" - } - }, - { - "name": "count", - "type": { - "name": "UInt64" - } - }, - { - "name": "PRIMARY", - "type": { - "name": "KEY", - "parameters": [ - { - "parts": [ - "operand" - ] - }, - { - "parts": [ - "low" - ] - }, - { - "parts": [ - "high" - ] - }, - { - "parts": [ - "count" - ] - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - } -} diff --git a/parser/testdata/02582_analyzer_join_subquery_empty_column_list/ast.json b/parser/testdata/02582_analyzer_join_subquery_empty_column_list/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02582_analyzer_join_subquery_empty_column_list/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02582_async_reading_with_small_limit/ast.json b/parser/testdata/02582_async_reading_with_small_limit/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02582_async_reading_with_small_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02583_map_literal_cast/ast.json b/parser/testdata/02583_map_literal_cast/ast.json deleted file mode 100644 index 0bbcda5afa..0000000000 --- a/parser/testdata/02583_map_literal_cast/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "b" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - "type": { - "name": "Map(String, UInt8)" - } - } - ] - } - ] -} diff --git a/parser/testdata/02584_range_ipv4/ast.json b/parser/testdata/02584_range_ipv4/ast.json deleted file mode 100644 index 54839c56e2..0000000000 --- a/parser/testdata/02584_range_ipv4/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "name": "toIPv4", - "arguments": [ - { - "type": "String", - "value": "172.31.0.0" - } - ] - }, - { - "name": "toIPv4", - "arguments": [ - { - "type": "String", - "value": "172.31.0.10" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02586_generate_random_structure/ast.json b/parser/testdata/02586_generate_random_structure/ast.json deleted file mode 100644 index 1e24b0917c..0000000000 --- a/parser/testdata/02586_generate_random_structure/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "generateRandomStructure", - "arguments": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 42 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02589_bson_invalid_document_size/ast.json b/parser/testdata/02589_bson_invalid_document_size/ast.json deleted file mode 100644 index 1e13b78511..0000000000 --- a/parser/testdata/02589_bson_invalid_document_size/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_parallel_parsing", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02591_bson_long_tuple/ast.json b/parser/testdata/02591_bson_long_tuple/ast.json deleted file mode 100644 index 943ff0f409..0000000000 --- a/parser/testdata/02591_bson_long_tuple/ast.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 8 - }, - { - "type": "Integer", - "value": 9 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 11 - } - ], - "alias": "x" - } - ], - "format": { - "parts": [ - "BSONEachRow" - ] - } - } - ] -} diff --git a/parser/testdata/02596_build_set_and_remote/ast.json b/parser/testdata/02596_build_set_and_remote/ast.json deleted file mode 100644 index 2a288c96fb..0000000000 --- a/parser/testdata/02596_build_set_and_remote/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "expr": { - "parts": [ - "x" - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "2" - } - ] - } - ] - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02597_column_update_tricky_expression_and_replication/ast.json b/parser/testdata/02597_column_update_tricky_expression_and_replication/ast.json deleted file mode 100644 index aef31fbaa8..0000000000 --- a/parser/testdata/02597_column_update_tricky_expression_and_replication/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ], - "sync": true -} diff --git a/parser/testdata/02661_quantile_approx/ast.json b/parser/testdata/02661_quantile_approx/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02661_quantile_approx/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02662_first_last_value/ast.json b/parser/testdata/02662_first_last_value/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02662_first_last_value/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02662_sparse_columns_mutations_1/ast.json b/parser/testdata/02662_sparse_columns_mutations_1/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02662_sparse_columns_mutations_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02662_sparse_columns_mutations_2/ast.json b/parser/testdata/02662_sparse_columns_mutations_2/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02662_sparse_columns_mutations_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02662_sparse_columns_mutations_3/ast.json b/parser/testdata/02662_sparse_columns_mutations_3/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02662_sparse_columns_mutations_3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02662_sparse_columns_mutations_4/ast.json b/parser/testdata/02662_sparse_columns_mutations_4/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02662_sparse_columns_mutations_4/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02662_sparse_columns_mutations_5/ast.json b/parser/testdata/02662_sparse_columns_mutations_5/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02662_sparse_columns_mutations_5/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02668_column_block_number/ast.json b/parser/testdata/02668_column_block_number/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02668_column_block_number/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02668_column_block_number_vertical_merge/ast.json b/parser/testdata/02668_column_block_number_vertical_merge/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02668_column_block_number_vertical_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02668_column_block_number_with_projections/ast.json b/parser/testdata/02668_column_block_number_with_projections/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02668_column_block_number_with_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02668_logical_optimizer_removing_redundant_checks/ast.json b/parser/testdata/02668_logical_optimizer_removing_redundant_checks/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02668_logical_optimizer_removing_redundant_checks/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02668_parse_datetime/ast.json b/parser/testdata/02668_parse_datetime/ast.json deleted file mode 100644 index fe1a746293..0000000000 --- a/parser/testdata/02668_parse_datetime/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "parseDateTime", - "arguments": [ - { - "type": "String", - "value": "2020" - }, - { - "type": "String", - "value": "%Y" - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - "op": "=", - "right": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-01" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02668_parse_datetime_in_joda_syntax/ast.json b/parser/testdata/02668_parse_datetime_in_joda_syntax/ast.json deleted file mode 100644 index a7772c6853..0000000000 --- a/parser/testdata/02668_parse_datetime_in_joda_syntax/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "parseDateTimeInJodaSyntax", - "arguments": [ - { - "type": "String", - "value": " " - }, - { - "type": "String", - "value": " " - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - "op": "=", - "right": { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "1970-01-01" - }, - { - "type": "String", - "value": "UTC" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02668_ulid_decoding/ast.json b/parser/testdata/02668_ulid_decoding/ast.json deleted file mode 100644 index 6d285daf6f..0000000000 --- a/parser/testdata/02668_ulid_decoding/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "dateDiff", - "arguments": [ - { - "type": "String", - "value": "minute" - }, - { - "name": "ULIDStringToDateTime", - "arguments": [ - { - "name": "generateULID" - } - ] - }, - { - "name": "now" - } - ] - }, - "op": "\u003c=", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02669_alter_modify_to_nullable/ast.json b/parser/testdata/02669_alter_modify_to_nullable/ast.json deleted file mode 100644 index f30fb9b8b7..0000000000 --- a/parser/testdata/02669_alter_modify_to_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_modify_to_nullable", - "tables": [ - { - "table": "t_modify_to_nullable" - } - ] -} diff --git a/parser/testdata/02670_constant_skip_index/ast.json b/parser/testdata/02670_constant_skip_index/ast.json deleted file mode 100644 index 181f6d2952..0000000000 --- a/parser/testdata/02670_constant_skip_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_constant_index", - "tables": [ - { - "table": "t_constant_index" - } - ] -} diff --git a/parser/testdata/02674_and_consistency/ast.json b/parser/testdata/02674_and_consistency/ast.json deleted file mode 100644 index 7a1a0ecbe6..0000000000 --- a/parser/testdata/02674_and_consistency/ast.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "SUM", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 10 - }, - "alias": "number" - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "having": { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "AND", - "right": { - "name": "sin", - "arguments": [ - { - "name": "SUMOrNull", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - }, - "settings": [ - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02674_null_default_structure/ast.json b/parser/testdata/02674_null_default_structure/ast.json deleted file mode 100644 index b362cd7f4b..0000000000 --- a/parser/testdata/02674_null_default_structure/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "null" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02674_trivial_count_analyzer/ast.json b/parser/testdata/02674_trivial_count_analyzer/ast.json deleted file mode 100644 index da704cb3b3..0000000000 --- a/parser/testdata/02674_trivial_count_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "m3", - "tables": [ - { - "table": "m3" - } - ] -} diff --git a/parser/testdata/02675_is_ipv6_function_fix/ast.json b/parser/testdata/02675_is_ipv6_function_fix/ast.json deleted file mode 100644 index 85dd0c4e29..0000000000 --- a/parser/testdata/02675_is_ipv6_function_fix/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isIPv6String", - "arguments": [ - { - "type": "String", - "value": "1234::1234:" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02675_predicate_push_down_filled_join_fix/ast.json b/parser/testdata/02675_predicate_push_down_filled_join_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02675_predicate_push_down_filled_join_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02675_sparse_columns_clear_column/ast.json b/parser/testdata/02675_sparse_columns_clear_column/ast.json deleted file mode 100644 index 7de1dfe0a7..0000000000 --- a/parser/testdata/02675_sparse_columns_clear_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_columns_clear", - "tables": [ - { - "table": "t_sparse_columns_clear" - } - ] -} diff --git a/parser/testdata/02676_analyzer_limit_offset/ast.json b/parser/testdata/02676_analyzer_limit_offset/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02676_analyzer_limit_offset/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02676_distinct_reading_in_order_analyzer/ast.json b/parser/testdata/02676_distinct_reading_in_order_analyzer/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02676_distinct_reading_in_order_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02676_kafka_murmur_hash/ast.json b/parser/testdata/02676_kafka_murmur_hash/ast.json deleted file mode 100644 index c5aeb7d12d..0000000000 --- a/parser/testdata/02676_kafka_murmur_hash/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "kafkaMurmurHash", - "arguments": [ - { - "type": "String", - "value": "21" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02676_to_decimal_string/ast.json b/parser/testdata/02676_to_decimal_string/ast.json deleted file mode 100644 index 5885479973..0000000000 --- a/parser/testdata/02676_to_decimal_string/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDecimalString", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 77 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02677_analyzer_compound_expressions/ast.json b/parser/testdata/02677_analyzer_compound_expressions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02677_analyzer_compound_expressions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02677_get_subcolumn_array_of_tuples/ast.json b/parser/testdata/02677_get_subcolumn_array_of_tuples/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02677_get_subcolumn_array_of_tuples/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02677_grace_hash_limit_race/ast.json b/parser/testdata/02677_grace_hash_limit_race/ast.json deleted file mode 100644 index 3d2c775bc8..0000000000 --- a/parser/testdata/02677_grace_hash_limit_race/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_grace_hash", - "tables": [ - { - "table": "test_grace_hash" - } - ] -} diff --git a/parser/testdata/02678_explain_pipeline_graph_with_projection/ast.json b/parser/testdata/02678_explain_pipeline_graph_with_projection/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02678_explain_pipeline_graph_with_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/ast.json b/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02679_explain_merge_tree_prewhere_row_policy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02679_query_parameters_dangling_pointer/ast.json b/parser/testdata/02679_query_parameters_dangling_pointer/ast.json deleted file mode 100644 index 513c617280..0000000000 --- a/parser/testdata/02679_query_parameters_dangling_pointer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "param_o", - "value": { - "type": "String", - "value": "a" - } - } - ] -} diff --git a/parser/testdata/02680_datetime64_monotonic_check/ast.json b/parser/testdata/02680_datetime64_monotonic_check/ast.json deleted file mode 100644 index 9535d454b3..0000000000 --- a/parser/testdata/02680_datetime64_monotonic_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02680_datetime64_monotonic_check", - "tables": [ - { - "table": "02680_datetime64_monotonic_check" - } - ] -} diff --git a/parser/testdata/02680_illegal_type_of_filter_projection/ast.json b/parser/testdata/02680_illegal_type_of_filter_projection/ast.json deleted file mode 100644 index 1d99c63e83..0000000000 --- a/parser/testdata/02680_illegal_type_of_filter_projection/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "table": "test_tuple", - "columns": [ - { - "name": "p", - "type": { - "name": "DateTime" - } - }, - { - "name": "i", - "type": { - "name": "int" - } - }, - { - "name": "j", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "j" - ] - } - ], - "partition_by": { - "type": "Tuple", - "value": [ - { - "name": "toDate", - "arguments": [ - { - "parts": [ - "p" - ] - } - ] - }, - { - "parts": [ - "i" - ] - } - ] - }, - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02680_instr_alias_for_position_case_insensitive/ast.json b/parser/testdata/02680_instr_alias_for_position_case_insensitive/ast.json deleted file mode 100644 index d7986f04bb..0000000000 --- a/parser/testdata/02680_instr_alias_for_position_case_insensitive/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "INSTR", - "arguments": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "e" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02680_lc_null_as_default/ast.json b/parser/testdata/02680_lc_null_as_default/ast.json deleted file mode 100644 index ec6d8ddd08..0000000000 --- a/parser/testdata/02680_lc_null_as_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_null_as_default__fuzz_46", - "tables": [ - { - "table": "test_null_as_default__fuzz_46" - } - ] -} diff --git a/parser/testdata/02680_mysql_ast_logical_err/ast.json b/parser/testdata/02680_mysql_ast_logical_err/ast.json deleted file mode 100644 index 26db947592..0000000000 --- a/parser/testdata/02680_mysql_ast_logical_err/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "foo", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt32" - } - }, - { - "name": "a", - "type": { - "name": "String" - } - }, - { - "name": "b", - "type": { - "name": "Int64" - } - }, - { - "name": "c", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "TinyLog" - } -} diff --git a/parser/testdata/02681_aggregation_by_partitions_bug/ast.json b/parser/testdata/02681_aggregation_by_partitions_bug/ast.json deleted file mode 100644 index 8cd86cd423..0000000000 --- a/parser/testdata/02681_aggregation_by_partitions_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 16 - } - } - ] -} diff --git a/parser/testdata/02681_comparsion_tuple_elimination_ast/ast.json b/parser/testdata/02681_comparsion_tuple_elimination_ast/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/02681_comparsion_tuple_elimination_ast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02681_undrop_query/ast.json b/parser/testdata/02681_undrop_query/ast.json deleted file mode 100644 index b696026325..0000000000 --- a/parser/testdata/02681_undrop_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "database_atomic_wait_for_drop_and_detach_synchronously", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02685_decimal256_various/ast.json b/parser/testdata/02685_decimal256_various/ast.json deleted file mode 100644 index 5a272219b5..0000000000 --- a/parser/testdata/02685_decimal256_various/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Float", - "value": 1.1 - }, - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 60 - }, - { - "type": "Integer", - "value": 30 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/02688_long_aggregate_function_names/ast.json b/parser/testdata/02688_long_aggregate_function_names/ast.json deleted file mode 100644 index f828295d58..0000000000 --- a/parser/testdata/02688_long_aggregate_function_names/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "minOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNullOrNull", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02690_subquery_identifiers/ast.json b/parser/testdata/02690_subquery_identifiers/ast.json deleted file mode 100644 index e0eb7d38d5..0000000000 --- a/parser/testdata/02690_subquery_identifiers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_str", - "tables": [ - { - "table": "t_str" - } - ] -} diff --git a/parser/testdata/02691_drop_column_with_projections_replicated/ast.json b/parser/testdata/02691_drop_column_with_projections_replicated/ast.json deleted file mode 100644 index 22bc3084e4..0000000000 --- a/parser/testdata/02691_drop_column_with_projections_replicated/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02691_drop_column_replicated", - "tables": [ - { - "table": "02691_drop_column_replicated" - } - ] -} diff --git a/parser/testdata/02691_multiple_joins_backtick_identifiers/ast.json b/parser/testdata/02691_multiple_joins_backtick_identifiers/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02691_multiple_joins_backtick_identifiers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02692_multiple_joins_unicode/ast.json b/parser/testdata/02692_multiple_joins_unicode/ast.json deleted file mode 100644 index ad2641201a..0000000000 --- a/parser/testdata/02692_multiple_joins_unicode/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "store", - "tables": [ - { - "table": "store" - } - ] -} diff --git a/parser/testdata/02693_multiple_joins_in/ast.json b/parser/testdata/02693_multiple_joins_in/ast.json deleted file mode 100644 index b7b270bfae..0000000000 --- a/parser/testdata/02693_multiple_joins_in/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "temporary": true, - "table": "temp_table3", - "columns": [ - { - "name": "val0", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/ast.json b/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02694_wrong_identifier_shouldnt_be_accepted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02695_logical_optimizer_alias_bug/ast.json b/parser/testdata/02695_logical_optimizer_alias_bug/ast.json deleted file mode 100644 index 2714f76376..0000000000 --- a/parser/testdata/02695_logical_optimizer_alias_bug/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "test_local", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt32" - } - }, - { - "name": "path", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/02695_storage_join_insert_select_deadlock/ast.json b/parser/testdata/02695_storage_join_insert_select_deadlock/ast.json deleted file mode 100644 index d5d7cb3e1b..0000000000 --- a/parser/testdata/02695_storage_join_insert_select_deadlock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_join", - "tables": [ - { - "table": "test_table_join" - } - ] -} diff --git a/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/ast.json b/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02696_ignore_inacc_tables_mat_view_atttach/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02697_alter_dependencies/ast.json b/parser/testdata/02697_alter_dependencies/ast.json deleted file mode 100644 index 6e329f9a25..0000000000 --- a/parser/testdata/02697_alter_dependencies/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "table": "mv_source", - "columns": [ - { - "name": "a", - "type": { - "name": "Int64" - } - }, - { - "name": "insert_time", - "type": { - "name": "DateTime" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "insert_time" - ] - } - ] -} diff --git a/parser/testdata/02698_marked_dropped_tables/ast.json b/parser/testdata/02698_marked_dropped_tables/ast.json deleted file mode 100644 index b696026325..0000000000 --- a/parser/testdata/02698_marked_dropped_tables/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "database_atomic_wait_for_drop_and_detach_synchronously", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02699_polygons_sym_difference_total_analyzer/ast.json b/parser/testdata/02699_polygons_sym_difference_total_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02699_polygons_sym_difference_total_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02700_regexp_operator/ast.json b/parser/testdata/02700_regexp_operator/ast.json deleted file mode 100644 index 1fd3f17d2e..0000000000 --- a/parser/testdata/02700_regexp_operator/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "ab" - }, - { - "type": "String", - "value": "a.*b" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/ast.json b/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/ast.json deleted file mode 100644 index 5c946fd7b7..0000000000 --- a/parser/testdata/02701_invalid_having_NOT_AN_AGGREGATE/ast.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "a" - ] - }, - { - "name": "sum", - "arguments": [ - { - "parts": [ - "b" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "b" - }, - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "c" - } - ] - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "a" - ] - } - ], - "having": { - "parts": [ - "c" - ] - }, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02701_non_parametric_function/ast.json b/parser/testdata/02701_non_parametric_function/ast.json deleted file mode 100644 index 7c1efc0eae..0000000000 --- a/parser/testdata/02701_non_parametric_function/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e", - "right": { - "name": "toUInt64", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02702_logical_optimizer_with_nulls/ast.json b/parser/testdata/02702_logical_optimizer_with_nulls/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02702_logical_optimizer_with_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02704_storage_merge_explain_graph_crash/ast.json b/parser/testdata/02704_storage_merge_explain_graph_crash/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02704_storage_merge_explain_graph_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02705_grouping_keys_equal_keys/ast.json b/parser/testdata/02705_grouping_keys_equal_keys/ast.json deleted file mode 100644 index f083d3aa1f..0000000000 --- a/parser/testdata/02705_grouping_keys_equal_keys/ast.json +++ /dev/null @@ -1,125 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 1048576 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "/", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "/", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02705_projection_and_ast_optimizations_bug/ast.json b/parser/testdata/02705_projection_and_ast_optimizations_bug/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02705_projection_and_ast_optimizations_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02705_settings_check_changed_flag/ast.json b/parser/testdata/02705_settings_check_changed_flag/ast.json deleted file mode 100644 index 34be96861a..0000000000 --- a/parser/testdata/02705_settings_check_changed_flag/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "changed" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "mysql_max_rows_to_insert" - } - } - } - ] -} diff --git a/parser/testdata/02706_keeper_map_insert_strict/ast.json b/parser/testdata/02706_keeper_map_insert_strict/ast.json deleted file mode 100644 index ce1910327a..0000000000 --- a/parser/testdata/02706_keeper_map_insert_strict/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "02706_keeper_map_insert_strict", - "tables": [ - { - "table": "02706_keeper_map_insert_strict" - } - ], - "sync": true -} diff --git a/parser/testdata/02706_kolmogorov_smirnov_test/ast.json b/parser/testdata/02706_kolmogorov_smirnov_test/ast.json deleted file mode 100644 index 4e199f5f54..0000000000 --- a/parser/testdata/02706_kolmogorov_smirnov_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "kstest", - "tables": [ - { - "table": "kstest" - } - ] -} diff --git a/parser/testdata/02706_show_columns/ast.json b/parser/testdata/02706_show_columns/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02706_show_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02707_keeper_map_delete_update_strict/ast.json b/parser/testdata/02707_keeper_map_delete_update_strict/ast.json deleted file mode 100644 index 797389a4d1..0000000000 --- a/parser/testdata/02707_keeper_map_delete_update_strict/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02707_keepermap_delete_update", - "tables": [ - { - "table": "02707_keepermap_delete_update" - } - ] -} diff --git a/parser/testdata/02707_skip_index_with_in/ast.json b/parser/testdata/02707_skip_index_with_in/ast.json deleted file mode 100644 index e2ca8b711f..0000000000 --- a/parser/testdata/02707_skip_index_with_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_skip_index_in", - "tables": [ - { - "table": "t_skip_index_in" - } - ] -} diff --git a/parser/testdata/02708_dotProduct/ast.json b/parser/testdata/02708_dotProduct/ast.json deleted file mode 100644 index 567d264fca..0000000000 --- a/parser/testdata/02708_dotProduct/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02708_parallel_replicas_not_found_column/ast.json b/parser/testdata/02708_parallel_replicas_not_found_column/ast.json deleted file mode 100644 index 20a862d5b2..0000000000 --- a/parser/testdata/02708_parallel_replicas_not_found_column/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "if_not_exists": true, - "table": "t_02708", - "columns": [ - { - "name": "x", - "type": { - "name": "DateTime" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02709_generate_random_valid_decimals_and_bools/ast.json b/parser/testdata/02709_generate_random_valid_decimals_and_bools/ast.json deleted file mode 100644 index 4a3f510fae..0000000000 --- a/parser/testdata/02709_generate_random_valid_decimals_and_bools/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toString", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "x Decimal(6, 3)" - }, - { - "type": "Integer", - "value": 42 - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 5 - } - } - ] -} diff --git a/parser/testdata/02709_storage_memory_compressed/ast.json b/parser/testdata/02709_storage_memory_compressed/ast.json deleted file mode 100644 index c0f9a7bba6..0000000000 --- a/parser/testdata/02709_storage_memory_compressed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_memory_compressed", - "tables": [ - { - "table": "t_memory_compressed" - } - ] -} diff --git a/parser/testdata/02710_aggregation_nested_map_ip_uuid/ast.json b/parser/testdata/02710_aggregation_nested_map_ip_uuid/ast.json deleted file mode 100644 index 115a7824b0..0000000000 --- a/parser/testdata/02710_aggregation_nested_map_ip_uuid/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_table", - "tables": [ - { - "table": "summing_table" - } - ] -} diff --git a/parser/testdata/02710_allow_suspicious_indices/ast.json b/parser/testdata/02710_allow_suspicious_indices/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/02710_allow_suspicious_indices/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/02710_date_diff_aliases/ast.json b/parser/testdata/02710_date_diff_aliases/ast.json deleted file mode 100644 index e657851738..0000000000 --- a/parser/testdata/02710_date_diff_aliases/ast.json +++ /dev/null @@ -1,106 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "left": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "date_diff" - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "DATE_DIFF" - } - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "timestampDiff" - } - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "timestamp_diff" - } - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "TIMESTAMP_DIFF" - } - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02710_default_replicated_parameters/ast.json b/parser/testdata/02710_default_replicated_parameters/ast.json deleted file mode 100644 index ec351feae4..0000000000 --- a/parser/testdata/02710_default_replicated_parameters/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "replicated_database_params", - "drop_database": true -} diff --git a/parser/testdata/02710_show_table/ast.json b/parser/testdata/02710_show_table/ast.json deleted file mode 100644 index dd9ab0aa5e..0000000000 --- a/parser/testdata/02710_show_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_2710_show_table", - "tables": [ - { - "table": "t_2710_show_table" - } - ] -} diff --git a/parser/testdata/02710_topk_with_empty_array/ast.json b/parser/testdata/02710_topk_with_empty_array/ast.json deleted file mode 100644 index b54460d9e5..0000000000 --- a/parser/testdata/02710_topk_with_empty_array/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "topK", - "arguments": [ - { - "name": "emptyArrayInt16" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02711_server_uuid_macro/ast.json b/parser/testdata/02711_server_uuid_macro/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02711_server_uuid_macro/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02711_soundex_function/ast.json b/parser/testdata/02711_soundex_function/ast.json deleted file mode 100644 index b11454bd9a..0000000000 --- a/parser/testdata/02711_soundex_function/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "soundex", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02711_trim_aliases/ast.json b/parser/testdata/02711_trim_aliases/ast.json deleted file mode 100644 index 42e7d53f8d..0000000000 --- a/parser/testdata/02711_trim_aliases/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "ltrim" - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "rtrim" - } - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "trim" - } - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02713_array_low_cardinality_string/ast.json b/parser/testdata/02713_array_low_cardinality_string/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02713_array_low_cardinality_string/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02713_sequence_match_serialization_fix/ast.json b/parser/testdata/02713_sequence_match_serialization_fix/ast.json deleted file mode 100644 index 6022d84efe..0000000000 --- a/parser/testdata/02713_sequence_match_serialization_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02713_seqt", - "tables": [ - { - "table": "02713_seqt" - } - ] -} diff --git a/parser/testdata/02714_date_date32_in/ast.json b/parser/testdata/02714_date_date32_in/ast.json deleted file mode 100644 index bc1440c1dc..0000000000 --- a/parser/testdata/02714_date_date32_in/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "2020-01-01" - } - ] - }, - "list": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2020-01-01" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02714_read_bytes_aggregateFunction/ast.json b/parser/testdata/02714_read_bytes_aggregateFunction/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02714_read_bytes_aggregateFunction/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02715_or_null/ast.json b/parser/testdata/02715_or_null/ast.json deleted file mode 100644 index 49e3378611..0000000000 --- a/parser/testdata/02715_or_null/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argMaxOrNull", - "arguments": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "timestamp" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Null", - "value": null - }, - "type": { - "name": "Nullable(UInt32)" - } - }, - "alias": "id" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "timestamp" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02716_create_direct_dict_with_lifetime_throws/ast.json b/parser/testdata/02716_create_direct_dict_with_lifetime_throws/ast.json deleted file mode 100644 index a85d298779..0000000000 --- a/parser/testdata/02716_create_direct_dict_with_lifetime_throws/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "if_not_exists": true, - "table": "dict_source", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/02716_drop_if_empty/ast.json b/parser/testdata/02716_drop_if_empty/ast.json deleted file mode 100644 index 2a175c5521..0000000000 --- a/parser/testdata/02716_drop_if_empty/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02716_1", - "tables": [ - { - "table": "data_02716_1" - } - ] -} diff --git a/parser/testdata/02716_int256_arrayfunc/ast.json b/parser/testdata/02716_int256_arrayfunc/ast.json deleted file mode 100644 index 8d63cc185b..0000000000 --- a/parser/testdata/02716_int256_arrayfunc/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayDifference", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "arrayDifference", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02718_array_fold/ast.json b/parser/testdata/02718_array_fold/ast.json deleted file mode 100644 index 567d264fca..0000000000 --- a/parser/testdata/02718_array_fold/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02718_insert_meet_hardware_error/ast.json b/parser/testdata/02718_insert_meet_hardware_error/ast.json deleted file mode 100644 index 8c7bbacdbe..0000000000 --- a/parser/testdata/02718_insert_meet_hardware_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_hardware_error", - "tables": [ - { - "table": "t_hardware_error" - } - ] -} diff --git a/parser/testdata/02719_aggregate_with_empty_string_key/ast.json b/parser/testdata/02719_aggregate_with_empty_string_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02719_aggregate_with_empty_string_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02720_row_policy_column_with_dots/ast.json b/parser/testdata/02720_row_policy_column_with_dots/ast.json deleted file mode 100644 index 9db7987acc..0000000000 --- a/parser/testdata/02720_row_policy_column_with_dots/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "if_not_exists": true, - "table": "table_with_dot_column", - "columns": [ - { - "name": "date", - "type": { - "name": "Date" - } - }, - { - "name": "regular_column", - "type": { - "name": "String" - } - }, - { - "name": "other_column.2", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "date" - ] - } - ] -} diff --git a/parser/testdata/02721_url_cluster/ast.json b/parser/testdata/02721_url_cluster/ast.json deleted file mode 100644 index f72624743e..0000000000 --- a/parser/testdata/02721_url_cluster/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "urlCluster", - "arguments": [ - { - "type": "String", - "value": "test_cluster_two_shards_localhost" - }, - { - "type": "String", - "value": "http://localhost:11111/test/{a,b,c}.tsv" - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "c1" - ] - } - }, - { - "expression": { - "parts": [ - "c2" - ] - } - }, - { - "expression": { - "parts": [ - "c3" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02722_log_profile_events/ast.json b/parser/testdata/02722_log_profile_events/ast.json deleted file mode 100644 index fc9fed955e..0000000000 --- a/parser/testdata/02722_log_profile_events/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "events" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "event" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "LogFatal" - } - } - } - ] -} diff --git a/parser/testdata/02723_jit_aggregation_bug_48120/ast.json b/parser/testdata/02723_jit_aggregation_bug_48120/ast.json deleted file mode 100644 index e600d2bff0..0000000000 --- a/parser/testdata/02723_jit_aggregation_bug_48120/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dummy", - "tables": [ - { - "table": "dummy" - } - ] -} diff --git a/parser/testdata/02723_parallelize_output_setting/ast.json b/parser/testdata/02723_parallelize_output_setting/ast.json deleted file mode 100644 index 44364043c2..0000000000 --- a/parser/testdata/02723_parallelize_output_setting/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "data_02723", - "csv" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02723_zookeeper_name/ast.json b/parser/testdata/02723_zookeeper_name/ast.json deleted file mode 100644 index e97820d75b..0000000000 --- a/parser/testdata/02723_zookeeper_name/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Create Tables" - } - ] - } - ] -} diff --git a/parser/testdata/02724_function_in_left_table_clause_asof_join/ast.json b/parser/testdata/02724_function_in_left_table_clause_asof_join/ast.json deleted file mode 100644 index 2d8fe09fa9..0000000000 --- a/parser/testdata/02724_function_in_left_table_clause_asof_join/ast.json +++ /dev/null @@ -1,156 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "id" - }, - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - "alias": "arr" - } - ] - } - ] - } - }, - "alias": "sessions" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "session_id" - }, - { - "expr": { - "type": "Integer", - "value": 4 - }, - "alias": "id" - } - ] - } - ] - } - }, - "alias": "visitors" - }, - "join": { - "type": "LEFT", - "strictness": "ASOF", - "on": { - "left": { - "left": { - "parts": [ - "visitors", - "session_id" - ] - }, - "op": "\u003c=", - "right": { - "parts": [ - "sessions", - "id" - ] - } - }, - "op": "AND", - "right": { - "left": { - "name": "arrayFirst", - "arguments": [ - { - "parameters": [ - "a" - ], - "body": { - "parts": [ - "a" - ] - } - }, - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "a" - ], - "body": { - "parts": [ - "a" - ] - } - }, - { - "parts": [ - "sessions", - "arr" - ] - } - ] - } - ] - }, - "op": "=", - "right": { - "parts": [ - "visitors", - "id" - ] - } - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02724_jit_logical_functions/ast.json b/parser/testdata/02724_jit_logical_functions/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02724_jit_logical_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02724_mutliple_storage_join/ast.json b/parser/testdata/02724_mutliple_storage_join/ast.json deleted file mode 100644 index 4a2ff3b9dc..0000000000 --- a/parser/testdata/02724_mutliple_storage_join/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "user", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt32" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Join", - "parameters": [ - { - "parts": [ - "ANY" - ] - }, - { - "parts": [ - "LEFT" - ] - }, - { - "parts": [ - "id" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02724_persist_interval_type/ast.json b/parser/testdata/02724_persist_interval_type/ast.json deleted file mode 100644 index e784cd7f08..0000000000 --- a/parser/testdata/02724_persist_interval_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "saved_intervals_tmp", - "tables": [ - { - "table": "saved_intervals_tmp" - } - ] -} diff --git a/parser/testdata/02724_show_indexes/ast.json b/parser/testdata/02724_show_indexes/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/02724_show_indexes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/02725_agg_projection_respect_PK/ast.json b/parser/testdata/02725_agg_projection_respect_PK/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/02725_agg_projection_respect_PK/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/ast.json b/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/ast.json deleted file mode 100644 index 06af128401..0000000000 --- a/parser/testdata/02725_alias_columns_should_not_allow_compression_codec/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alias_column_should_not_allow_compression", - "tables": [ - { - "table": "alias_column_should_not_allow_compression" - } - ] -} diff --git a/parser/testdata/02725_alias_with_restricted_keywords/ast.json b/parser/testdata/02725_alias_with_restricted_keywords/ast.json deleted file mode 100644 index b76fa1cc46..0000000000 --- a/parser/testdata/02725_alias_with_restricted_keywords/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "array" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "union" - } - ] - } - ] -} diff --git a/parser/testdata/02725_any_join_single_row/ast.json b/parser/testdata/02725_any_join_single_row/ast.json deleted file mode 100644 index e501e5cb9f..0000000000 --- a/parser/testdata/02725_any_join_single_row/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "join_test", - "tables": [ - { - "table": "join_test" - } - ] -} diff --git a/parser/testdata/02725_cnf_large_check/ast.json b/parser/testdata/02725_cnf_large_check/ast.json deleted file mode 100644 index 8dd9da3208..0000000000 --- a/parser/testdata/02725_cnf_large_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02725_cnf", - "tables": [ - { - "table": "02725_cnf" - } - ] -} diff --git a/parser/testdata/02725_memory-for-merges/ast.json b/parser/testdata/02725_memory-for-merges/ast.json deleted file mode 100644 index 6e84c8878e..0000000000 --- a/parser/testdata/02725_memory-for-merges/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "02725_memory_for_merges", - "tables": [ - { - "table": "02725_memory_for_merges" - } - ], - "sync": true -} diff --git a/parser/testdata/02725_null_group_key_with_rollup/ast.json b/parser/testdata/02725_null_group_key_with_rollup/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02725_null_group_key_with_rollup/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02725_sleep_max_time/ast.json b/parser/testdata/02725_sleep_max_time/ast.json deleted file mode 100644 index 8ecf1e3cc2..0000000000 --- a/parser/testdata/02725_sleep_max_time/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "name": "sleepEachRow", - "arguments": [ - { - "type": "Float", - "value": 0.05 - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02725_url_support_virtual_column/ast.json b/parser/testdata/02725_url_support_virtual_column/ast.json deleted file mode 100644 index 0b34c0242a..0000000000 --- a/parser/testdata/02725_url_support_virtual_column/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "_path" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://127.0.0.1:8123/?query=select+1\u0026user=default" - }, - { - "parts": [ - "LineAsString" - ] - }, - { - "type": "String", - "value": "s String" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02726_async_insert_flush_queue/ast.json b/parser/testdata/02726_async_insert_flush_queue/ast.json deleted file mode 100644 index bac5c84a1d..0000000000 --- a/parser/testdata/02726_async_insert_flush_queue/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_async_inserts_flush", - "tables": [ - { - "table": "t_async_inserts_flush" - } - ] -} diff --git a/parser/testdata/02730_dictionary_hashed_load_factor_element_count/ast.json b/parser/testdata/02730_dictionary_hashed_load_factor_element_count/ast.json deleted file mode 100644 index 99ff0cde3d..0000000000 --- a/parser/testdata/02730_dictionary_hashed_load_factor_element_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_sharded", - "tables": [ - { - "table": "dict_sharded" - } - ] -} diff --git a/parser/testdata/02730_with_fill_by_sorting_prefix/ast.json b/parser/testdata/02730_with_fill_by_sorting_prefix/ast.json deleted file mode 100644 index 1e1f538804..0000000000 --- a/parser/testdata/02730_with_fill_by_sorting_prefix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_with_fill_by_sorting_prefix", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/ast.json b/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/ast.json deleted file mode 100644 index 9a39433631..0000000000 --- a/parser/testdata/02731_auto_convert_dictionary_layout_to_complex_by_complex_keys/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_flat_simple", - "tables": [ - { - "table": "dict_flat_simple" - } - ] -} diff --git a/parser/testdata/02731_formats_s3/ast.json b/parser/testdata/02731_formats_s3/ast.json deleted file mode 100644 index a41f4e737a..0000000000 --- a/parser/testdata/02731_formats_s3/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "02731.parquet" - } - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "remote_filesystem_read_method", - "value": { - "type": "String", - "value": "threadpool" - } - }, - { - "name": "remote_filesystem_read_prefetch", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02731_in_operator_with_one_size_tuple/ast.json b/parser/testdata/02731_in_operator_with_one_size_tuple/ast.json deleted file mode 100644 index a295f8281b..0000000000 --- a/parser/testdata/02731_in_operator_with_one_size_tuple/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "report_date", - "type": { - "name": "Date" - } - }, - { - "name": "sspid", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "report_date" - ] - } - ], - "partition_by": { - "parts": [ - "report_date" - ] - } -} diff --git a/parser/testdata/02731_parallel_replicas_join_subquery/ast.json b/parser/testdata/02731_parallel_replicas_join_subquery/ast.json deleted file mode 100644 index a26ef1d36a..0000000000 --- a/parser/testdata/02731_parallel_replicas_join_subquery/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "join_inner_table", - "tables": [ - { - "table": "join_inner_table" - } - ], - "sync": true -} diff --git a/parser/testdata/02731_replace_partition_from_temporary_table/ast.json b/parser/testdata/02731_replace_partition_from_temporary_table/ast.json deleted file mode 100644 index 1d99d46574..0000000000 --- a/parser/testdata/02731_replace_partition_from_temporary_table/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ], - "temporary": true -} diff --git a/parser/testdata/02732_transform_fuzz/ast.json b/parser/testdata/02732_transform_fuzz/ast.json deleted file mode 100644 index fea9209f5b..0000000000 --- a/parser/testdata/02732_transform_fuzz/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "caseWithExpr", - "arguments": [ - { - "name": "arrayReduce", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Array", - "value": null - } - ] - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02733_distinct/ast.json b/parser/testdata/02733_distinct/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02733_distinct/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02733_fix_distinct_in_order_bug_49622/ast.json b/parser/testdata/02733_fix_distinct_in_order_bug_49622/ast.json deleted file mode 100644 index dce802c319..0000000000 --- a/parser/testdata/02733_fix_distinct_in_order_bug_49622/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_distinct_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02733_sparse_columns_reload/ast.json b/parser/testdata/02733_sparse_columns_reload/ast.json deleted file mode 100644 index 695fc6cdbc..0000000000 --- a/parser/testdata/02733_sparse_columns_reload/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_reload", - "tables": [ - { - "table": "t_sparse_reload" - } - ] -} diff --git a/parser/testdata/02734_optimize_group_by/ast.json b/parser/testdata/02734_optimize_group_by/ast.json deleted file mode 100644 index 55684367a6..0000000000 --- a/parser/testdata/02734_optimize_group_by/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "key" - }, - { - "expr": { - "type": "String", - "value": "b" - }, - "alias": "value" - } - ], - "group_by": [ - { - "parts": [ - "key" - ] - } - ], - "with_cube": true, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02734_sparse_columns_mutation/ast.json b/parser/testdata/02734_sparse_columns_mutation/ast.json deleted file mode 100644 index cc3b515097..0000000000 --- a/parser/testdata/02734_sparse_columns_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_mutation", - "tables": [ - { - "table": "t_sparse_mutation" - } - ] -} diff --git a/parser/testdata/02734_sparse_columns_short_circuit/ast.json b/parser/testdata/02734_sparse_columns_short_circuit/ast.json deleted file mode 100644 index f3cf412cd1..0000000000 --- a/parser/testdata/02734_sparse_columns_short_circuit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_short_circuit", - "tables": [ - { - "table": "t_sparse_short_circuit" - } - ] -} diff --git a/parser/testdata/02735_array_map_array_of_tuples/ast.json b/parser/testdata/02735_array_map_array_of_tuples/ast.json deleted file mode 100644 index f77369b52d..0000000000 --- a/parser/testdata/02735_array_map_array_of_tuples/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "parts": [ - "x" - ] - } - }, - { - "type": "Array", - "value": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02735_asof_join_right_null/ast.json b/parser/testdata/02735_asof_join_right_null/ast.json deleted file mode 100644 index 0c495b327d..0000000000 --- a/parser/testdata/02735_asof_join_right_null/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "a", - "type": { - "name": "Int" - } - }, - { - "name": "b", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02735_parquet_encoder/ast.json b/parser/testdata/02735_parquet_encoder/ast.json deleted file mode 100644 index 8c542514b6..0000000000 --- a/parser/testdata/02735_parquet_encoder/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_parquet_use_custom_encoder", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02735_system_zookeeper_auxiliary/ast.json b/parser/testdata/02735_system_zookeeper_auxiliary/ast.json deleted file mode 100644 index 389631a218..0000000000 --- a/parser/testdata/02735_system_zookeeper_auxiliary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_system_zookeeper_auxiliary", - "tables": [ - { - "table": "test_system_zookeeper_auxiliary" - } - ] -} diff --git a/parser/testdata/02735_system_zookeeper_connection/ast.json b/parser/testdata/02735_system_zookeeper_connection/ast.json deleted file mode 100644 index a2f3699323..0000000000 --- a/parser/testdata/02735_system_zookeeper_connection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_zk_connection_table", - "tables": [ - { - "table": "test_zk_connection_table" - } - ] -} diff --git a/parser/testdata/02736_bit_count_big_int/ast.json b/parser/testdata/02736_bit_count_big_int/ast.json deleted file mode 100644 index d8f11abe2b..0000000000 --- a/parser/testdata/02736_bit_count_big_int/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitCount", - "arguments": [ - { - "expr": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - "type": { - "name": "UInt128" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02737_arrayJaccardIndex/ast.json b/parser/testdata/02737_arrayJaccardIndex/ast.json deleted file mode 100644 index 7f4fb74850..0000000000 --- a/parser/testdata/02737_arrayJaccardIndex/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02737_session_timezone/ast.json b/parser/testdata/02737_session_timezone/ast.json deleted file mode 100644 index d53d1447c6..0000000000 --- a/parser/testdata/02737_session_timezone/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Абырвалг" - } - } - ] -} diff --git a/parser/testdata/02737_sql_auto_is_null/ast.json b/parser/testdata/02737_sql_auto_is_null/ast.json deleted file mode 100644 index 5aae95ad58..0000000000 --- a/parser/testdata/02737_sql_auto_is_null/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "SQL_AUTO_IS_NULL", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02740_hashed_dictionary_load_factor_smoke/ast.json b/parser/testdata/02740_hashed_dictionary_load_factor_smoke/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02740_hashed_dictionary_load_factor_smoke/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02746_index_analysis_binary_operator_with_null/ast.json b/parser/testdata/02746_index_analysis_binary_operator_with_null/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02746_index_analysis_binary_operator_with_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02751_match_constant_needle/ast.json b/parser/testdata/02751_match_constant_needle/ast.json deleted file mode 100644 index ab5bae46a6..0000000000 --- a/parser/testdata/02751_match_constant_needle/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "default/k8s1" - }, - { - "type": "String", - "value": "\\A(?:(?:[-0-9_a-z]+(?:\\.[-0-9_a-z]+)*)/k8s1)\\z" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02751_multiif_to_if_crash/ast.json b/parser/testdata/02751_multiif_to_if_crash/ast.json deleted file mode 100644 index d02ac55487..0000000000 --- a/parser/testdata/02751_multiif_to_if_crash/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "A" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "multiIf", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Null", - "value": null - } - ], - "alias": "A" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/ast.json b/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/ast.json deleted file mode 100644 index e894b1f70f..0000000000 --- a/parser/testdata/02751_parallel_replicas_bug_chunkinfo_not_set/ast.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "table": "join_inner_table__fuzz_1", - "columns": [ - { - "name": "id", - "type": { - "name": "UUID" - } - }, - { - "name": "key", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Date" - } - ], - "has_parentheses": true - } - }, - { - "name": "number", - "type": { - "name": "Int64" - } - }, - { - "name": "value1", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "value2", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "time", - "type": { - "name": "Int128" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "key" - ] - } - ] - } - ], - "settings": [ - { - "name": "allow_nullable_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02751_query_log_test_partitions/ast.json b/parser/testdata/02751_query_log_test_partitions/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/02751_query_log_test_partitions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02752_custom_separated_ignore_spaces_bug/ast.json b/parser/testdata/02752_custom_separated_ignore_spaces_bug/ast.json deleted file mode 100644 index 123ac10ae8..0000000000 --- a/parser/testdata/02752_custom_separated_ignore_spaces_bug/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CustomSeparatedIgnoreSpaces" - ] - }, - { - "type": "String", - "value": "x String" - }, - { - "type": "String", - "value": " unquoted_string\n" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "format_custom_escaping_rule", - "value": { - "type": "String", - "value": "CSV" - } - } - ] - } - ] -} diff --git a/parser/testdata/02752_forbidden_headers/ast.json b/parser/testdata/02752_forbidden_headers/ast.json deleted file mode 100644 index 86786c125f..0000000000 --- a/parser/testdata/02752_forbidden_headers/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://localhost:8123/" - }, - { - "parts": [ - "LineAsString" - ] - }, - { - "name": "headers", - "arguments": [ - { - "left": { - "type": "String", - "value": "exact_header" - }, - "op": "=", - "right": { - "type": "String", - "value": "value" - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02752_is_null_priority/ast.json b/parser/testdata/02752_is_null_priority/ast.json deleted file mode 100644 index fbefc864fd..0000000000 --- a/parser/testdata/02752_is_null_priority/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "explain_type": "AST", - "statement": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "a" - ] - }, - "op": "*", - "right": { - "parts": [ - "b" - ] - } - } - }, - { - "expr": { - "left": { - "parts": [ - "a" - ] - }, - "op": "*", - "right": { - "parts": [ - "b" - ] - } - }, - "not": true - } - ] - } - ] - } -} diff --git a/parser/testdata/02752_space_function/ast.json b/parser/testdata/02752_space_function/ast.json deleted file mode 100644 index 6282feca52..0000000000 --- a/parser/testdata/02752_space_function/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "const, uint" - } - ] - } - ] -} diff --git a/parser/testdata/02762_replicated_database_no_args/ast.json b/parser/testdata/02762_replicated_database_no_args/ast.json deleted file mode 100644 index e07f07bfbe..0000000000 --- a/parser/testdata/02762_replicated_database_no_args/ast.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "database": "replicated_db_no_args", - "engine": { - "name": "Replicated" - }, - "create_database": true -} diff --git a/parser/testdata/02763_jit_compare_functions_nan/ast.json b/parser/testdata/02763_jit_compare_functions_nan/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02763_jit_compare_functions_nan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/ast.json b/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02763_mutate_compact_part_with_skip_indices_and_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02764_index_analysis_fix/ast.json b/parser/testdata/02764_index_analysis_fix/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/02764_index_analysis_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/02764_parallel_replicas_plain_merge_tree/ast.json b/parser/testdata/02764_parallel_replicas_plain_merge_tree/ast.json deleted file mode 100644 index 5bacb33179..0000000000 --- a/parser/testdata/02764_parallel_replicas_plain_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "parallel_replicas_plain", - "tables": [ - { - "table": "parallel_replicas_plain" - } - ] -} diff --git a/parser/testdata/02765_parallel_replicas_final_modifier/ast.json b/parser/testdata/02765_parallel_replicas_final_modifier/ast.json deleted file mode 100644 index 36b58a2f6c..0000000000 --- a/parser/testdata/02765_parallel_replicas_final_modifier/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "if_not_exists": true, - "table": "parallel_replicas_final", - "columns": [ - { - "name": "x", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "ReplacingMergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/02766_bitshift_with_const_arguments/ast.json b/parser/testdata/02766_bitshift_with_const_arguments/ast.json deleted file mode 100644 index cb70e9048d..0000000000 --- a/parser/testdata/02766_bitshift_with_const_arguments/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitShiftLeft", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Null", - "value": null - } - }, - { - "type": "String", - "value": "14342" - }, - { - "type": "String", - "value": "4242348" - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02768_cse_nested_distributed/ast.json b/parser/testdata/02768_cse_nested_distributed/ast.json deleted file mode 100644 index 5ed2ba4faa..0000000000 --- a/parser/testdata/02768_cse_nested_distributed/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "s", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.2" - }, - { - "parts": [ - "system", - "settings" - ] - } - ] - } - } - } - ] - } - } - ] - } - } - } - ], - "columns": [ - { - "parts": [ - "s" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02769_compare_functions_nan/ast.json b/parser/testdata/02769_compare_functions_nan/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02769_compare_functions_nan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02769_parallel_replicas_unavailable_shards/ast.json b/parser/testdata/02769_parallel_replicas_unavailable_shards/ast.json deleted file mode 100644 index 46b869207b..0000000000 --- a/parser/testdata/02769_parallel_replicas_unavailable_shards/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_parallel_replicas_unavailable_shards", - "tables": [ - { - "table": "test_parallel_replicas_unavailable_shards" - } - ] -} diff --git a/parser/testdata/02770_jit_aggregation_nullable_key_fix/ast.json b/parser/testdata/02770_jit_aggregation_nullable_key_fix/ast.json deleted file mode 100644 index e8356298d5..0000000000 --- a/parser/testdata/02770_jit_aggregation_nullable_key_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02771_ignore_data_skipping_indices/ast.json b/parser/testdata/02771_ignore_data_skipping_indices/ast.json deleted file mode 100644 index 2664b18877..0000000000 --- a/parser/testdata/02771_ignore_data_skipping_indices/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02771", - "tables": [ - { - "table": "data_02771" - } - ] -} diff --git a/parser/testdata/02771_jit_functions_comparison_crash/ast.json b/parser/testdata/02771_jit_functions_comparison_crash/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02771_jit_functions_comparison_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02771_log_faminy_truncate_count/ast.json b/parser/testdata/02771_log_faminy_truncate_count/ast.json deleted file mode 100644 index 1448c123d4..0000000000 --- a/parser/testdata/02771_log_faminy_truncate_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_log", - "tables": [ - { - "table": "test_log" - } - ] -} diff --git a/parser/testdata/02771_parallel_replicas_analyzer/ast.json b/parser/testdata/02771_parallel_replicas_analyzer/ast.json deleted file mode 100644 index 2773c99c98..0000000000 --- a/parser/testdata/02771_parallel_replicas_analyzer/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "join_inner_table__fuzz_146_replicated", - "tables": [ - { - "table": "join_inner_table__fuzz_146_replicated" - } - ], - "sync": true -} diff --git a/parser/testdata/02771_resolve_compound_identifier/ast.json b/parser/testdata/02771_resolve_compound_identifier/ast.json deleted file mode 100644 index 4539558cd8..0000000000 --- a/parser/testdata/02771_resolve_compound_identifier/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_02771", - "drop_database": true -} diff --git a/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/ast.json b/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/ast.json deleted file mode 100644 index 2975c2722b..0000000000 --- a/parser/testdata/02771_tsv_csv_custom_skip_trailing_empty_lines/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "TSV" - ] - }, - { - "type": "String", - "value": "x UInt32, y UInt32" - }, - { - "type": "String", - "value": "1\t2\n\n" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "input_format_tsv_skip_trailing_empty_lines", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02772_jit_date_time_add/ast.json b/parser/testdata/02772_jit_date_time_add/ast.json deleted file mode 100644 index 82887e93a5..0000000000 --- a/parser/testdata/02772_jit_date_time_add/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02772_s3_crash/ast.json b/parser/testdata/02772_s3_crash/ast.json deleted file mode 100644 index 4042cdc337..0000000000 --- a/parser/testdata/02772_s3_crash/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "name": "headers", - "arguments": [ - { - "left": { - "type": "String", - "value": "random_header" - }, - "op": "=", - "right": { - "type": "String", - "value": "value" - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02775_show_columns_called_from_clickhouse/ast.json b/parser/testdata/02775_show_columns_called_from_clickhouse/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02775_show_columns_called_from_clickhouse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02780_final_streams_data_skipping_index/ast.json b/parser/testdata/02780_final_streams_data_skipping_index/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02780_final_streams_data_skipping_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/ast.json b/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02781_data_skipping_index_merge_tree_min_for_seek/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02782_values_null_to_lc_nullable/ast.json b/parser/testdata/02782_values_null_to_lc_nullable/ast.json deleted file mode 100644 index 4898b8a39d..0000000000 --- a/parser/testdata/02782_values_null_to_lc_nullable/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "s LowCardinality(Nullable(String))" - }, - { - "type": "Null", - "value": null - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02783_date_predicate_optimizations/ast.json b/parser/testdata/02783_date_predicate_optimizations/ast.json deleted file mode 100644 index 433b4e1c80..0000000000 --- a/parser/testdata/02783_date_predicate_optimizations/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "table": "source", - "columns": [ - { - "name": "ts", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "n", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "ts" - ] - } - ] - } -} diff --git a/parser/testdata/02783_max_bytes_to_read_in_schema_inference/ast.json b/parser/testdata/02783_max_bytes_to_read_in_schema_inference/ast.json deleted file mode 100644 index edbd6986a8..0000000000 --- a/parser/testdata/02783_max_bytes_to_read_in_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_max_rows_to_read_for_schema_inference", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02783_parsedatetimebesteffort_syslog/ast.json b/parser/testdata/02783_parsedatetimebesteffort_syslog/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02783_parsedatetimebesteffort_syslog/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/ast.json b/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/ast.json deleted file mode 100644 index 87a8c22ab2..0000000000 --- a/parser/testdata/02784_move_all_conditions_to_prewhere_analyzer_asan/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02784", - "tables": [ - { - "table": "t_02784" - } - ] -} diff --git a/parser/testdata/02784_projections_read_in_order_bug/ast.json b/parser/testdata/02784_projections_read_in_order_bug/ast.json deleted file mode 100644 index ce65b30440..0000000000 --- a/parser/testdata/02784_projections_read_in_order_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "events", - "tables": [ - { - "table": "events" - } - ] -} diff --git a/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/ast.json b/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/ast.json deleted file mode 100644 index 797b9c1156..0000000000 --- a/parser/testdata/02785_date_predicate_optimizations_ast_query_tree_rewrite/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "date_t", - "tables": [ - { - "table": "date_t" - } - ] -} diff --git a/parser/testdata/02785_global_join_too_many_columns/ast.json b/parser/testdata/02785_global_join_too_many_columns/ast.json deleted file mode 100644 index fdd46f73a7..0000000000 --- a/parser/testdata/02785_global_join_too_many_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local", - "tables": [ - { - "table": "local" - } - ] -} diff --git a/parser/testdata/02785_left_anti_join_bug/ast.json b/parser/testdata/02785_left_anti_join_bug/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02785_left_anti_join_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02785_summing_merge_tree_datetime64/ast.json b/parser/testdata/02785_summing_merge_tree_datetime64/ast.json deleted file mode 100644 index 1defaff4bb..0000000000 --- a/parser/testdata/02785_summing_merge_tree_datetime64/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "summing_merge_tree_datetime64", - "tables": [ - { - "table": "summing_merge_tree_datetime64" - } - ] -} diff --git a/parser/testdata/02786_max_execution_time_leaf/ast.json b/parser/testdata/02786_max_execution_time_leaf/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/02786_max_execution_time_leaf/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02786_transform_float/ast.json b/parser/testdata/02786_transform_float/ast.json deleted file mode 100644 index c9938139cc..0000000000 --- a/parser/testdata/02786_transform_float/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toFloat32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "name": "toFloat32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02787_transform_null/ast.json b/parser/testdata/02787_transform_null/ast.json deleted file mode 100644 index 22c7884c31..0000000000 --- a/parser/testdata/02787_transform_null/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "ZERO" - }, - { - "type": "String", - "value": "ONE" - } - ] - }, - { - "type": "String", - "value": "DEFAULT" - } - ], - "alias": "result" - } - ] - } - ] -} diff --git a/parser/testdata/02788_current_schemas_function/ast.json b/parser/testdata/02788_current_schemas_function/ast.json deleted file mode 100644 index a4a828d85c..0000000000 --- a/parser/testdata/02788_current_schemas_function/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "current_schemas", - "arguments": [ - { - "type": "Boolean", - "value": true - } - ], - "alias": "result" - } - ] - } - ] -} diff --git a/parser/testdata/02788_fix_logical_error_in_sorting/ast.json b/parser/testdata/02788_fix_logical_error_in_sorting/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/02788_fix_logical_error_in_sorting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/ast.json b/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02789_functions_after_sorting_and_columns_with_same_names_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02789_set_index_nullable_condition_bug/ast.json b/parser/testdata/02789_set_index_nullable_condition_bug/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02789_set_index_nullable_condition_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02790_keyed_hash_bug/ast.json b/parser/testdata/02790_keyed_hash_bug/ast.json deleted file mode 100644 index 2dfc22ae6b..0000000000 --- a/parser/testdata/02790_keyed_hash_bug/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sipHash64Keyed", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1111111111111111111 - }, - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 222222222222223 - } - ] - } - ] - } - ] - } - ], - "group_by": [ - { - "name": "toUInt64", - "arguments": [ - { - "type": "Integer", - "value": 222222222222223 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02790_optimize_skip_unused_shards_join/ast.json b/parser/testdata/02790_optimize_skip_unused_shards_join/ast.json deleted file mode 100644 index b72906b4ca..0000000000 --- a/parser/testdata/02790_optimize_skip_unused_shards_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "outer", - "tables": [ - { - "table": "outer" - } - ] -} diff --git a/parser/testdata/02790_sql_standard_fetch/ast.json b/parser/testdata/02790_sql_standard_fetch/ast.json deleted file mode 100644 index b632ae840a..0000000000 --- a/parser/testdata/02790_sql_standard_fetch/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "temporary": true, - "table": "employees", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "department", - "type": { - "name": "String" - } - }, - { - "name": "salary", - "type": { - "name": "UInt64" - } - } - ] -} diff --git a/parser/testdata/02790_url_multiple_tsv_files/ast.json b/parser/testdata/02790_url_multiple_tsv_files/ast.json deleted file mode 100644 index d5264d45fd..0000000000 --- a/parser/testdata/02790_url_multiple_tsv_files/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://127.0.0.1:8123?query=select+{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16}+as+x+format+TSV" - }, - { - "type": "String", - "value": "TSV" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_download_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02791_final_block_structure_mismatch_bug/ast.json b/parser/testdata/02791_final_block_structure_mismatch_bug/ast.json deleted file mode 100644 index 1bc996086d..0000000000 --- a/parser/testdata/02791_final_block_structure_mismatch_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "do_not_merge_across_partitions_select_final", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02792_alter_table_modify_comment/ast.json b/parser/testdata/02792_alter_table_modify_comment/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02792_alter_table_modify_comment/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02792_drop_projection_lwd/ast.json b/parser/testdata/02792_drop_projection_lwd/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02792_drop_projection_lwd/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02794_pushdown_invalid_get/ast.json b/parser/testdata/02794_pushdown_invalid_get/ast.json deleted file mode 100644 index 3d97e367b9..0000000000 --- a/parser/testdata/02794_pushdown_invalid_get/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "toInt128", - "arguments": [ - { - "type": "Null", - "value": null - } - ], - "alias": "x" - } - ] - }, - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toInt128", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "where": { - "parts": [ - "x" - ] - } - } - ] -} diff --git a/parser/testdata/02796_calculate_text_stack_trace/ast.json b/parser/testdata/02796_calculate_text_stack_trace/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/02796_calculate_text_stack_trace/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02796_projection_date_filter_on_view/ast.json b/parser/testdata/02796_projection_date_filter_on_view/ast.json deleted file mode 100644 index e048d21a13..0000000000 --- a/parser/testdata/02796_projection_date_filter_on_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "fx_1m", - "tables": [ - { - "table": "fx_1m" - } - ] -} diff --git a/parser/testdata/02797_aggregator_huge_mem_usage_bug/ast.json b/parser/testdata/02797_aggregator_huge_mem_usage_bug/ast.json deleted file mode 100644 index 2c3b819c3f..0000000000 --- a/parser/testdata/02797_aggregator_huge_mem_usage_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v", - "tables": [ - { - "table": "v" - } - ] -} diff --git a/parser/testdata/02797_range_nullable/ast.json b/parser/testdata/02797_range_nullable/ast.json deleted file mode 100644 index 372e65b054..0000000000 --- a/parser/testdata/02797_range_nullable/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "range", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02797_transform_narrow_types/ast.json b/parser/testdata/02797_transform_narrow_types/ast.json deleted file mode 100644 index 9dd9e41f73..0000000000 --- a/parser/testdata/02797_transform_narrow_types/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "f" - }, - { - "type": "String", - "value": "s" - } - ] - }, - { - "type": "String", - "value": "g" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02798_explain_settings_not_applied_bug/ast.json b/parser/testdata/02798_explain_settings_not_applied_bug/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/02798_explain_settings_not_applied_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02798_generic_transform/ast.json b/parser/testdata/02798_generic_transform/ast.json deleted file mode 100644 index 354dd3cc1a..0000000000 --- a/parser/testdata/02798_generic_transform/ast.json +++ /dev/null @@ -1,114 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "3" - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "String", - "value": "5" - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 7 - }, - { - "type": "String", - "value": "7" - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - }, - { - "type": "String", - "value": "abc!" - } - ] - }, - { - "type": "String", - "value": "def" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/02798_substring_index/ast.json b/parser/testdata/02798_substring_index/ast.json deleted file mode 100644 index ce6ccd45e3..0000000000 --- a/parser/testdata/02798_substring_index/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "substringIndex", - "arguments": [ - { - "type": "String", - "value": "www.clickhouse.com" - }, - { - "type": "String", - "value": "." - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 4 - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02799_transform_empty_arrays/ast.json b/parser/testdata/02799_transform_empty_arrays/ast.json deleted file mode 100644 index b85bdabb24..0000000000 --- a/parser/testdata/02799_transform_empty_arrays/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Array", - "value": null - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02800_transform_alter/ast.json b/parser/testdata/02800_transform_alter/ast.json deleted file mode 100644 index 1b74d7aff4..0000000000 --- a/parser/testdata/02800_transform_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_xy", - "tables": [ - { - "table": "test_xy" - } - ] -} diff --git a/parser/testdata/02801_transform_nullable/ast.json b/parser/testdata/02801_transform_nullable/ast.json deleted file mode 100644 index ff5c06d6b2..0000000000 --- a/parser/testdata/02801_transform_nullable/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02803_remote_cannot_clone_block/ast.json b/parser/testdata/02803_remote_cannot_clone_block/ast.json deleted file mode 100644 index 307d600774..0000000000 --- a/parser/testdata/02803_remote_cannot_clone_block/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_10_00223", - "tables": [ - { - "table": "numbers_10_00223" - } - ] -} diff --git a/parser/testdata/02804_clusterAllReplicas_insert/ast.json b/parser/testdata/02804_clusterAllReplicas_insert/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02804_clusterAllReplicas_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02805_distributed_queries_timeouts/ast.json b/parser/testdata/02805_distributed_queries_timeouts/ast.json deleted file mode 100644 index 410b49ce49..0000000000 --- a/parser/testdata/02805_distributed_queries_timeouts/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "table": "dist", - "engine": { - "name": "Distributed", - "parameters": [ - { - "parts": [ - "test_shard_localhost" - ] - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02807_lower_utf8_msan/ast.json b/parser/testdata/02807_lower_utf8_msan/ast.json deleted file mode 100644 index ce51872385..0000000000 --- a/parser/testdata/02807_lower_utf8_msan/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "lowerUTF8", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "©--------------------------------------" - }, - { - "type": "String", - "value": "©--------------------" - } - ] - } - ] - } - ] - } - ], - "order_by": [ - { - "expression": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02807_math_unary_crash/ast.json b/parser/testdata/02807_math_unary_crash/ast.json deleted file mode 100644 index 19cae4d1bf..0000000000 --- a/parser/testdata/02807_math_unary_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t10", - "tables": [ - { - "table": "t10" - } - ] -} diff --git a/parser/testdata/02809_has_subsequence/ast.json b/parser/testdata/02809_has_subsequence/ast.json deleted file mode 100644 index f5157c8805..0000000000 --- a/parser/testdata/02809_has_subsequence/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "hasSubsequence" - } - ] - } - ] -} diff --git a/parser/testdata/02809_has_token/ast.json b/parser/testdata/02809_has_token/ast.json deleted file mode 100644 index 43783adc54..0000000000 --- a/parser/testdata/02809_has_token/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hasToken", - "arguments": [ - { - "type": "String", - "value": "quotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotaquotquota" - }, - { - "type": "String", - "value": "quota" - } - ], - "alias": "r" - } - ] - } - ] -} diff --git a/parser/testdata/02809_prewhere_and_in/ast.json b/parser/testdata/02809_prewhere_and_in/ast.json deleted file mode 100644 index 507443c346..0000000000 --- a/parser/testdata/02809_prewhere_and_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_02809", - "tables": [ - { - "table": "t_02809" - } - ] -} diff --git a/parser/testdata/02809_storage_set_analysis_bug/ast.json b/parser/testdata/02809_storage_set_analysis_bug/ast.json deleted file mode 100644 index c74262a1af..0000000000 --- a/parser/testdata/02809_storage_set_analysis_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_set", - "tables": [ - { - "table": "test_set" - } - ] -} diff --git a/parser/testdata/02810_convert_uuid_to_uint128/ast.json b/parser/testdata/02810_convert_uuid_to_uint128/ast.json deleted file mode 100644 index 5c7c7e6d51..0000000000 --- a/parser/testdata/02810_convert_uuid_to_uint128/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt128", - "arguments": [ - { - "name": "toUUID", - "arguments": [ - { - "type": "String", - "value": "00000000-0000-0000-0000-000000000000" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02810_fix_remove_dedundant_distinct_view/ast.json b/parser/testdata/02810_fix_remove_dedundant_distinct_view/ast.json deleted file mode 100644 index 6eff846a1f..0000000000 --- a/parser/testdata/02810_fix_remove_dedundant_distinct_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_v", - "tables": [ - { - "table": "tab_v" - } - ] -} diff --git a/parser/testdata/02810_initcap/ast.json b/parser/testdata/02810_initcap/ast.json deleted file mode 100644 index 1f172f94c3..0000000000 --- a/parser/testdata/02810_initcap/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "initcap", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02811_insert_schema_inference/ast.json b/parser/testdata/02811_insert_schema_inference/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02811_insert_schema_inference/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02811_invalid_embedded_rocksdb_create/ast.json b/parser/testdata/02811_invalid_embedded_rocksdb_create/ast.json deleted file mode 100644 index b153bcaefc..0000000000 --- a/parser/testdata/02811_invalid_embedded_rocksdb_create/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "table": "dict", - "columns": [ - { - "name": "k", - "type": { - "name": "String" - } - }, - { - "name": "v", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "EmbeddedRocksDB", - "parameters": [ - { - "parts": [ - "k" - ] - } - ], - "has_parentheses": true - }, - "primary_key": [ - { - "parts": [ - "k" - ] - } - ] -} diff --git a/parser/testdata/02811_parallel_replicas_prewhere_count/ast.json b/parser/testdata/02811_parallel_replicas_prewhere_count/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/02811_parallel_replicas_prewhere_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/02811_primary_key_in_columns/ast.json b/parser/testdata/02811_primary_key_in_columns/ast.json deleted file mode 100644 index ca2e41d80d..0000000000 --- a/parser/testdata/02811_primary_key_in_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pk_test1", - "tables": [ - { - "table": "pk_test1" - } - ] -} diff --git a/parser/testdata/02811_read_in_order_and_array_join_bug/ast.json b/parser/testdata/02811_read_in_order_and_array_join_bug/ast.json deleted file mode 100644 index f44fd53aec..0000000000 --- a/parser/testdata/02811_read_in_order_and_array_join_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_array_joins", - "tables": [ - { - "table": "test_array_joins" - } - ] -} diff --git a/parser/testdata/02812_bug_with_unused_join_columns/ast.json b/parser/testdata/02812_bug_with_unused_join_columns/ast.json deleted file mode 100644 index 8da17b7485..0000000000 --- a/parser/testdata/02812_bug_with_unused_join_columns/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "concat", - "arguments": [ - { - "parts": [ - "func", - "name" - ] - }, - { - "parts": [ - "comb", - "name" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - }, - "alias": "func" - } - }, - { - "table": { - "table": { - "database": "system", - "table": "aggregate_function_combinators" - }, - "alias": "comb" - }, - "join": { - "type": "INNER", - "using": [ - { - "parts": [ - "name" - ] - } - ] - } - } - ] - }, - "where": { - "parts": [ - "is_aggregate" - ] - }, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02812_csv_date_time_with_comma/ast.json b/parser/testdata/02812_csv_date_time_with_comma/ast.json deleted file mode 100644 index 9348017f45..0000000000 --- a/parser/testdata/02812_csv_date_time_with_comma/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "c1 DateTime, c2 String" - }, - { - "type": "String", - "value": "01-01-2000,abc" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "best_effort" - } - } - ] - } - ] -} diff --git a/parser/testdata/02812_from_to_utc_timestamp/ast.json b/parser/testdata/02812_from_to_utc_timestamp/ast.json deleted file mode 100644 index 0ef2141170..0000000000 --- a/parser/testdata/02812_from_to_utc_timestamp/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tbl", - "tables": [ - { - "table": "test_tbl" - } - ] -} diff --git a/parser/testdata/02812_large_varints/ast.json b/parser/testdata/02812_large_varints/ast.json deleted file mode 100644 index 9fd6469f8a..0000000000 --- a/parser/testdata/02812_large_varints/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "topKWeightedState", - "parameters": [ - { - "type": "Integer", - "value": 65535 - } - ], - "arguments": [ - { - "name": "now" - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02812_pointwise_array_operations/ast.json b/parser/testdata/02812_pointwise_array_operations/ast.json deleted file mode 100644 index 7ea3565d59..0000000000 --- a/parser/testdata/02812_pointwise_array_operations/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - "op": "+", - "right": { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02812_subquery_operators/ast.json b/parser/testdata/02812_subquery_operators/ast.json deleted file mode 100644 index a2ae3de8f6..0000000000 --- a/parser/testdata/02812_subquery_operators/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "singleValueOrNull", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02813_any_value/ast.json b/parser/testdata/02813_any_value/ast.json deleted file mode 100644 index 18631e6645..0000000000 --- a/parser/testdata/02813_any_value/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02813_array_agg/ast.json b/parser/testdata/02813_array_agg/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02813_array_agg/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02813_array_concat_agg/ast.json b/parser/testdata/02813_array_concat_agg/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02813_array_concat_agg/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02813_create_index_noop/ast.json b/parser/testdata/02813_create_index_noop/ast.json deleted file mode 100644 index 1be967e87f..0000000000 --- a/parser/testdata/02813_create_index_noop/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_create_index_without_type", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02813_func_now_and_alias/ast.json b/parser/testdata/02813_func_now_and_alias/ast.json deleted file mode 100644 index 8e80e00ccd..0000000000 --- a/parser/testdata/02813_func_now_and_alias/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "current_timestamp" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02813_func_today_and_alias/ast.json b/parser/testdata/02813_func_today_and_alias/ast.json deleted file mode 100644 index 79515e6ed6..0000000000 --- a/parser/testdata/02813_func_today_and_alias/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "today" - }, - "op": "=", - "right": { - "name": "current_date" - } - } - ] - } - ] -} diff --git a/parser/testdata/02813_optimize_lazy_materialization/ast.json b/parser/testdata/02813_optimize_lazy_materialization/ast.json deleted file mode 100644 index 2d09bf013c..0000000000 --- a/parser/testdata/02813_optimize_lazy_materialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_lazy_materialization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02813_seriesDecomposeSTL/ast.json b/parser/testdata/02813_seriesDecomposeSTL/ast.json deleted file mode 100644 index 8e22038b41..0000000000 --- a/parser/testdata/02813_seriesDecomposeSTL/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tb2", - "tables": [ - { - "table": "tb2" - } - ] -} diff --git a/parser/testdata/02813_seriesOutliersDetectTukey/ast.json b/parser/testdata/02813_seriesOutliersDetectTukey/ast.json deleted file mode 100644 index 92439a3824..0000000000 --- a/parser/testdata/02813_seriesOutliersDetectTukey/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tb1", - "tables": [ - { - "table": "tb1" - } - ] -} diff --git a/parser/testdata/02813_series_period_detect/ast.json b/parser/testdata/02813_series_period_detect/ast.json deleted file mode 100644 index 92439a3824..0000000000 --- a/parser/testdata/02813_series_period_detect/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tb1", - "tables": [ - { - "table": "tb1" - } - ] -} diff --git a/parser/testdata/02813_starting_in_text_log/ast.json b/parser/testdata/02813_starting_in_text_log/ast.json deleted file mode 100644 index db85a36b23..0000000000 --- a/parser/testdata/02813_starting_in_text_log/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "FLUSH LOGS text_log" -} diff --git a/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/ast.json b/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02814_ReplacingMergeTree_fix_select_final_on_single_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02814_age_datediff/ast.json b/parser/testdata/02814_age_datediff/ast.json deleted file mode 100644 index 3854d9d75d..0000000000 --- a/parser/testdata/02814_age_datediff/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "age", - "arguments": [ - { - "type": "String", - "value": "nanosecond" - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2015-08-18 20:30:36.100200005" - }, - { - "type": "Integer", - "value": 9 - }, - { - "type": "String", - "value": "UTC" - } - ] - }, - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2015-08-18 20:30:41.200400005" - }, - { - "type": "Integer", - "value": 9 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02814_create_index_uniq_noop/ast.json b/parser/testdata/02814_create_index_uniq_noop/ast.json deleted file mode 100644 index d42b55a862..0000000000 --- a/parser/testdata/02814_create_index_uniq_noop/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_create_index_without_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02814_currentDatabase_for_table_functions/ast.json b/parser/testdata/02814_currentDatabase_for_table_functions/ast.json deleted file mode 100644 index 6e7c861ad2..0000000000 --- a/parser/testdata/02814_currentDatabase_for_table_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null_table", - "tables": [ - { - "table": "null_table" - } - ] -} diff --git a/parser/testdata/02814_order_by_tuple_window_function/ast.json b/parser/testdata/02814_order_by_tuple_window_function/ast.json deleted file mode 100644 index caf336cd40..0000000000 --- a/parser/testdata/02814_order_by_tuple_window_function/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "order_by": [ - { - "expression": { - "name": "tuple", - "arguments": [ - { - "name": "count", - "over": {} - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02815_alias_to_length/ast.json b/parser/testdata/02815_alias_to_length/ast.json deleted file mode 100644 index 24d2cb9c1f..0000000000 --- a/parser/testdata/02815_alias_to_length/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "OCTET_LENGTH", - "arguments": [ - { - "type": "String", - "value": "1234" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/ast.json b/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02815_analyzer_aggregate_functions_of_group_by_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02815_first_line/ast.json b/parser/testdata/02815_first_line/ast.json deleted file mode 100644 index ef70109ea9..0000000000 --- a/parser/testdata/02815_first_line/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "firstLine", - "arguments": [ - { - "type": "String", - "value": "foo\nbar\nbaz" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02815_fix_not_found_constants_col_in_block/ast.json b/parser/testdata/02815_fix_not_found_constants_col_in_block/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/02815_fix_not_found_constants_col_in_block/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/02815_join_algorithm_setting/ast.json b/parser/testdata/02815_join_algorithm_setting/ast.json deleted file mode 100644 index 9396556435..0000000000 --- a/parser/testdata/02815_join_algorithm_setting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rdb", - "tables": [ - { - "table": "rdb" - } - ] -} diff --git a/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/ast.json b/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/ast.json deleted file mode 100644 index d5d3a82017..0000000000 --- a/parser/testdata/02815_logical_error_cannot_get_column_name_of_set/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "settings": [ - { - "name": "x", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02815_range_dict_no_direct_join/ast.json b/parser/testdata/02815_range_dict_no_direct_join/ast.json deleted file mode 100644 index 5aa3bfcc22..0000000000 --- a/parser/testdata/02815_range_dict_no_direct_join/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "discounts", - "columns": [ - { - "name": "advertiser_id", - "type": { - "name": "UInt64" - } - }, - { - "name": "discount_start_date", - "type": { - "name": "Date" - } - }, - { - "name": "discount_end_date", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Date" - } - ], - "has_parentheses": true - } - }, - { - "name": "amount", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02816_has_token_empty/ast.json b/parser/testdata/02816_has_token_empty/ast.json deleted file mode 100644 index 9600034304..0000000000 --- a/parser/testdata/02816_has_token_empty/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hasTokenCaseInsensitive", - "arguments": [ - { - "type": "String", - "value": "K(G" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02816_s2_invalid_point/ast.json b/parser/testdata/02816_s2_invalid_point/ast.json deleted file mode 100644 index 4ad32f9017..0000000000 --- a/parser/testdata/02816_s2_invalid_point/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "geoToS2", - "arguments": [ - { - "name": "toFloat64", - "arguments": [ - { - "name": "toUInt64", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - { - "name": "toFloat64", - "arguments": [ - { - "name": "toUInt64", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02817_group_array_moving_zero_window_size/ast.json b/parser/testdata/02817_group_array_moving_zero_window_size/ast.json deleted file mode 100644 index e82deaf68a..0000000000 --- a/parser/testdata/02817_group_array_moving_zero_window_size/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArrayMovingAvg", - "parameters": [ - { - "name": "toInt64", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02828_create_as_table_function_rename/ast.json b/parser/testdata/02828_create_as_table_function_rename/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02828_create_as_table_function_rename/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02830_insert_values_time_interval/ast.json b/parser/testdata/02830_insert_values_time_interval/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02830_insert_values_time_interval/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02831_regexp_analyze_recursion/ast.json b/parser/testdata/02831_regexp_analyze_recursion/ast.json deleted file mode 100644 index 4d1984eaa4..0000000000 --- a/parser/testdata/02831_regexp_analyze_recursion/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "match", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "(" - }, - { - "type": "Integer", - "value": 100000 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02831_trash/ast.json b/parser/testdata/02831_trash/ast.json deleted file mode 100644 index 6f3a2b2c5b..0000000000 --- a/parser/testdata/02831_trash/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "CRC32IEEE", - "arguments": [ - { - "name": "sipHash128" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02832_alter_delete_indexes_projections/ast.json b/parser/testdata/02832_alter_delete_indexes_projections/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02832_alter_delete_indexes_projections/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02832_integer_type_inference/ast.json b/parser/testdata/02832_integer_type_inference/ast.json deleted file mode 100644 index fe67a30bb9..0000000000 --- a/parser/testdata/02832_integer_type_inference/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 4741124612489978151 - } - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 3236599669630092879 - } - }, - { - "type": "Integer", - "value": 5607475129431807682 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02833_array_join_columns/ast.json b/parser/testdata/02833_array_join_columns/ast.json deleted file mode 100644 index f44fd53aec..0000000000 --- a/parser/testdata/02833_array_join_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_array_joins", - "tables": [ - { - "table": "test_array_joins" - } - ] -} diff --git a/parser/testdata/02833_multiprewhere_extra_column/ast.json b/parser/testdata/02833_multiprewhere_extra_column/ast.json deleted file mode 100644 index 09953adb9b..0000000000 --- a/parser/testdata/02833_multiprewhere_extra_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_multi_prewhere", - "tables": [ - { - "table": "t_multi_prewhere" - } - ] -} diff --git a/parser/testdata/02833_sparse_columns_tuple_function/ast.json b/parser/testdata/02833_sparse_columns_tuple_function/ast.json deleted file mode 100644 index 01bab2e5c4..0000000000 --- a/parser/testdata/02833_sparse_columns_tuple_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_tuple_sparse", - "tables": [ - { - "table": "t_tuple_sparse" - } - ] -} diff --git a/parser/testdata/02833_starts_ends_with_utf8/ast.json b/parser/testdata/02833_starts_ends_with_utf8/ast.json deleted file mode 100644 index 9207bcdc10..0000000000 --- a/parser/testdata/02833_starts_ends_with_utf8/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "startsWithUTF8", - "arguments": [ - { - "type": "String", - "value": "富强民主文明和谐" - }, - { - "type": "String", - "value": "富强" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02833_std_alias/ast.json b/parser/testdata/02833_std_alias/ast.json deleted file mode 100644 index b8455f4f1c..0000000000 --- a/parser/testdata/02833_std_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "series", - "tables": [ - { - "table": "series" - } - ] -} diff --git a/parser/testdata/02833_tuple_concat/ast.json b/parser/testdata/02833_tuple_concat/ast.json deleted file mode 100644 index d59bb095e4..0000000000 --- a/parser/testdata/02833_tuple_concat/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleConcat" - } - ] - } - ] -} diff --git a/parser/testdata/02834_add_sub_date_functions/ast.json b/parser/testdata/02834_add_sub_date_functions/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02834_add_sub_date_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02834_alter_exception/ast.json b/parser/testdata/02834_alter_exception/ast.json deleted file mode 100644 index 914af0de76..0000000000 --- a/parser/testdata/02834_alter_exception/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_02834", - "tables": [ - { - "table": "alter_02834" - } - ] -} diff --git a/parser/testdata/02834_analyzer_with_statement_references/ast.json b/parser/testdata/02834_analyzer_with_statement_references/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02834_analyzer_with_statement_references/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02834_apache_arrow_abort/ast.json b/parser/testdata/02834_apache_arrow_abort/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/02834_apache_arrow_abort/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02834_array_exists_segfault/ast.json b/parser/testdata/02834_array_exists_segfault/ast.json deleted file mode 100644 index 45ef63a042..0000000000 --- a/parser/testdata/02834_array_exists_segfault/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02834_t", - "tables": [ - { - "table": "02834_t" - } - ] -} diff --git a/parser/testdata/02834_formats_with_variable_number_of_columns/ast.json b/parser/testdata/02834_formats_with_variable_number_of_columns/ast.json deleted file mode 100644 index 006e8583bb..0000000000 --- a/parser/testdata/02834_formats_with_variable_number_of_columns/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "CSV" - } - ] - } - ] -} diff --git a/parser/testdata/02834_nulls_first_sort/ast.json b/parser/testdata/02834_nulls_first_sort/ast.json deleted file mode 100644 index 1ba239bee2..0000000000 --- a/parser/testdata/02834_nulls_first_sort/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nulls_first_sort_test", - "tables": [ - { - "table": "nulls_first_sort_test" - } - ] -} diff --git a/parser/testdata/02834_sparse_columns_sort_with_limit/ast.json b/parser/testdata/02834_sparse_columns_sort_with_limit/ast.json deleted file mode 100644 index 7bc64bacd6..0000000000 --- a/parser/testdata/02834_sparse_columns_sort_with_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sparse_sort_limit", - "tables": [ - { - "table": "t_sparse_sort_limit" - } - ] -} diff --git a/parser/testdata/02834_timestamp_function/ast.json b/parser/testdata/02834_timestamp_function/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02834_timestamp_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02835_fuzz_remove_redundant_sorting/ast.json b/parser/testdata/02835_fuzz_remove_redundant_sorting/ast.json deleted file mode 100644 index 8f1156e6e1..0000000000 --- a/parser/testdata/02835_fuzz_remove_redundant_sorting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers500k", - "tables": [ - { - "table": "numbers500k" - } - ] -} diff --git a/parser/testdata/02835_join_step_explain/ast.json b/parser/testdata/02835_join_step_explain/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02835_join_step_explain/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02835_nested_array_lowcardinality/ast.json b/parser/testdata/02835_nested_array_lowcardinality/ast.json deleted file mode 100644 index a3a7d0083a..0000000000 --- a/parser/testdata/02835_nested_array_lowcardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "cool_table", - "tables": [ - { - "table": "cool_table" - } - ] -} diff --git a/parser/testdata/02835_parallel_replicas_over_distributed/ast.json b/parser/testdata/02835_parallel_replicas_over_distributed/ast.json deleted file mode 100644 index 330b1cbb63..0000000000 --- a/parser/testdata/02835_parallel_replicas_over_distributed/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- 1 shard, 3 replicas" - } - ] - } - ] -} diff --git a/parser/testdata/02840_grace_hash_join_structure_mismatch/ast.json b/parser/testdata/02840_grace_hash_join_structure_mismatch/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02840_grace_hash_join_structure_mismatch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02841_group_array_sorted/ast.json b/parser/testdata/02841_group_array_sorted/ast.json deleted file mode 100644 index 096e2a511d..0000000000 --- a/parser/testdata/02841_group_array_sorted/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArraySorted", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02841_join_filter_set_sparse/ast.json b/parser/testdata/02841_join_filter_set_sparse/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02841_join_filter_set_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02841_not_ready_set_constraints/ast.json b/parser/testdata/02841_not_ready_set_constraints/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02841_not_ready_set_constraints/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02841_parallel_final_wrong_columns_order/ast.json b/parser/testdata/02841_parallel_final_wrong_columns_order/ast.json deleted file mode 100644 index 1e01f0653d..0000000000 --- a/parser/testdata/02841_parallel_final_wrong_columns_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab2", - "tables": [ - { - "table": "tab2" - } - ] -} diff --git a/parser/testdata/02841_parquet_filter_pushdown/ast.json b/parser/testdata/02841_parquet_filter_pushdown/ast.json deleted file mode 100644 index 5544871804..0000000000 --- a/parser/testdata/02841_parquet_filter_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_parquet_row_group_size", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/02841_remote_parameter_parsing_error/ast.json b/parser/testdata/02841_remote_parameter_parsing_error/ast.json deleted file mode 100644 index 66c85836d2..0000000000 --- a/parser/testdata/02841_remote_parameter_parsing_error/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.1" - }, - { - "parts": [ - "sys" - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02841_tuple_modulo/ast.json b/parser/testdata/02841_tuple_modulo/ast.json deleted file mode 100644 index 9c0f0fbdb0..0000000000 --- a/parser/testdata/02841_tuple_modulo/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] -} diff --git a/parser/testdata/02841_with_clause_resolve/ast.json b/parser/testdata/02841_with_clause_resolve/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02841_with_clause_resolve/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02842_filesystem_cache_validate_path/ast.json b/parser/testdata/02842_filesystem_cache_validate_path/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02842_filesystem_cache_validate_path/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/ast.json b/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/02842_largestTriangleThreeBuckets_aggregate_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02842_move_pk_to_end_of_prewhere/ast.json b/parser/testdata/02842_move_pk_to_end_of_prewhere/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/02842_move_pk_to_end_of_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02842_mutations_replace_non_deterministic/ast.json b/parser/testdata/02842_mutations_replace_non_deterministic/ast.json deleted file mode 100644 index 1155e0157e..0000000000 --- a/parser/testdata/02842_mutations_replace_non_deterministic/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_mutations_nondeterministic", - "tables": [ - { - "table": "t_mutations_nondeterministic" - } - ], - "sync": true -} diff --git a/parser/testdata/02842_truncate_database/ast.json b/parser/testdata/02842_truncate_database/ast.json deleted file mode 100644 index 87ef67412d..0000000000 --- a/parser/testdata/02842_truncate_database/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_truncate_database", - "drop_database": true -} diff --git a/parser/testdata/02842_vertical_merge_after_add_drop_column/ast.json b/parser/testdata/02842_vertical_merge_after_add_drop_column/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02842_vertical_merge_after_add_drop_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02843_context_has_expired/ast.json b/parser/testdata/02843_context_has_expired/ast.json deleted file mode 100644 index 4875be3481..0000000000 --- a/parser/testdata/02843_context_has_expired/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02843_dict", - "tables": [ - { - "table": "02843_dict" - } - ] -} diff --git a/parser/testdata/02844_distributed_virtual_columns/ast.json b/parser/testdata/02844_distributed_virtual_columns/ast.json deleted file mode 100644 index f261c7a18f..0000000000 --- a/parser/testdata/02844_distributed_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_01072", - "tables": [ - { - "table": "data_01072" - } - ] -} diff --git a/parser/testdata/02844_subquery_timeout_with_break/ast.json b/parser/testdata/02844_subquery_timeout_with_break/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02844_subquery_timeout_with_break/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02845_arrayShiftRotate/ast.json b/parser/testdata/02845_arrayShiftRotate/ast.json deleted file mode 100644 index bf8d2c12df..0000000000 --- a/parser/testdata/02845_arrayShiftRotate/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "== arrayRotateLeft" - } - ] - } - ] -} diff --git a/parser/testdata/02845_domain_rfc_support_ipv6/ast.json b/parser/testdata/02845_domain_rfc_support_ipv6/ast.json deleted file mode 100644 index 7d617ff3d2..0000000000 --- a/parser/testdata/02845_domain_rfc_support_ipv6/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "domainRFC", - "arguments": [ - { - "type": "String", - "value": "http://[2001:db8::1]:80" - } - ] - } - ], - "format": { - "parts": [ - "CSV" - ] - } - } - ] -} diff --git a/parser/testdata/02845_group_by_constant_keys/ast.json b/parser/testdata/02845_group_by_constant_keys/ast.json deleted file mode 100644 index 0b644a4a5d..0000000000 --- a/parser/testdata/02845_group_by_constant_keys/ast.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "k1" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "k2" - }, - { - "expr": { - "type": "Integer", - "value": 3 - }, - "alias": "k3" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10000000 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k1" - ] - }, - { - "parts": [ - "k2" - ] - }, - { - "parts": [ - "k3" - ] - } - ], - "settings": [ - { - "name": "optimize_group_by_constant_keys", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_software_prefetch_in_aggregation", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/02845_join_on_cond_sparse/ast.json b/parser/testdata/02845_join_on_cond_sparse/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02845_join_on_cond_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02845_prewhere_preserve_column/ast.json b/parser/testdata/02845_prewhere_preserve_column/ast.json deleted file mode 100644 index 51e42b09ef..0000000000 --- a/parser/testdata/02845_prewhere_preserve_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02845_prewhere", - "tables": [ - { - "table": "02845_prewhere" - } - ] -} diff --git a/parser/testdata/02860_distributed_flush_on_detach/ast.json b/parser/testdata/02860_distributed_flush_on_detach/ast.json deleted file mode 100644 index 214f2f0efd..0000000000 --- a/parser/testdata/02860_distributed_flush_on_detach/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02861_filter_pushdown_const_bug/ast.json b/parser/testdata/02861_filter_pushdown_const_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02861_filter_pushdown_const_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02861_index_set_incorrect_args/ast.json b/parser/testdata/02861_index_set_incorrect_args/ast.json deleted file mode 100644 index 83a8be8d7c..0000000000 --- a/parser/testdata/02861_index_set_incorrect_args/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "set_index__fuzz_41", - "tables": [ - { - "table": "set_index__fuzz_41" - } - ] -} diff --git a/parser/testdata/02861_interpolate_alias_precedence/ast.json b/parser/testdata/02861_interpolate_alias_precedence/ast.json deleted file mode 100644 index 5180235988..0000000000 --- a/parser/testdata/02861_interpolate_alias_precedence/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02861_interpolate", - "tables": [ - { - "table": "02861_interpolate" - } - ] -} diff --git a/parser/testdata/02861_replacing_merge_tree_with_cleanup/ast.json b/parser/testdata/02861_replacing_merge_tree_with_cleanup/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02861_replacing_merge_tree_with_cleanup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02861_uuid_format_serialization/ast.json b/parser/testdata/02861_uuid_format_serialization/ast.json deleted file mode 100644 index 46363f8c0e..0000000000 --- a/parser/testdata/02861_uuid_format_serialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_uuid", - "tables": [ - { - "table": "t_uuid" - } - ] -} diff --git a/parser/testdata/02862_sorted_distinct_sparse_fix/ast.json b/parser/testdata/02862_sorted_distinct_sparse_fix/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02862_sorted_distinct_sparse_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02862_uuid_reinterpret_as_numeric/ast.json b/parser/testdata/02862_uuid_reinterpret_as_numeric/ast.json deleted file mode 100644 index 46363f8c0e..0000000000 --- a/parser/testdata/02862_uuid_reinterpret_as_numeric/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_uuid", - "tables": [ - { - "table": "t_uuid" - } - ] -} diff --git a/parser/testdata/02863_decode_html_component/ast.json b/parser/testdata/02863_decode_html_component/ast.json deleted file mode 100644 index 06c1112e98..0000000000 --- a/parser/testdata/02863_decode_html_component/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "decodeHTMLComponent", - "arguments": [ - { - "type": "String", - "value": "Hello, \u0026quot;world\u0026quot;!" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02863_delayed_source_with_totals_and_extremes/ast.json b/parser/testdata/02863_delayed_source_with_totals_and_extremes/ast.json deleted file mode 100644 index f651b54c63..0000000000 --- a/parser/testdata/02863_delayed_source_with_totals_and_extremes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02863_delayed_source", - "tables": [ - { - "table": "02863_delayed_source" - } - ] -} diff --git a/parser/testdata/02863_interpolate_subquery/ast.json b/parser/testdata/02863_interpolate_subquery/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02863_interpolate_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/ast.json b/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02863_mutation_where_in_set_result_cache_pipeline_stuck_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02863_non_const_timezone_check/ast.json b/parser/testdata/02863_non_const_timezone_check/ast.json deleted file mode 100644 index 58b4c3a7c0..0000000000 --- a/parser/testdata/02863_non_const_timezone_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "Dates", - "tables": [ - { - "table": "Dates" - } - ] -} diff --git a/parser/testdata/02864_filtered_url_with_globs/ast.json b/parser/testdata/02864_filtered_url_with_globs/ast.json deleted file mode 100644 index 3ede2d6890..0000000000 --- a/parser/testdata/02864_filtered_url_with_globs/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://127.0.0.1:8123?query=select+{1,2}+as+x+format+TSV" - }, - { - "type": "String", - "value": "TSV" - } - ] - } - } - } - ] - }, - "where": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02864_profile_event_part_lock/ast.json b/parser/testdata/02864_profile_event_part_lock/ast.json deleted file mode 100644 index 76dac8037f..0000000000 --- a/parser/testdata/02864_profile_event_part_lock/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "random_mt", - "tables": [ - { - "table": "random_mt" - } - ] -} diff --git a/parser/testdata/02864_replace_regexp_string_fallback/ast.json b/parser/testdata/02864_replace_regexp_string_fallback/ast.json deleted file mode 100644 index 6b95cdbc90..0000000000 --- a/parser/testdata/02864_replace_regexp_string_fallback/ast.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "Hello" - }, - "alias": "haystack" - }, - { - "expr": { - "type": "String", - "value": "l" - }, - "alias": "needle" - }, - { - "expr": { - "type": "String", - "value": "x" - }, - "alias": "replacement" - }, - { - "name": "replaceRegexpOne", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "haystack" - ] - } - ] - }, - { - "parts": [ - "needle" - ] - }, - { - "parts": [ - "replacement" - ] - } - ] - }, - { - "name": "replaceRegexpAll", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "parts": [ - "haystack" - ] - } - ] - }, - { - "parts": [ - "needle" - ] - }, - { - "parts": [ - "replacement" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02864_statistics_bug_67742/ast.json b/parser/testdata/02864_statistics_bug_67742/ast.json deleted file mode 100644 index 7ef37147e1..0000000000 --- a/parser/testdata/02864_statistics_bug_67742/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_statistics", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02864_statistics_bug_69589/ast.json b/parser/testdata/02864_statistics_bug_69589/ast.json deleted file mode 100644 index 7ef37147e1..0000000000 --- a/parser/testdata/02864_statistics_bug_69589/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_statistics", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02864_statistics_create_materialize_drop/ast.json b/parser/testdata/02864_statistics_create_materialize_drop/ast.json deleted file mode 100644 index 1ed43d4ec6..0000000000 --- a/parser/testdata/02864_statistics_create_materialize_drop/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ], - "sync": true -} diff --git a/parser/testdata/02864_statistics_ddl/ast.json b/parser/testdata/02864_statistics_ddl/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/02864_statistics_ddl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02864_statistics_delayed_materialization_in_merge/ast.json b/parser/testdata/02864_statistics_delayed_materialization_in_merge/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02864_statistics_delayed_materialization_in_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02864_statistics_predicates/ast.json b/parser/testdata/02864_statistics_predicates/ast.json deleted file mode 100644 index 7ef37147e1..0000000000 --- a/parser/testdata/02864_statistics_predicates/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_statistics", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02864_statistics_usage/ast.json b/parser/testdata/02864_statistics_usage/ast.json deleted file mode 100644 index 7ef37147e1..0000000000 --- a/parser/testdata/02864_statistics_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_statistics", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02864_test_ipv4_type_mismatch/ast.json b/parser/testdata/02864_test_ipv4_type_mismatch/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02864_test_ipv4_type_mismatch/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02865_array_join_with_max_block_size/ast.json b/parser/testdata/02865_array_join_with_max_block_size/ast.json deleted file mode 100644 index aaa4b6c719..0000000000 --- a/parser/testdata/02865_array_join_with_max_block_size/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "enable_unaligned_array_join", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02866_size_of_marks_skip_idx_explain/ast.json b/parser/testdata/02866_size_of_marks_skip_idx_explain/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/02866_size_of_marks_skip_idx_explain/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02867_create_user_ssh/ast.json b/parser/testdata/02867_create_user_ssh/ast.json deleted file mode 100644 index 489f602a0a..0000000000 --- a/parser/testdata/02867_create_user_ssh/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "test_user_02867" -} diff --git a/parser/testdata/02867_null_lc_in_bug/ast.json b/parser/testdata/02867_null_lc_in_bug/ast.json deleted file mode 100644 index 3031ed3a37..0000000000 --- a/parser/testdata/02867_null_lc_in_bug/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "tnul", - "tables": [ - { - "table": "tnul" - } - ], - "sync": true -} diff --git a/parser/testdata/02867_nullable_primary_key_final/ast.json b/parser/testdata/02867_nullable_primary_key_final/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02867_nullable_primary_key_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02868_distinct_to_count_optimization/ast.json b/parser/testdata/02868_distinct_to_count_optimization/ast.json deleted file mode 100644 index 64bc39961a..0000000000 --- a/parser/testdata/02868_distinct_to_count_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_rewrite_uniq_to_count", - "tables": [ - { - "table": "test_rewrite_uniq_to_count" - } - ] -} diff --git a/parser/testdata/02868_select_support_from_keywords/ast.json b/parser/testdata/02868_select_support_from_keywords/ast.json deleted file mode 100644 index c640fa60e8..0000000000 --- a/parser/testdata/02868_select_support_from_keywords/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "date", - "type": { - "name": "Date" - } - }, - { - "name": "__sign", - "type": { - "name": "Int8" - } - }, - { - "name": "from", - "type": { - "name": "Float64" - } - }, - { - "name": "to", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "CollapsingMergeTree", - "parameters": [ - { - "parts": [ - "__sign" - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "date" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "date" - ] - } - ] - }, - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/02869_insert_filenames_collisions/ast.json b/parser/testdata/02869_insert_filenames_collisions/ast.json deleted file mode 100644 index d727aaf11e..0000000000 --- a/parser/testdata/02869_insert_filenames_collisions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_collisions", - "tables": [ - { - "table": "t_collisions" - } - ] -} diff --git a/parser/testdata/02869_parallel_replicas_read_from_several/ast.json b/parser/testdata/02869_parallel_replicas_read_from_several/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/02869_parallel_replicas_read_from_several/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/02870_move_partition_to_volume_io_throttling/ast.json b/parser/testdata/02870_move_partition_to_volume_io_throttling/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/02870_move_partition_to_volume_io_throttling/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02870_per_column_settings/ast.json b/parser/testdata/02870_per_column_settings/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02870_per_column_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02872_prewhere_filter/ast.json b/parser/testdata/02872_prewhere_filter/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02872_prewhere_filter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/ast.json b/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/ast.json deleted file mode 100644 index 08f77246bd..0000000000 --- a/parser/testdata/02873_s3_presigned_url_and_url_with_special_characters/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "type": "String", - "value": "http://localhost:11111/test/MyPrefix/BU%20-%20UNIT%20-%201/*.parquet" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02874_analysis_of_variance_overflow/ast.json b/parser/testdata/02874_analysis_of_variance_overflow/ast.json deleted file mode 100644 index 7e20b5d2d4..0000000000 --- a/parser/testdata/02874_analysis_of_variance_overflow/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "analysisOfVariance", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 18446744073709551615 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02874_infer_objects_as_named_tuples/ast.json b/parser/testdata/02874_infer_objects_as_named_tuples/ast.json deleted file mode 100644 index b7a776272e..0000000000 --- a/parser/testdata/02874_infer_objects_as_named_tuples/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_named_tuples_from_objects", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02874_json_merge_patch_function_test/ast.json b/parser/testdata/02874_json_merge_patch_function_test/ast.json deleted file mode 100644 index 8dc0731584..0000000000 --- a/parser/testdata/02874_json_merge_patch_function_test/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "jsonMergePatch", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02874_toDaysSinceYearZero/ast.json b/parser/testdata/02874_toDaysSinceYearZero/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/02874_toDaysSinceYearZero/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/02875_final_invalid_read_ranges_bug/ast.json b/parser/testdata/02875_final_invalid_read_ranges_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02875_final_invalid_read_ranges_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02875_fix_column_decimal_serialization/ast.json b/parser/testdata/02875_fix_column_decimal_serialization/ast.json deleted file mode 100644 index 8c178aa170..0000000000 --- a/parser/testdata/02875_fix_column_decimal_serialization/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "table": "max_length_alias_14053__fuzz_45", - "columns": [ - { - "name": "a", - "type": { - "name": "Date" - } - }, - { - "name": "b", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 76 - }, - { - "type": "Integer", - "value": 45 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "c.d", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Nullable", - "parameters": [ - { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "dcount", - "type": { - "name": "Int8" - }, - "default": { - "name": "length", - "arguments": [ - { - "parts": [ - "c", - "d" - ] - } - ] - }, - "default_kind": "ALIAS" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ], - "partition_by": { - "name": "toMonday", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - }, - "settings": [ - { - "name": "allow_nullable_key", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/02875_json_array_as_string/ast.json b/parser/testdata/02875_json_array_as_string/ast.json deleted file mode 100644 index c0162d43eb..0000000000 --- a/parser/testdata/02875_json_array_as_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_read_arrays_as_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02875_parallel_replicas_cluster_all_replicas/ast.json b/parser/testdata/02875_parallel_replicas_cluster_all_replicas/ast.json deleted file mode 100644 index d58a7bf85a..0000000000 --- a/parser/testdata/02875_parallel_replicas_cluster_all_replicas/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt", - "tables": [ - { - "table": "tt" - } - ] -} diff --git a/parser/testdata/02875_parallel_replicas_remote/ast.json b/parser/testdata/02875_parallel_replicas_remote/ast.json deleted file mode 100644 index d58a7bf85a..0000000000 --- a/parser/testdata/02875_parallel_replicas_remote/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt", - "tables": [ - { - "table": "tt" - } - ] -} diff --git a/parser/testdata/02876_json_incomplete_types_as_strings_inference/ast.json b/parser/testdata/02876_json_incomplete_types_as_strings_inference/ast.json deleted file mode 100644 index fa5e2aef7b..0000000000 --- a/parser/testdata/02876_json_incomplete_types_as_strings_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_infer_incomplete_types_as_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02876_sort_union_of_sorted/ast.json b/parser/testdata/02876_sort_union_of_sorted/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/02876_sort_union_of_sorted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/02876_yyyymmddhhmmsstodatetime/ast.json b/parser/testdata/02876_yyyymmddhhmmsstodatetime/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02876_yyyymmddhhmmsstodatetime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02876_yyyymmddtodate/ast.json b/parser/testdata/02876_yyyymmddtodate/ast.json deleted file mode 100644 index 1a2222a2f1..0000000000 --- a/parser/testdata/02876_yyyymmddtodate/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- YYYYMMDDToDate" - } - ] - } - ] -} diff --git a/parser/testdata/02880_indexHint__partition_id/ast.json b/parser/testdata/02880_indexHint__partition_id/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02880_indexHint__partition_id/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02882_formatQuery/ast.json b/parser/testdata/02882_formatQuery/ast.json deleted file mode 100644 index 562b2d7b24..0000000000 --- a/parser/testdata/02882_formatQuery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "all_valid", - "tables": [ - { - "table": "all_valid" - } - ] -} diff --git a/parser/testdata/02882_primary_key_index_in_function_different_types/ast.json b/parser/testdata/02882_primary_key_index_in_function_different_types/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02882_primary_key_index_in_function_different_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/ast.json b/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/ast.json deleted file mode 100644 index 6eb1b8b063..0000000000 --- a/parser/testdata/02882_replicated_fetch_checksums_doesnt_match/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "checksums_r3", - "tables": [ - { - "table": "checksums_r3" - } - ] -} diff --git a/parser/testdata/02883_array_scalar_mult_div_modulo/ast.json b/parser/testdata/02883_array_scalar_mult_div_modulo/ast.json deleted file mode 100644 index eb61f5204f..0000000000 --- a/parser/testdata/02883_array_scalar_mult_div_modulo/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - }, - "op": "*", - "right": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02883_read_in_reverse_order_virtual_column/ast.json b/parser/testdata/02883_read_in_reverse_order_virtual_column/ast.json deleted file mode 100644 index 0d417e56d8..0000000000 --- a/parser/testdata/02883_read_in_reverse_order_virtual_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_reverse_order_virt_col", - "tables": [ - { - "table": "t_reverse_order_virt_col" - } - ] -} diff --git a/parser/testdata/02884_async_insert_skip_settings/ast.json b/parser/testdata/02884_async_insert_skip_settings/ast.json deleted file mode 100644 index 488f3eb032..0000000000 --- a/parser/testdata/02884_async_insert_skip_settings/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_async_insert_skip_settings", - "tables": [ - { - "table": "t_async_insert_skip_settings" - } - ], - "sync": true -} diff --git a/parser/testdata/02884_duplicate_index_name/ast.json b/parser/testdata/02884_duplicate_index_name/ast.json deleted file mode 100644 index c69adc94fc..0000000000 --- a/parser/testdata/02884_duplicate_index_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_dup_index", - "tables": [ - { - "table": "test_dup_index" - } - ] -} diff --git a/parser/testdata/02884_interval_operator_support_plural_literal/ast.json b/parser/testdata/02884_interval_operator_support_plural_literal/ast.json deleted file mode 100644 index fce6075d58..0000000000 --- a/parser/testdata/02884_interval_operator_support_plural_literal/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "value": { - "type": "Integer", - "value": 2 - }, - "unit": "YEAR" - } - ] - } - ] -} diff --git a/parser/testdata/02884_parallel_window_functions/ast.json b/parser/testdata/02884_parallel_window_functions/ast.json deleted file mode 100644 index b694eef0ed..0000000000 --- a/parser/testdata/02884_parallel_window_functions/ast.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "table": "window_function_threading", - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "ac" - ] - }, - { - "parts": [ - "nw" - ] - } - ] - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "name": "toUInt64", - "arguments": [ - { - "left": { - "name": "toFloat32", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20000000 - } - } - ], - "alias": "ac" - }, - { - "name": "toFloat32", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "wg" - }, - { - "name": "toUInt16", - "arguments": [ - { - "left": { - "name": "toFloat32", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 400 - } - } - ], - "alias": "nw" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers_mt", - "arguments": [ - { - "type": "Integer", - "value": 10000000 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02884_parallel_window_functions_bug/ast.json b/parser/testdata/02884_parallel_window_functions_bug/ast.json deleted file mode 100644 index a303941316..0000000000 --- a/parser/testdata/02884_parallel_window_functions_bug/ast.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "if_not_exists": true, - "table": "posts", - "columns": [ - { - "name": "page_id", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "post_id", - "type": { - "name": "String" - }, - "codec": { - "codecs": [ - { - "name": "LZ4" - } - ] - } - }, - { - "name": "host_id", - "type": { - "name": "UInt32" - }, - "codec": { - "codecs": [ - { - "name": "T64" - }, - { - "name": "LZ4" - } - ] - } - }, - { - "name": "path_id", - "type": { - "name": "UInt32" - } - }, - { - "name": "created", - "type": { - "name": "DateTime" - }, - "codec": { - "codecs": [ - { - "name": "T64" - }, - { - "name": "LZ4" - } - ] - } - }, - { - "name": "as_of", - "type": { - "name": "DateTime" - }, - "codec": { - "codecs": [ - { - "name": "T64" - }, - { - "name": "LZ4" - } - ] - } - } - ], - "engine": { - "name": "ReplacingMergeTree", - "parameters": [ - { - "parts": [ - "as_of" - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "page_id" - ] - }, - { - "parts": [ - "post_id" - ] - } - ] - } - ], - "partition_by": { - "name": "toStartOfMonth", - "arguments": [ - { - "parts": [ - "created" - ] - } - ] - } -} diff --git a/parser/testdata/02884_string_distance_function/ast.json b/parser/testdata/02884_string_distance_function/ast.json deleted file mode 100644 index 8384c63498..0000000000 --- a/parser/testdata/02884_string_distance_function/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- const arguments" - } - ] - } - ] -} diff --git a/parser/testdata/02884_virtual_column_order_by/ast.json b/parser/testdata/02884_virtual_column_order_by/ast.json deleted file mode 100644 index 5783104bc1..0000000000 --- a/parser/testdata/02884_virtual_column_order_by/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "02884_1.csv" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/02885_arg_min_max_combinator/ast.json b/parser/testdata/02885_arg_min_max_combinator/ast.json deleted file mode 100644 index b06fb62128..0000000000 --- a/parser/testdata/02885_arg_min_max_combinator/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumArgMin", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20 - } - } - ] - }, - { - "name": "sumArgMax", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02885_create_distributed_table_without_as/ast.json b/parser/testdata/02885_create_distributed_table_without_as/ast.json deleted file mode 100644 index 9bd9d75727..0000000000 --- a/parser/testdata/02885_create_distributed_table_without_as/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dist_tbl", - "tables": [ - { - "table": "dist_tbl" - } - ] -} diff --git a/parser/testdata/02886_binary_like/ast.json b/parser/testdata/02886_binary_like/ast.json deleted file mode 100644 index 705f014eea..0000000000 --- a/parser/testdata/02886_binary_like/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "aяb" - }, - "pattern": { - "type": "String", - "value": "a_b" - } - } - ] - } - ] -} diff --git a/parser/testdata/02887_byteswap/ast.json b/parser/testdata/02887_byteswap/ast.json deleted file mode 100644 index 5afee72d46..0000000000 --- a/parser/testdata/02887_byteswap/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "byteSwap", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "type": { - "name": "UInt8" - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02887_tuple_element_distributed/ast.json b/parser/testdata/02887_tuple_element_distributed/ast.json deleted file mode 100644 index b022641a9a..0000000000 --- a/parser/testdata/02887_tuple_element_distributed/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "equals", - "arguments": [ - { - "name": "tupleElement", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 10 - } - ], - "alias": "x" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "String", - "value": "a" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2,3}" - }, - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02888_integer_type_inference_in_if_function/ast.json b/parser/testdata/02888_integer_type_inference_in_if_function/ast.json deleted file mode 100644 index 17fc144431..0000000000 --- a/parser/testdata/02888_integer_type_inference_in_if_function/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Integer", - "value": 9223372036854775806 - }, - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02888_obsolete_settings/ast.json b/parser/testdata/02888_obsolete_settings/ast.json deleted file mode 100644 index 7816dbfd9e..0000000000 --- a/parser/testdata/02888_obsolete_settings/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Obsolete server settings" - } - ] - } - ] -} diff --git a/parser/testdata/02889_datetime64_from_string/ast.json b/parser/testdata/02889_datetime64_from_string/ast.json deleted file mode 100644 index de942c96c5..0000000000 --- a/parser/testdata/02889_datetime64_from_string/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "-123" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02889_parts_columns_filenames/ast.json b/parser/testdata/02889_parts_columns_filenames/ast.json deleted file mode 100644 index 1389a5aeb8..0000000000 --- a/parser/testdata/02889_parts_columns_filenames/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_parts_columns_filenames", - "tables": [ - { - "table": "t_parts_columns_filenames" - } - ] -} diff --git a/parser/testdata/02889_print_pretty_type_names/ast.json b/parser/testdata/02889_print_pretty_type_names/ast.json deleted file mode 100644 index 5dc07d344c..0000000000 --- a/parser/testdata/02889_print_pretty_type_names/ast.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "b", - "type": { - "name": "String" - } - }, - { - "name": "c", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "d", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt64" - } - ], - "has_parentheses": true - } - }, - { - "name": "e", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt32" - } - ], - "has_parentheses": true - } - }, - { - "name": "f", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Tuple", - "parameters": [ - { - "name": "g", - "type": { - "name": "String" - } - }, - { - "name": "h", - "type": { - "name": "Map", - "parameters": [ - { - "name": "String" - }, - { - "name": "Array", - "parameters": [ - { - "name": "Tuple", - "parameters": [ - { - "name": "i", - "type": { - "name": "String" - } - }, - { - "name": "j", - "type": { - "name": "UInt64" - } - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "k", - "type": { - "name": "Date" - } - } - ], - "has_parentheses": true - } - }, - { - "name": "l", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02889_system_drop_format_schema/ast.json b/parser/testdata/02889_system_drop_format_schema/ast.json deleted file mode 100644 index 30a1b74670..0000000000 --- a/parser/testdata/02889_system_drop_format_schema/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "command": "DROP FORMAT SCHEMA CACHE" - } -} diff --git a/parser/testdata/02890_describe_table_options/ast.json b/parser/testdata/02890_describe_table_options/ast.json deleted file mode 100644 index 956d12a9ec..0000000000 --- a/parser/testdata/02890_describe_table_options/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_describe_options", - "tables": [ - { - "table": "t_describe_options" - } - ] -} diff --git a/parser/testdata/02890_named_tuple_functions/ast.json b/parser/testdata/02890_named_tuple_functions/ast.json deleted file mode 100644 index 8a3fba6bf6..0000000000 --- a/parser/testdata/02890_named_tuple_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_named_columns_in_function_tuple", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02890_partition_prune_in_extra_columns/ast.json b/parser/testdata/02890_partition_prune_in_extra_columns/ast.json deleted file mode 100644 index 6c51602ea9..0000000000 --- a/parser/testdata/02890_partition_prune_in_extra_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "e", - "tables": [ - { - "table": "e" - } - ] -} diff --git a/parser/testdata/02890_untuple_column_names/ast.json b/parser/testdata/02890_untuple_column_names/ast.json deleted file mode 100644 index 497fff9da6..0000000000 --- a/parser/testdata/02890_untuple_column_names/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- tuple element alias" - } - ] - } - ] -} diff --git a/parser/testdata/02891_alter_update_adaptive_granularity/ast.json b/parser/testdata/02891_alter_update_adaptive_granularity/ast.json deleted file mode 100644 index a4c87e1d0e..0000000000 --- a/parser/testdata/02891_alter_update_adaptive_granularity/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "table": "kv", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "UInt64" - } - }, - { - "name": "s", - "type": { - "name": "String" - } - } - ], - "indexes": [ - { - "name": "value_idx", - "expression": { - "parts": [ - "value" - ] - }, - "type": { - "name": "minmax" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "ReplacingMergeTree" - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 32 - } - }, - { - "name": "index_granularity_bytes", - "value": { - "type": "Integer", - "value": 1024 - } - } - ] -} diff --git a/parser/testdata/02891_array_shingles/ast.json b/parser/testdata/02891_array_shingles/ast.json deleted file mode 100644 index b4db085d98..0000000000 --- a/parser/testdata/02891_array_shingles/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02891_empty_tuple/ast.json b/parser/testdata/02891_empty_tuple/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/02891_empty_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/02891_functions_over_sparse_columns/ast.json b/parser/testdata/02891_functions_over_sparse_columns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02891_functions_over_sparse_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02892_SummingMergeTree_Nested/ast.json b/parser/testdata/02892_SummingMergeTree_Nested/ast.json deleted file mode 100644 index b5cd93798a..0000000000 --- a/parser/testdata/02892_SummingMergeTree_Nested/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nested_smt", - "tables": [ - { - "table": "nested_smt" - } - ] -} diff --git a/parser/testdata/02892_orc_filter_pushdown/ast.json b/parser/testdata/02892_orc_filter_pushdown/ast.json deleted file mode 100644 index 3a8a97b6aa..0000000000 --- a/parser/testdata/02892_orc_filter_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_orc_string_as_string", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02892_rocksdb_trivial_count/ast.json b/parser/testdata/02892_rocksdb_trivial_count/ast.json deleted file mode 100644 index fad5391c5f..0000000000 --- a/parser/testdata/02892_rocksdb_trivial_count/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "dict", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "EmbeddedRocksDB" - }, - "primary_key": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/02893_array_enum_has_hasAny/ast.json b/parser/testdata/02893_array_enum_has_hasAny/ast.json deleted file mode 100644 index 2c3b819c3f..0000000000 --- a/parser/testdata/02893_array_enum_has_hasAny/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v", - "tables": [ - { - "table": "v" - } - ] -} diff --git a/parser/testdata/02893_bad_sample_view/ast.json b/parser/testdata/02893_bad_sample_view/ast.json deleted file mode 100644 index d50d6e7c3f..0000000000 --- a/parser/testdata/02893_bad_sample_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view_without_sample", - "tables": [ - { - "table": "view_without_sample" - } - ] -} diff --git a/parser/testdata/02893_system_drop_schema_cache_format/ast.json b/parser/testdata/02893_system_drop_schema_cache_format/ast.json deleted file mode 100644 index e342ebf48c..0000000000 --- a/parser/testdata/02893_system_drop_schema_cache_format/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "explain_type": "SYNTAX", - "statement": { - "command": "drop schema cache for hdfs" - } -} diff --git a/parser/testdata/02893_trash_optimization/ast.json b/parser/testdata/02893_trash_optimization/ast.json deleted file mode 100644 index 573f27268b..0000000000 --- a/parser/testdata/02893_trash_optimization/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "merge", - "arguments": [ - { - "type": "String", - "value": "system" - }, - { - "type": "String", - "value": "^one$" - } - ] - }, - "alias": "one" - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "one", - "dummy" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "one", - "dummy" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - } - } - ] -} diff --git a/parser/testdata/02893_vertical_final_bugs/ast.json b/parser/testdata/02893_vertical_final_bugs/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/02893_vertical_final_bugs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/02895_cast_operator_bug/ast.json b/parser/testdata/02895_cast_operator_bug/ast.json deleted file mode 100644 index fc52c454f6..0000000000 --- a/parser/testdata/02895_cast_operator_bug/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "expr": { - "type": "Integer", - "value": 0 - }, - "type": { - "name": "UInt16" - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/02896_cyclic_aliases_crash/ast.json b/parser/testdata/02896_cyclic_aliases_crash/ast.json deleted file mode 100644 index 3cda4c258b..0000000000 --- a/parser/testdata/02896_cyclic_aliases_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_ast_depth", - "value": { - "type": "Integer", - "value": 10000000 - } - } - ] -} diff --git a/parser/testdata/02896_leading_zeroes_no_octal/ast.json b/parser/testdata/02896_leading_zeroes_no_octal/ast.json deleted file mode 100644 index e8de5769db..0000000000 --- a/parser/testdata/02896_leading_zeroes_no_octal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_leading_zeroes", - "tables": [ - { - "table": "t_leading_zeroes" - } - ] -} diff --git a/parser/testdata/02896_max_execution_time_with_break_overflow_mode/ast.json b/parser/testdata/02896_max_execution_time_with_break_overflow_mode/ast.json deleted file mode 100644 index 9febeb5238..0000000000 --- a/parser/testdata/02896_max_execution_time_with_break_overflow_mode/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_estimated_execution_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02896_multiple_OR/ast.json b/parser/testdata/02896_multiple_OR/ast.json deleted file mode 100644 index b13f662555..0000000000 --- a/parser/testdata/02896_multiple_OR/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "or_bug", - "tables": [ - { - "table": "or_bug" - } - ] -} diff --git a/parser/testdata/02896_optimize_array_exists_to_has_with_date/ast.json b/parser/testdata/02896_optimize_array_exists_to_has_with_date/ast.json deleted file mode 100644 index 03d503dd60..0000000000 --- a/parser/testdata/02896_optimize_array_exists_to_has_with_date/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayExists", - "arguments": [ - { - "parameters": [ - "date" - ], - "body": { - "left": { - "parts": [ - "date" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "2022-07-31" - } - } - }, - { - "type": "Array", - "value": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2022-07-31" - } - ] - } - ] - } - ], - "alias": "date_exists" - } - ] - } - ] -} diff --git a/parser/testdata/02898_parallel_replicas_custom_key_final/ast.json b/parser/testdata/02898_parallel_replicas_custom_key_final/ast.json deleted file mode 100644 index 8be5bd38a2..0000000000 --- a/parser/testdata/02898_parallel_replicas_custom_key_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02898_parallel_replicas_final", - "tables": [ - { - "table": "02898_parallel_replicas_final" - } - ] -} diff --git a/parser/testdata/02898_parallel_replicas_progress_bar/ast.json b/parser/testdata/02898_parallel_replicas_progress_bar/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/02898_parallel_replicas_progress_bar/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/02899_indexing_by_space_filling_curves/ast.json b/parser/testdata/02899_indexing_by_space_filling_curves/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02899_indexing_by_space_filling_curves/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02900_add_subtract_interval_with_string_date/ast.json b/parser/testdata/02900_add_subtract_interval_with_string_date/ast.json deleted file mode 100644 index c2eb80aa6d..0000000000 --- a/parser/testdata/02900_add_subtract_interval_with_string_date/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- const date, const delta" - } - ] - } - ] -} diff --git a/parser/testdata/02900_date_time_check_overflow/ast.json b/parser/testdata/02900_date_time_check_overflow/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02900_date_time_check_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02900_decimal_sort_with_multiple_columns/ast.json b/parser/testdata/02900_decimal_sort_with_multiple_columns/ast.json deleted file mode 100644 index ae3955c002..0000000000 --- a/parser/testdata/02900_decimal_sort_with_multiple_columns/ast.json +++ /dev/null @@ -1,81 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "op": "-", - "operand": { - "parts": [ - "number" - ] - } - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "i" - }, - { - "name": "toDecimal32", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20 - } - }, - { - "type": "Integer", - "value": 3 - } - ], - "alias": "j" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 600 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "i" - ] - } - }, - { - "expression": { - "parts": [ - "j" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02900_issue_55858/ast.json b/parser/testdata/02900_issue_55858/ast.json deleted file mode 100644 index 8180f7bbc4..0000000000 --- a/parser/testdata/02900_issue_55858/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "precise_float_parsing", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02900_window_function_with_sparse_column/ast.json b/parser/testdata/02900_window_function_with_sparse_column/ast.json deleted file mode 100644 index f361f3806d..0000000000 --- a/parser/testdata/02900_window_function_with_sparse_column/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "table": "test1", - "columns": [ - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "time", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 9 - } - ], - "has_parentheses": true - } - }, - { - "name": "key", - "type": { - "name": "Int64" - } - }, - { - "name": "value", - "type": { - "name": "Bool" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "key" - ] - }, - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "time" - ] - } - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "time" - ] - } - ] - } -} diff --git a/parser/testdata/02901_analyzer_recursive_window/ast.json b/parser/testdata/02901_analyzer_recursive_window/ast.json deleted file mode 100644 index f2483f64ce..0000000000 --- a/parser/testdata/02901_analyzer_recursive_window/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "window": [ - { - "name": "x", - "spec": { - "partition_by": [ - { - "parts": [ - "x" - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02901_predicate_pushdown_cte_stateful/ast.json b/parser/testdata/02901_predicate_pushdown_cte_stateful/ast.json deleted file mode 100644 index fc530f9e83..0000000000 --- a/parser/testdata/02901_predicate_pushdown_cte_stateful/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_error_prone_window_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02901_remove_nullable_crash_analyzer/ast.json b/parser/testdata/02901_remove_nullable_crash_analyzer/ast.json deleted file mode 100644 index 74282c6e50..0000000000 --- a/parser/testdata/02901_remove_nullable_crash_analyzer/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "%", - "right": { - "whens": [ - { - "condition": { - "type": "Integer", - "value": 1 - }, - "result": { - "left": { - "expr": { - "type": "Integer", - "value": 1 - }, - "not": true - }, - "op": "+", - "right": {} - } - } - ], - "else": { - "type": "Null", - "value": null - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02902_add_scalar_in_all_case/ast.json b/parser/testdata/02902_add_scalar_in_all_case/ast.json deleted file mode 100644 index 15636dbdee..0000000000 --- a/parser/testdata/02902_add_scalar_in_all_case/ast.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "TSVRaw" - ] - }, - { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "name": "arrayStringConcat", - "arguments": [ - { - "name": "groupArray", - "arguments": [ - { - "type": "String", - "value": "some long string" - } - ] - }, - { - "type": "String", - "value": "\n" - } - ] - }, - "type": { - "name": "LowCardinality(String)" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000 - } - ] - } - } - } - ] - } - } - ] - } - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "TSVRaw" - ] - } - } - ] -} diff --git a/parser/testdata/02902_diable_apply_deleted_mask/ast.json b/parser/testdata/02902_diable_apply_deleted_mask/ast.json deleted file mode 100644 index c846c3c67f..0000000000 --- a/parser/testdata/02902_diable_apply_deleted_mask/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_apply_deleted_mask", - "tables": [ - { - "table": "test_apply_deleted_mask" - } - ] -} diff --git a/parser/testdata/02902_json_skip_null_values/ast.json b/parser/testdata/02902_json_skip_null_values/ast.json deleted file mode 100644 index 6bfc278450..0000000000 --- a/parser/testdata/02902_json_skip_null_values/ast.json +++ /dev/null @@ -1,103 +0,0 @@ -{ - "table": "test_02902", - "engine": { - "name": "File", - "parameters": [ - { - "parts": [ - "JSONEachRow" - ] - } - ], - "has_parentheses": true - }, - "settings": [ - { - "name": "output_format_json_named_tuples_as_objects", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_json_skip_null_value_in_named_tuples", - "value": { - "type": "Integer", - "value": 1 - } - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Tuple", - "value": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "String" - }, - "operator_syntax": true - }, - { - "type": "Null", - "value": null - }, - { - "type": "Tuple", - "value": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "String" - }, - "operator_syntax": true - }, - { - "type": "Null", - "value": null - } - ] - } - ] - }, - "type": { - "name": "Tuple(a Nullable(String), b Nullable(Int64), c Tuple(x Nullable(String), y Nullable(Float64)))" - } - }, - "alias": "c" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02902_select_subcolumns_from_engine_null/ast.json b/parser/testdata/02902_select_subcolumns_from_engine_null/ast.json deleted file mode 100644 index 4d93ab933a..0000000000 --- a/parser/testdata/02902_select_subcolumns_from_engine_null/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "table": "null_02902", - "columns": [ - { - "name": "t", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "num", - "type": { - "name": "Int64" - } - }, - { - "name": "str", - "type": { - "name": "String" - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Null" - } -} diff --git a/parser/testdata/02903_bug_43644/ast.json b/parser/testdata/02903_bug_43644/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/02903_bug_43644/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/02905_show_setting_query/ast.json b/parser/testdata/02905_show_setting_query/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/02905_show_setting_query/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02905_system_logs_hostname/ast.json b/parser/testdata/02905_system_logs_hostname/ast.json deleted file mode 100644 index 72107cd558..0000000000 --- a/parser/testdata/02905_system_logs_hostname/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "test hostname in system log tables" - } - ] - } - ] -} diff --git a/parser/testdata/02906_flatten_only_true_nested/ast.json b/parser/testdata/02906_flatten_only_true_nested/ast.json deleted file mode 100644 index 83f3909a83..0000000000 --- a/parser/testdata/02906_flatten_only_true_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "flatten_nested", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02906_force_optimize_projection_name/ast.json b/parser/testdata/02906_force_optimize_projection_name/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02906_force_optimize_projection_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02906_interval_comparison/ast.json b/parser/testdata/02906_interval_comparison/ast.json deleted file mode 100644 index 7b6d70dcdf..0000000000 --- a/parser/testdata/02906_interval_comparison/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - }, - "op": "=", - "right": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - } - } - ] - } - ] -} diff --git a/parser/testdata/02906_orc_tuple_field_prune/ast.json b/parser/testdata/02906_orc_tuple_field_prune/ast.json deleted file mode 100644 index e3084a94b6..0000000000 --- a/parser/testdata/02906_orc_tuple_field_prune/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02907_filter_pushdown_crash/ast.json b/parser/testdata/02907_filter_pushdown_crash/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02907_filter_pushdown_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02907_fromDaysSinceYearZero/ast.json b/parser/testdata/02907_fromDaysSinceYearZero/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/02907_fromDaysSinceYearZero/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/02910_prefetch_unexpceted_exception/ast.json b/parser/testdata/02910_prefetch_unexpceted_exception/ast.json deleted file mode 100644 index 8c6c904381..0000000000 --- a/parser/testdata/02910_prefetch_unexpceted_exception/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prefetched_table", - "tables": [ - { - "table": "prefetched_table" - } - ] -} diff --git a/parser/testdata/02910_replicated_merge_parameters_must_consistent/ast.json b/parser/testdata/02910_replicated_merge_parameters_must_consistent/ast.json deleted file mode 100644 index cd0c90693b..0000000000 --- a/parser/testdata/02910_replicated_merge_parameters_must_consistent/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "val", - "type": { - "name": "String" - } - }, - { - "name": "legacy_ver", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "ReplicatedReplacingMergeTree", - "parameters": [ - { - "type": "String", - "value": "/tables/{database}/t/" - }, - { - "type": "String", - "value": "r1" - }, - { - "parts": [ - "legacy_ver" - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/02910_rocksdb_optimize/ast.json b/parser/testdata/02910_rocksdb_optimize/ast.json deleted file mode 100644 index fad5391c5f..0000000000 --- a/parser/testdata/02910_rocksdb_optimize/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "dict", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "EmbeddedRocksDB" - }, - "primary_key": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/02911_add_index_and_materialize_index/ast.json b/parser/testdata/02911_add_index_and_materialize_index/ast.json deleted file mode 100644 index 7ca939993f..0000000000 --- a/parser/testdata/02911_add_index_and_materialize_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index_test", - "tables": [ - { - "table": "index_test" - } - ] -} diff --git a/parser/testdata/02911_analyzer_explain_estimate/ast.json b/parser/testdata/02911_analyzer_explain_estimate/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02911_analyzer_explain_estimate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/ast.json b/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/ast.json deleted file mode 100644 index e4f4d41ec2..0000000000 --- a/parser/testdata/02911_analyzer_order_by_read_in_order_query_plan/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "query_plan_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02911_analyzer_remove_unused_projection_columns/ast.json b/parser/testdata/02911_analyzer_remove_unused_projection_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02911_analyzer_remove_unused_projection_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02911_cte_invalid_query_analysis/ast.json b/parser/testdata/02911_cte_invalid_query_analysis/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/02911_cte_invalid_query_analysis/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/02911_join_on_nullsafe_optimization/ast.json b/parser/testdata/02911_join_on_nullsafe_optimization/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02911_join_on_nullsafe_optimization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02911_support_alias_column_in_indices/ast.json b/parser/testdata/02911_support_alias_column_in_indices/ast.json deleted file mode 100644 index 70737cef21..0000000000 --- a/parser/testdata/02911_support_alias_column_in_indices/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "02911_support_alias_column_in_indices", - "drop_database": true -} diff --git a/parser/testdata/02911_system_symbols/ast.json b/parser/testdata/02911_system_symbols/ast.json deleted file mode 100644 index 29c077ee65..0000000000 --- a/parser/testdata/02911_system_symbols/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "x" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "demangle", - "arguments": [ - { - "parts": [ - "symbol" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "symbols" - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "symbol" - ] - }, - "pattern": { - "type": "String", - "value": "%StorageSystemSymbols%" - } - } - } - ] - } - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "x" - ] - }, - "pattern": { - "type": "String", - "value": "%DB::StorageSystemSymbols::StorageSystemSymbols%" - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "x" - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/02912_group_array_sample/ast.json b/parser/testdata/02912_group_array_sample/ast.json deleted file mode 100644 index 1c56e4317d..0000000000 --- a/parser/testdata/02912_group_array_sample/ast.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "uniq", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 50 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "groupArraySample", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02912_ingestion_mv_deduplication/ast.json b/parser/testdata/02912_ingestion_mv_deduplication/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02912_ingestion_mv_deduplication/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02913_sum_map_state/ast.json b/parser/testdata/02913_sum_map_state/ast.json deleted file mode 100644 index 9de73c1cdb..0000000000 --- a/parser/testdata/02913_sum_map_state/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "sumMappedArraysState", - "arguments": [ - { - "type": "Array", - "value": [ - { - "expr": { - "type": "String", - "value": "0.1" - }, - "type": { - "name": "Decimal(3)" - } - }, - { - "expr": { - "type": "String", - "value": "1" - }, - "type": { - "name": "Decimal(3)" - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "expr": { - "type": "String", - "value": "1.2" - }, - "type": { - "name": "Decimal(3)" - } - }, - { - "expr": { - "type": "String", - "value": "2" - }, - "type": { - "name": "Decimal(3)" - } - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02915_analyzer_fuzz_1/ast.json b/parser/testdata/02915_analyzer_fuzz_1/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02915_analyzer_fuzz_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02915_analyzer_fuzz_2/ast.json b/parser/testdata/02915_analyzer_fuzz_2/ast.json deleted file mode 100644 index 8700546b0e..0000000000 --- a/parser/testdata/02915_analyzer_fuzz_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "aggregate_functions_null_for_empty", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02915_analyzer_fuzz_5/ast.json b/parser/testdata/02915_analyzer_fuzz_5/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02915_analyzer_fuzz_5/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02915_analyzer_fuzz_6/ast.json b/parser/testdata/02915_analyzer_fuzz_6/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02915_analyzer_fuzz_6/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02915_move_partition_inactive_replica/ast.json b/parser/testdata/02915_move_partition_inactive_replica/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/02915_move_partition_inactive_replica/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/02916_addcolumn_nested/ast.json b/parser/testdata/02916_addcolumn_nested/ast.json deleted file mode 100644 index 0df3733ebc..0000000000 --- a/parser/testdata/02916_addcolumn_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "flatten_nested", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02916_analyzer_set_in_join/ast.json b/parser/testdata/02916_analyzer_set_in_join/ast.json deleted file mode 100644 index 0db2a0fcdd..0000000000 --- a/parser/testdata/02916_analyzer_set_in_join/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - }, - { - "parts": [ - "b" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - }, - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 42 - } - ] - } - ] - } - } - ] - }, - "alias": "b" - } - ] - } - } - ] -} diff --git a/parser/testdata/02916_another_move_partition_inactive_replica/ast.json b/parser/testdata/02916_another_move_partition_inactive_replica/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/02916_another_move_partition_inactive_replica/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/02916_csv_infer_numbers_from_strings/ast.json b/parser/testdata/02916_csv_infer_numbers_from_strings/ast.json deleted file mode 100644 index 0e2a1109c0..0000000000 --- a/parser/testdata/02916_csv_infer_numbers_from_strings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_csv_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02916_date_text_parsing/ast.json b/parser/testdata/02916_date_text_parsing/ast.json deleted file mode 100644 index 5f60ac9acf..0000000000 --- a/parser/testdata/02916_date_text_parsing/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "d Date, s String" - }, - { - "type": "String", - "value": "abcdefgh,SomeString" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02916_distributed_skip_unavailable_shards/ast.json b/parser/testdata/02916_distributed_skip_unavailable_shards/ast.json deleted file mode 100644 index a7b0ced4d0..0000000000 --- a/parser/testdata/02916_distributed_skip_unavailable_shards/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_02916", - "tables": [ - { - "table": "table_02916" - } - ] -} diff --git a/parser/testdata/02916_glogal_in_cancel/ast.json b/parser/testdata/02916_glogal_in_cancel/ast.json deleted file mode 100644 index 497382f700..0000000000 --- a/parser/testdata/02916_glogal_in_cancel/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_execution_time", - "value": { - "type": "Float", - "value": 0.5 - } - }, - { - "name": "timeout_overflow_mode", - "value": { - "type": "String", - "value": "break" - } - }, - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02916_replication_protocol_wait_for_part/ast.json b/parser/testdata/02916_replication_protocol_wait_for_part/ast.json deleted file mode 100644 index 07abab9c2f..0000000000 --- a/parser/testdata/02916_replication_protocol_wait_for_part/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "tableIn", - "columns": [ - { - "name": "n", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/test/02916/{database}/table" - }, - { - "type": "String", - "value": "1" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "storage_policy", - "value": { - "type": "String", - "value": "s3_cache" - } - }, - { - "name": "sleep_before_commit_local_part_in_replicated_table_ms", - "value": { - "type": "Integer", - "value": 5000 - } - } - ] -} diff --git a/parser/testdata/02916_to_start_of_interval_with_origin/ast.json b/parser/testdata/02916_to_start_of_interval_with_origin/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/02916_to_start_of_interval_with_origin/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/02918_alter_temporary_table/ast.json b/parser/testdata/02918_alter_temporary_table/ast.json deleted file mode 100644 index 8a154714d2..0000000000 --- a/parser/testdata/02918_alter_temporary_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_test", - "tables": [ - { - "table": "alter_test" - } - ] -} diff --git a/parser/testdata/02918_join_pm_lc_crash/ast.json b/parser/testdata/02918_join_pm_lc_crash/ast.json deleted file mode 100644 index ca8e71fb17..0000000000 --- a/parser/testdata/02918_join_pm_lc_crash/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/02918_optimize_count_for_merge_tables/ast.json b/parser/testdata/02918_optimize_count_for_merge_tables/ast.json deleted file mode 100644 index a802c8a3e9..0000000000 --- a/parser/testdata/02918_optimize_count_for_merge_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt1", - "tables": [ - { - "table": "mt1" - } - ] -} diff --git a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/ast.json b/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/ast.json deleted file mode 100644 index e157cdcd34..0000000000 --- a/parser/testdata/02918_parallel_replicas_custom_key_unavailable_replica/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02918_parallel_replicas", - "tables": [ - { - "table": "02918_parallel_replicas" - } - ] -} diff --git a/parser/testdata/02918_wrong_dictionary_source/ast.json b/parser/testdata/02918_wrong_dictionary_source/ast.json deleted file mode 100644 index f52b41717b..0000000000 --- a/parser/testdata/02918_wrong_dictionary_source/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "id_value_dictionary", - "tables": [ - { - "table": "id_value_dictionary" - } - ] -} diff --git a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/ast.json b/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/ast.json deleted file mode 100644 index 8a154714d2..0000000000 --- a/parser/testdata/02919_alter_temporary_table_with_nondefault_engine/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alter_test", - "tables": [ - { - "table": "alter_test" - } - ] -} diff --git a/parser/testdata/02919_ddsketch_quantile/ast.json b/parser/testdata/02919_ddsketch_quantile/ast.json deleted file mode 100644 index 26fdfd9893..0000000000 --- a/parser/testdata/02919_ddsketch_quantile/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "1" - } - ] - } - ] -} diff --git a/parser/testdata/02919_insert_meet_eternal_hardware_error/ast.json b/parser/testdata/02919_insert_meet_eternal_hardware_error/ast.json deleted file mode 100644 index 8c7bbacdbe..0000000000 --- a/parser/testdata/02919_insert_meet_eternal_hardware_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_hardware_error", - "tables": [ - { - "table": "t_hardware_error" - } - ] -} diff --git a/parser/testdata/02919_segfault_nullable_materialized_update/ast.json b/parser/testdata/02919_segfault_nullable_materialized_update/ast.json deleted file mode 100644 index 3eabd6de73..0000000000 --- a/parser/testdata/02919_segfault_nullable_materialized_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "crash_02919", - "tables": [ - { - "table": "crash_02919" - } - ] -} diff --git a/parser/testdata/02919_storage_fuzzjson/ast.json b/parser/testdata/02919_storage_fuzzjson/ast.json deleted file mode 100644 index a18c3c554f..0000000000 --- a/parser/testdata/02919_storage_fuzzjson/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02919_test_table_noarg", - "tables": [ - { - "table": "02919_test_table_noarg" - } - ] -} diff --git a/parser/testdata/02920_alter_column_of_projections/ast.json b/parser/testdata/02920_alter_column_of_projections/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02920_alter_column_of_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02920_fix_json_merge_patch/ast.json b/parser/testdata/02920_fix_json_merge_patch/ast.json deleted file mode 100644 index 90c54c56f8..0000000000 --- a/parser/testdata/02920_fix_json_merge_patch/ast.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "{\"id\":1,\"foo\":[\"bar\"]}" - }, - "alias": "a" - }, - { - "name": "jsonMergePatch", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "name": "toJSONString", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "String", - "value": "foo" - }, - { - "name": "arrayPushBack", - "arguments": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "JSONExtractString", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - }, - { - "name": "JSONExtractArrayRaw", - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "type": "String", - "value": "foo" - } - ] - } - ] - }, - { - "type": "String", - "value": "baz" - } - ] - } - ] - } - ] - } - ], - "alias": "b" - } - ] - } - ] -} diff --git a/parser/testdata/02920_rename_column_of_skip_indices/ast.json b/parser/testdata/02920_rename_column_of_skip_indices/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02920_rename_column_of_skip_indices/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02921_database_filesystem_path_check/ast.json b/parser/testdata/02921_database_filesystem_path_check/ast.json deleted file mode 100644 index 9dfc07250c..0000000000 --- a/parser/testdata/02921_database_filesystem_path_check/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "database": "db_filesystem", - "engine": { - "name": "Filesystem", - "parameters": [ - { - "type": "String", - "value": "/etc" - } - ], - "has_parentheses": true - }, - "create_database": true -} diff --git a/parser/testdata/02921_fuzzbits_with_array_join/ast.json b/parser/testdata/02921_fuzzbits_with_array_join/ast.json deleted file mode 100644 index d105b024a7..0000000000 --- a/parser/testdata/02921_fuzzbits_with_array_join/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "length", - "arguments": [ - { - "name": "fuzzBits", - "arguments": [ - { - "type": "String", - "value": "stringstring" - }, - { - "type": "Float", - "value": 0.5 - } - ] - } - ] - }, - { - "parts": [ - "a" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - "alias": "a" - } - ] - } - } - ] -} diff --git a/parser/testdata/02921_parameterized_view_except_queries/ast.json b/parser/testdata/02921_parameterized_view_except_queries/ast.json deleted file mode 100644 index 0fb5a2929c..0000000000 --- a/parser/testdata/02921_parameterized_view_except_queries/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Data ---" - } - ] - } - ] -} diff --git a/parser/testdata/02922_analyzer_aggregate_nothing_type/ast.json b/parser/testdata/02922_analyzer_aggregate_nothing_type/ast.json deleted file mode 100644 index 960960ec48..0000000000 --- a/parser/testdata/02922_analyzer_aggregate_nothing_type/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02922_respect_nulls_states/ast.json b/parser/testdata/02922_respect_nulls_states/ast.json deleted file mode 100644 index 3201b38e16..0000000000 --- a/parser/testdata/02922_respect_nulls_states/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "first_value_respect_nullsState", - "arguments": [ - { - "parts": [ - "dummy" - ] - } - ] - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "name": "last_value_respect_nullsState", - "arguments": [ - { - "parts": [ - "dummy" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02923_cte_equality_disjunction/ast.json b/parser/testdata/02923_cte_equality_disjunction/ast.json deleted file mode 100644 index 1d6325e913..0000000000 --- a/parser/testdata/02923_cte_equality_disjunction/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "test_bug_optimization", - "columns": [ - { - "name": "path", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "path" - ] - } - ] -} diff --git a/parser/testdata/02931_alter_materialized_view_query_inconsistent/ast.json b/parser/testdata/02931_alter_materialized_view_query_inconsistent/ast.json deleted file mode 100644 index 2fb70cbc4f..0000000000 --- a/parser/testdata/02931_alter_materialized_view_query_inconsistent/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pipe", - "tables": [ - { - "table": "pipe" - } - ] -} diff --git a/parser/testdata/02931_max_num_to_warn/ast.json b/parser/testdata/02931_max_num_to_warn/ast.json deleted file mode 100644 index 1f8b587985..0000000000 --- a/parser/testdata/02931_max_num_to_warn/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "test_max_num_to_warn_02931", - "create_database": true -} diff --git a/parser/testdata/02931_rewrite_sum_column_and_constant/ast.json b/parser/testdata/02931_rewrite_sum_column_and_constant/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02931_rewrite_sum_column_and_constant/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02931_ubsan_error_arena_aligned_alloc/ast.json b/parser/testdata/02931_ubsan_error_arena_aligned_alloc/ast.json deleted file mode 100644 index f7c4c8d044..0000000000 --- a/parser/testdata/02931_ubsan_error_arena_aligned_alloc/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumResample", - "parameters": [ - { - "type": "Integer", - "value": 65535 - }, - { - "type": "Integer", - "value": 20 - }, - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 20 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 200 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/ast.json b/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02932_analyzer_rewrite_sum_column_and_constant/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02932_apply_deleted_mask/ast.json b/parser/testdata/02932_apply_deleted_mask/ast.json deleted file mode 100644 index 39909253c3..0000000000 --- a/parser/testdata/02932_apply_deleted_mask/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_materialize_delete", - "tables": [ - { - "table": "t_materialize_delete" - } - ] -} diff --git a/parser/testdata/02932_group_by_null_fuzzer/ast.json b/parser/testdata/02932_group_by_null_fuzzer/ast.json deleted file mode 100644 index 898837bdf6..0000000000 --- a/parser/testdata/02932_group_by_null_fuzzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_positional_arguments", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02932_idna/ast.json b/parser/testdata/02932_idna/ast.json deleted file mode 100644 index 567d264fca..0000000000 --- a/parser/testdata/02932_idna/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02932_lwd_and_mutations/ast.json b/parser/testdata/02932_lwd_and_mutations/ast.json deleted file mode 100644 index 588aa73bc8..0000000000 --- a/parser/testdata/02932_lwd_and_mutations/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwd_mutations", - "tables": [ - { - "table": "t_lwd_mutations" - } - ] -} diff --git a/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/ast.json b/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/ast.json deleted file mode 100644 index 9bde06d65d..0000000000 --- a/parser/testdata/02932_materialized_view_with_dropped_target_table_no_exception/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "ignore_materialized_views_with_dropped_target_table", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02932_non_ready_set_stuck/ast.json b/parser/testdata/02932_non_ready_set_stuck/ast.json deleted file mode 100644 index 6f3c95a9ae..0000000000 --- a/parser/testdata/02932_non_ready_set_stuck/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "item_id", - "type": { - "name": "UInt64" - } - }, - { - "name": "price_sold", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Float32" - } - ], - "has_parentheses": true - } - }, - { - "name": "date", - "type": { - "name": "Date" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "item_id" - ] - } - ] -} diff --git a/parser/testdata/02932_parallel_replicas_fuzzer/ast.json b/parser/testdata/02932_parallel_replicas_fuzzer/ast.json deleted file mode 100644 index a65643dbf2..0000000000 --- a/parser/testdata/02932_parallel_replicas_fuzzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_for_non_replicated_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02932_punycode/ast.json b/parser/testdata/02932_punycode/ast.json deleted file mode 100644 index 567d264fca..0000000000 --- a/parser/testdata/02932_punycode/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02932_query_settings_max_size_drop/ast.json b/parser/testdata/02932_query_settings_max_size_drop/ast.json deleted file mode 100644 index 073013f0f0..0000000000 --- a/parser/testdata/02932_query_settings_max_size_drop/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "test_max_size_drop", - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "number" - ] - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02932_query_settings_max_size_drop_rmt/ast.json b/parser/testdata/02932_query_settings_max_size_drop_rmt/ast.json deleted file mode 100644 index a285440b51..0000000000 --- a/parser/testdata/02932_query_settings_max_size_drop_rmt/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_max_size_drop", - "tables": [ - { - "table": "test_max_size_drop" - } - ], - "sync": true -} diff --git a/parser/testdata/02932_set_ttl_where/ast.json b/parser/testdata/02932_set_ttl_where/ast.json deleted file mode 100644 index c9fa0bf285..0000000000 --- a/parser/testdata/02932_set_ttl_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_temp", - "tables": [ - { - "table": "t_temp" - } - ] -} diff --git a/parser/testdata/02933_compare_with_bool_as_string/ast.json b/parser/testdata/02933_compare_with_bool_as_string/ast.json deleted file mode 100644 index e8718c7da7..0000000000 --- a/parser/testdata/02933_compare_with_bool_as_string/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Boolean", - "value": true - }, - "op": "=", - "right": { - "type": "String", - "value": "true" - } - } - ] - } - ] -} diff --git a/parser/testdata/02933_ephemeral_mv/ast.json b/parser/testdata/02933_ephemeral_mv/ast.json deleted file mode 100644 index 3599a21e7f..0000000000 --- a/parser/testdata/02933_ephemeral_mv/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "raw", - "columns": [ - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "num", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "name" - ] - } - ] -} diff --git a/parser/testdata/02933_sqid/ast.json b/parser/testdata/02933_sqid/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02933_sqid/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02934_merge_tree_max_projections/ast.json b/parser/testdata/02934_merge_tree_max_projections/ast.json deleted file mode 100644 index b89e6525ff..0000000000 --- a/parser/testdata/02934_merge_tree_max_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_max_mt_projections_alter", - "tables": [ - { - "table": "test_max_mt_projections_alter" - } - ] -} diff --git a/parser/testdata/02935_date_trunc_case_unsensitiveness/ast.json b/parser/testdata/02935_date_trunc_case_unsensitiveness/ast.json deleted file mode 100644 index ef793c0d3c..0000000000 --- a/parser/testdata/02935_date_trunc_case_unsensitiveness/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "dateTrunc", - "arguments": [ - { - "type": "String", - "value": "DAY" - }, - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2022-03-01 12:55:55" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02935_format_with_arbitrary_types/ast.json b/parser/testdata/02935_format_with_arbitrary_types/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/02935_format_with_arbitrary_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02935_ipv6_from_uint128_equality/ast.json b/parser/testdata/02935_ipv6_from_uint128_equality/ast.json deleted file mode 100644 index a027039742..0000000000 --- a/parser/testdata/02935_ipv6_from_uint128_equality/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toIPv6", - "arguments": [ - { - "expr": { - "type": "String", - "value": "1512366075204170938810683009357704959" - }, - "type": { - "name": "UInt128" - }, - "operator_syntax": true - } - ] - }, - "op": "=", - "right": { - "expr": { - "type": "String", - "value": "0123:4567:89ab:cdef:8899:aabb:ccdd:eeff" - }, - "type": { - "name": "IPv6" - }, - "operator_syntax": true - } - } - ] - } - ] -} diff --git a/parser/testdata/02935_ipv6_from_uint128_one/ast.json b/parser/testdata/02935_ipv6_from_uint128_one/ast.json deleted file mode 100644 index e36a6c7109..0000000000 --- a/parser/testdata/02935_ipv6_from_uint128_one/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIPv6", - "arguments": [ - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02935_ipv6_from_uint128_two/ast.json b/parser/testdata/02935_ipv6_from_uint128_two/ast.json deleted file mode 100644 index b1ae2618cf..0000000000 --- a/parser/testdata/02935_ipv6_from_uint128_two/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIPv6", - "arguments": [ - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 4335 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02935_ipv6_from_uint128_with_bit_and/ast.json b/parser/testdata/02935_ipv6_from_uint128_with_bit_and/ast.json deleted file mode 100644 index 917e57def3..0000000000 --- a/parser/testdata/02935_ipv6_from_uint128_with_bit_and/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIPv6", - "arguments": [ - { - "name": "bitAnd", - "arguments": [ - { - "name": "toIPv6", - "arguments": [ - { - "type": "String", - "value": "ffff:fff3:1fff:2fff:0000:0000:0000:0000" - } - ] - }, - { - "name": "toIPv6", - "arguments": [ - { - "type": "String", - "value": "f5f6:ffff:f32f:61ff:0000:0000:0000:0000" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02935_ipv6_to_and_from_uint128/ast.json b/parser/testdata/02935_ipv6_to_and_from_uint128/ast.json deleted file mode 100644 index 0d963e6232..0000000000 --- a/parser/testdata/02935_ipv6_to_and_from_uint128/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIPv6", - "arguments": [ - { - "name": "toUInt128", - "arguments": [ - { - "name": "toIPv6", - "arguments": [ - { - "type": "String", - "value": "1234:5678:9abc:def0:fedc:9abc:4321:8765" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02935_parallel_replicas_settings/ast.json b/parser/testdata/02935_parallel_replicas_settings/ast.json deleted file mode 100644 index f0018db61f..0000000000 --- a/parser/testdata/02935_parallel_replicas_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_parallel_replicas_settings", - "tables": [ - { - "table": "test_parallel_replicas_settings" - } - ] -} diff --git a/parser/testdata/02940_json_array_of_unnamed_tuples_inference/ast.json b/parser/testdata/02940_json_array_of_unnamed_tuples_inference/ast.json deleted file mode 100644 index 885b13243a..0000000000 --- a/parser/testdata/02940_json_array_of_unnamed_tuples_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_infer_array_of_dynamic_from_array_of_different_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02940_variant_text_deserialization/ast.json b/parser/testdata/02940_variant_text_deserialization/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02940_variant_text_deserialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02941_any_RESPECT_NULL_sparse_column/ast.json b/parser/testdata/02941_any_RESPECT_NULL_sparse_column/ast.json deleted file mode 100644 index 2b3d55a866..0000000000 --- a/parser/testdata/02941_any_RESPECT_NULL_sparse_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_sparse_column", - "tables": [ - { - "table": "data_sparse_column" - } - ] -} diff --git a/parser/testdata/02941_projections_external_aggregation/ast.json b/parser/testdata/02941_projections_external_aggregation/ast.json deleted file mode 100644 index 7b9cb1aa4d..0000000000 --- a/parser/testdata/02941_projections_external_aggregation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_proj_external", - "tables": [ - { - "table": "t_proj_external" - } - ] -} diff --git a/parser/testdata/02942_variant_cast/ast.json b/parser/testdata/02942_variant_cast/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02942_variant_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02943_create_query_interpreter_sample_block_fix/ast.json b/parser/testdata/02943_create_query_interpreter_sample_block_fix/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02943_create_query_interpreter_sample_block_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/ast.json b/parser/testdata/02943_exprs_order_in_group_by_with_rollup/ast.json deleted file mode 100644 index f502ab8064..0000000000 --- a/parser/testdata/02943_exprs_order_in_group_by_with_rollup/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_group_by_with_rollup_order", - "tables": [ - { - "table": "test_group_by_with_rollup_order" - } - ] -} diff --git a/parser/testdata/02943_order_by_all/ast.json b/parser/testdata/02943_order_by_all/ast.json deleted file mode 100644 index 51e9ca4faa..0000000000 --- a/parser/testdata/02943_order_by_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "order_by_all", - "tables": [ - { - "table": "order_by_all" - } - ] -} diff --git a/parser/testdata/02943_positional_arguments_bugs/ast.json b/parser/testdata/02943_positional_arguments_bugs/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02943_positional_arguments_bugs/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/ast.json b/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/ast.json deleted file mode 100644 index 7c507a9d39..0000000000 --- a/parser/testdata/02943_tokenbf_and_ngrambf_indexes_support_match_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tokenbf_tab", - "tables": [ - { - "table": "tokenbf_tab" - } - ] -} diff --git a/parser/testdata/02943_use_full_text_skip_index_with_has_any/ast.json b/parser/testdata/02943_use_full_text_skip_index_with_has_any/ast.json deleted file mode 100644 index c8e1f22555..0000000000 --- a/parser/testdata/02943_use_full_text_skip_index_with_has_any/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tokenbf_v1_hasany_test", - "tables": [ - { - "table": "tokenbf_v1_hasany_test" - } - ] -} diff --git a/parser/testdata/02943_variant_element/ast.json b/parser/testdata/02943_variant_element/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02943_variant_element/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02944_variant_as_common_type_analyzer/ast.json b/parser/testdata/02944_variant_as_common_type_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02944_variant_as_common_type_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02945_blake3_msan/ast.json b/parser/testdata/02945_blake3_msan/ast.json deleted file mode 100644 index 4e71b05d57..0000000000 --- a/parser/testdata/02945_blake3_msan/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "BLAKE3", - "arguments": [ - { - "name": "BLAKE3", - "arguments": [ - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02946_literal_alias_misclassification/ast.json b/parser/testdata/02946_literal_alias_misclassification/ast.json deleted file mode 100644 index c942e58717..0000000000 --- a/parser/testdata/02946_literal_alias_misclassification/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "literal_alias_misclassification", - "tables": [ - { - "table": "literal_alias_misclassification" - } - ] -} diff --git a/parser/testdata/02946_materialize_column_must_not_override_past_values/ast.json b/parser/testdata/02946_materialize_column_must_not_override_past_values/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/02946_materialize_column_must_not_override_past_values/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/ast.json b/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02946_merge_tree_final_split_ranges_by_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02946_parallel_replicas_distributed/ast.json b/parser/testdata/02946_parallel_replicas_distributed/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02946_parallel_replicas_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02946_parallel_replicas_force_primary_key/ast.json b/parser/testdata/02946_parallel_replicas_force_primary_key/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/02946_parallel_replicas_force_primary_key/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/02947_dropped_tables_parts/ast.json b/parser/testdata/02947_dropped_tables_parts/ast.json deleted file mode 100644 index bcdd669c7b..0000000000 --- a/parser/testdata/02947_dropped_tables_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02947_table_1", - "tables": [ - { - "table": "02947_table_1" - } - ] -} diff --git a/parser/testdata/02947_merge_tree_index_table_1/ast.json b/parser/testdata/02947_merge_tree_index_table_1/ast.json deleted file mode 100644 index 9ad5d58207..0000000000 --- a/parser/testdata/02947_merge_tree_index_table_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_merge_tree_index", - "tables": [ - { - "table": "t_merge_tree_index" - } - ] -} diff --git a/parser/testdata/02947_merge_tree_index_table_2/ast.json b/parser/testdata/02947_merge_tree_index_table_2/ast.json deleted file mode 100644 index 9ad5d58207..0000000000 --- a/parser/testdata/02947_merge_tree_index_table_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_merge_tree_index", - "tables": [ - { - "table": "t_merge_tree_index" - } - ] -} diff --git a/parser/testdata/02947_merge_tree_index_table_4/ast.json b/parser/testdata/02947_merge_tree_index_table_4/ast.json deleted file mode 100644 index 9ad5d58207..0000000000 --- a/parser/testdata/02947_merge_tree_index_table_4/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_merge_tree_index", - "tables": [ - { - "table": "t_merge_tree_index" - } - ] -} diff --git a/parser/testdata/02947_parallel_replicas_remote/ast.json b/parser/testdata/02947_parallel_replicas_remote/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02947_parallel_replicas_remote/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02949_parallel_replicas_in_subquery/ast.json b/parser/testdata/02949_parallel_replicas_in_subquery/ast.json deleted file mode 100644 index 23eabb889c..0000000000 --- a/parser/testdata/02949_parallel_replicas_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "merge_tree_in_subqueries", - "tables": [ - { - "table": "merge_tree_in_subqueries" - } - ] -} diff --git a/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/ast.json b/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02949_parallel_replicas_scalar_subquery_big_integer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02949_ttl_group_by_bug/ast.json b/parser/testdata/02949_ttl_group_by_bug/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02949_ttl_group_by_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02950_dictionary_short_circuit/ast.json b/parser/testdata/02950_dictionary_short_circuit/ast.json deleted file mode 100644 index 7052bf8d47..0000000000 --- a/parser/testdata/02950_dictionary_short_circuit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dictionary_source_table", - "tables": [ - { - "table": "dictionary_source_table" - } - ] -} diff --git a/parser/testdata/02950_parallel_replicas_used_count/ast.json b/parser/testdata/02950_parallel_replicas_used_count/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02950_parallel_replicas_used_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02950_part_offset_as_primary_key/ast.json b/parser/testdata/02950_part_offset_as_primary_key/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02950_part_offset_as_primary_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02950_reading_array_tuple_subcolumns/ast.json b/parser/testdata/02950_reading_array_tuple_subcolumns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02950_reading_array_tuple_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02952_conjunction_optimization/ast.json b/parser/testdata/02952_conjunction_optimization/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02952_conjunction_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02953_slow_create_view/ast.json b/parser/testdata/02953_slow_create_view/ast.json deleted file mode 100644 index f3c546f608..0000000000 --- a/parser/testdata/02953_slow_create_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "slow_view1", - "tables": [ - { - "table": "slow_view1" - } - ] -} diff --git a/parser/testdata/02955_avro_format_zstd_encode_support/ast.json b/parser/testdata/02955_avro_format_zstd_encode_support/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02955_avro_format_zstd_encode_support/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02955_sparkBar_alias_sparkbar/ast.json b/parser/testdata/02955_sparkBar_alias_sparkbar/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02955_sparkBar_alias_sparkbar/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02956_fix_to_start_of_milli_microsecond/ast.json b/parser/testdata/02956_fix_to_start_of_milli_microsecond/ast.json deleted file mode 100644 index 7729e41752..0000000000 --- a/parser/testdata/02956_fix_to_start_of_milli_microsecond/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfInterval", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2023-10-09 10:11:12.000999" - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "name": "toIntervalMillisecond", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02956_format_constexpr/ast.json b/parser/testdata/02956_format_constexpr/ast.json deleted file mode 100644 index 4a165c8051..0000000000 --- a/parser/testdata/02956_format_constexpr/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isConstant", - "arguments": [ - { - "name": "format", - "arguments": [ - { - "type": "String", - "value": "{}, world" - }, - { - "type": "String", - "value": "Hello" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02956_rocksdb_with_ttl/ast.json b/parser/testdata/02956_rocksdb_with_ttl/ast.json deleted file mode 100644 index 1160b67f77..0000000000 --- a/parser/testdata/02956_rocksdb_with_ttl/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "table": "dict_with_ttl", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "EmbeddedRocksDB", - "parameters": [ - { - "type": "Integer", - "value": 2 - } - ], - "has_parentheses": true - }, - "primary_key": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/02960_alter_table_part_query_parameter/ast.json b/parser/testdata/02960_alter_table_part_query_parameter/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02960_alter_table_part_query_parameter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02960_partition_by_udf/ast.json b/parser/testdata/02960_partition_by_udf/ast.json deleted file mode 100644 index 94db0ac2b1..0000000000 --- a/parser/testdata/02960_partition_by_udf/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "f1" -} diff --git a/parser/testdata/02960_validate_database_engines/ast.json b/parser/testdata/02960_validate_database_engines/ast.json deleted file mode 100644 index 01e89bbe9c..0000000000 --- a/parser/testdata/02960_validate_database_engines/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test2960_valid_database_engine", - "drop_database": true -} diff --git a/parser/testdata/02961_analyzer_low_cardinality_fuzzer/ast.json b/parser/testdata/02961_analyzer_low_cardinality_fuzzer/ast.json deleted file mode 100644 index 86b2180369..0000000000 --- a/parser/testdata/02961_analyzer_low_cardinality_fuzzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/02961_higher_order_constant_expressions/ast.json b/parser/testdata/02961_higher_order_constant_expressions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02961_higher_order_constant_expressions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02961_read_bool_as_string_json/ast.json b/parser/testdata/02961_read_bool_as_string_json/ast.json deleted file mode 100644 index 9b0ee0550e..0000000000 --- a/parser/testdata/02961_read_bool_as_string_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_read_bools_as_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02961_sumMapFiltered_keepKey/ast.json b/parser/testdata/02961_sumMapFiltered_keepKey/ast.json deleted file mode 100644 index 396de0670c..0000000000 --- a/parser/testdata/02961_sumMapFiltered_keepKey/ast.json +++ /dev/null @@ -1,215 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumMapFiltered", - "parameters": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ], - "arguments": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "a Array(Int64), b Array(Int64)" - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 8 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02962_analyzer_const_in_count_distinct/ast.json b/parser/testdata/02962_analyzer_const_in_count_distinct/ast.json deleted file mode 100644 index 389c5fce05..0000000000 --- a/parser/testdata/02962_analyzer_const_in_count_distinct/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "count_distinct_optimization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02962_analyzer_constant_set/ast.json b/parser/testdata/02962_analyzer_constant_set/ast.json deleted file mode 100644 index b2106d60af..0000000000 --- a/parser/testdata/02962_analyzer_constant_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_parallel_index", - "tables": [ - { - "table": "test_parallel_index" - } - ] -} diff --git a/parser/testdata/02962_analyzer_resolve_group_by_on_shards/ast.json b/parser/testdata/02962_analyzer_resolve_group_by_on_shards/ast.json deleted file mode 100644 index 8fc6fdc9dc..0000000000 --- a/parser/testdata/02962_analyzer_resolve_group_by_on_shards/ast.json +++ /dev/null @@ -1,245 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "AND", - "right": { - "left": { - "name": "toDate", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 2147483647 - } - }, - { - "type": "Null", - "value": null - } - ] - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "left": { - "type": "Null", - "value": null - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - }, - { - "type": "Null", - "value": null - }, - { - "left": { - "name": "toDate", - "arguments": [ - { - "left": { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "0.0001048577" - }, - { - "name": "toDate", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "left": { - "left": { - "type": "Integer", - "value": 10 - }, - "op": "AND", - "right": { - "left": { - "left": { - "name": "toDate", - "arguments": [ - { - "type": "Integer", - "value": 257 - }, - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Null", - "value": null - } - ] - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - } - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - }, - "op": "AND", - "right": { - "op": "-", - "operand": { - "type": "Integer", - "value": 2147483648 - } - } - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - }, - "op": "AND", - "right": { - "type": "Null", - "value": null - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "where": { - "name": "toDate", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "Null", - "value": null - } - ] - }, - "group_by": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02962_indexHint_rpn_construction/ast.json b/parser/testdata/02962_indexHint_rpn_construction/ast.json deleted file mode 100644 index 2913fd0ad1..0000000000 --- a/parser/testdata/02962_indexHint_rpn_construction/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "foo", - "type": { - "name": "Array", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "indexes": [ - { - "name": "idx", - "expression": { - "parts": [ - "foo" - ] - }, - "type": { - "name": "bloom_filter" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree" - }, - "primary_key": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02962_join_using_bug_57894/ast.json b/parser/testdata/02962_join_using_bug_57894/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02962_join_using_bug_57894/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02962_max_joined_block_rows/ast.json b/parser/testdata/02962_max_joined_block_rows/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/02962_max_joined_block_rows/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/02962_parallel_window_functions_different_partitioning/ast.json b/parser/testdata/02962_parallel_window_functions_different_partitioning/ast.json deleted file mode 100644 index d2b0e424db..0000000000 --- a/parser/testdata/02962_parallel_window_functions_different_partitioning/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "empsalary", - "columns": [ - { - "name": "depname", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "empno", - "type": { - "name": "UInt64" - } - }, - { - "name": "salary", - "type": { - "name": "Int32" - } - }, - { - "name": "enroll_date", - "type": { - "name": "Date" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/02963_invalid_identifier/ast.json b/parser/testdata/02963_invalid_identifier/ast.json deleted file mode 100644 index f3f9ae6dc5..0000000000 --- a/parser/testdata/02963_invalid_identifier/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "table": "t.t.t" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "name": "currentDatabase" - } - } - } - ] -} diff --git a/parser/testdata/02963_msan_agg_addBatchLookupTable8/ast.json b/parser/testdata/02963_msan_agg_addBatchLookupTable8/ast.json deleted file mode 100644 index 81f5076ccc..0000000000 --- a/parser/testdata/02963_msan_agg_addBatchLookupTable8/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "even" - }, - { - "name": "aggThrow", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "even" - ] - } - ] - } - ] -} diff --git a/parser/testdata/02963_single_value_destructor/ast.json b/parser/testdata/02963_single_value_destructor/ast.json deleted file mode 100644 index d1358f9fa8..0000000000 --- a/parser/testdata/02963_single_value_destructor/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argMax", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/02963_test_flexible_disk_configuration/ast.json b/parser/testdata/02963_test_flexible_disk_configuration/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02963_test_flexible_disk_configuration/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02965_projection_with_partition_pruning/ast.json b/parser/testdata/02965_projection_with_partition_pruning/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/02965_projection_with_partition_pruning/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/02966_float32_promotion/ast.json b/parser/testdata/02966_float32_promotion/ast.json deleted file mode 100644 index 6caaf6662e..0000000000 --- a/parser/testdata/02966_float32_promotion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "f32_table", - "tables": [ - { - "table": "f32_table" - } - ] -} diff --git a/parser/testdata/02967_fuzz_bad_cast/ast.json b/parser/testdata/02967_fuzz_bad_cast/ast.json deleted file mode 100644 index ab6051f953..0000000000 --- a/parser/testdata/02967_fuzz_bad_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1__fuzz_4", - "tables": [ - { - "table": "t1__fuzz_4" - } - ] -} diff --git a/parser/testdata/02967_index_hint_crash/ast.json b/parser/testdata/02967_index_hint_crash/ast.json deleted file mode 100644 index 2913fd0ad1..0000000000 --- a/parser/testdata/02967_index_hint_crash/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "foo", - "type": { - "name": "Array", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "indexes": [ - { - "name": "idx", - "expression": { - "parts": [ - "foo" - ] - }, - "type": { - "name": "bloom_filter" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree" - }, - "primary_key": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/02968_adaptive_async_insert_timeout/ast.json b/parser/testdata/02968_adaptive_async_insert_timeout/ast.json deleted file mode 100644 index 3843072648..0000000000 --- a/parser/testdata/02968_adaptive_async_insert_timeout/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "async_insert_mt_test", - "tables": [ - { - "table": "async_insert_mt_test" - } - ] -} diff --git a/parser/testdata/02968_analyzer_join_column_not_found/ast.json b/parser/testdata/02968_analyzer_join_column_not_found/ast.json deleted file mode 100644 index f5801571a3..0000000000 --- a/parser/testdata/02968_analyzer_join_column_not_found/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "im", - "tables": [ - { - "table": "im" - } - ] -} diff --git a/parser/testdata/02968_full_sorting_join_fuzz/ast.json b/parser/testdata/02968_full_sorting_join_fuzz/ast.json deleted file mode 100644 index 4bf6fd1193..0000000000 --- a/parser/testdata/02968_full_sorting_join_fuzz/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "max_bytes_in_join", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "full_sorting_merge" - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10240 - } - } - ] -} diff --git a/parser/testdata/02968_projection_merge/ast.json b/parser/testdata/02968_projection_merge/ast.json deleted file mode 100644 index 5a53375428..0000000000 --- a/parser/testdata/02968_projection_merge/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "ReplacingMergeTree" - } - ] - } - ] -} diff --git a/parser/testdata/02968_url_args/ast.json b/parser/testdata/02968_url_args/ast.json deleted file mode 100644 index dfe43aca6b..0000000000 --- a/parser/testdata/02968_url_args/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "table": "a", - "columns": [ - { - "name": "x", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "URL", - "parameters": [ - { - "type": "String", - "value": "https://example.com/" - }, - { - "parts": [ - "CSV" - ] - }, - { - "name": "headers", - "arguments": [ - { - "left": { - "type": "String", - "value": "foo" - }, - "op": "=", - "right": { - "type": "String", - "value": "bar" - } - }, - { - "left": { - "type": "String", - "value": "a" - }, - "op": "=", - "right": { - "type": "String", - "value": "13" - } - } - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/02969_analyzer_eliminate_injective_functions/ast.json b/parser/testdata/02969_analyzer_eliminate_injective_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02969_analyzer_eliminate_injective_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02969_functions_to_subcolumns_if_null/ast.json b/parser/testdata/02969_functions_to_subcolumns_if_null/ast.json deleted file mode 100644 index c7786bcda0..0000000000 --- a/parser/testdata/02969_functions_to_subcolumns_if_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_subcolumns_if", - "tables": [ - { - "table": "t_subcolumns_if" - } - ] -} diff --git a/parser/testdata/02969_mysql_cast_type_aliases/ast.json b/parser/testdata/02969_mysql_cast_type_aliases/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/02969_mysql_cast_type_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02970_generate_series/ast.json b/parser/testdata/02970_generate_series/ast.json deleted file mode 100644 index 1a7fb34ee3..0000000000 --- a/parser/testdata/02970_generate_series/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generate_series", - "arguments": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 4 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02970_visible_width_behavior/ast.json b/parser/testdata/02970_visible_width_behavior/ast.json deleted file mode 100644 index c93a45b6da..0000000000 --- a/parser/testdata/02970_visible_width_behavior/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "visibleWidth", - "arguments": [ - { - "type": "String", - "value": "ClickHouse是一个很好的数据库" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02971_functions_to_subcolumns_column_names/ast.json b/parser/testdata/02971_functions_to_subcolumns_column_names/ast.json deleted file mode 100644 index 9d7953edab..0000000000 --- a/parser/testdata/02971_functions_to_subcolumns_column_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_column_names", - "tables": [ - { - "table": "t_column_names" - } - ] -} diff --git a/parser/testdata/02971_functions_to_subcolumns_map/ast.json b/parser/testdata/02971_functions_to_subcolumns_map/ast.json deleted file mode 100644 index 3c1debc271..0000000000 --- a/parser/testdata/02971_functions_to_subcolumns_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_func_to_subcolumns_map", - "tables": [ - { - "table": "t_func_to_subcolumns_map" - } - ] -} diff --git a/parser/testdata/02971_functions_to_subcolumns_variant/ast.json b/parser/testdata/02971_functions_to_subcolumns_variant/ast.json deleted file mode 100644 index ae33186bad..0000000000 --- a/parser/testdata/02971_functions_to_subcolumns_variant/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_func_to_subcolumns_variant", - "tables": [ - { - "table": "t_func_to_subcolumns_variant" - } - ] -} diff --git a/parser/testdata/02971_limit_by_distributed/ast.json b/parser/testdata/02971_limit_by_distributed/ast.json deleted file mode 100644 index c5015ca9b4..0000000000 --- a/parser/testdata/02971_limit_by_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tlb", - "tables": [ - { - "table": "tlb" - } - ] -} diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/ast.json b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/ast.json deleted file mode 100644 index 873b70b0af..0000000000 --- a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_deduplicate", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/ast.json b/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/ast.json deleted file mode 100644 index 873b70b0af..0000000000 --- a/parser/testdata/02972_insert_deduplication_token_hierarchical_inserts_views/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_deduplicate", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02972_parallel_replicas_cte/ast.json b/parser/testdata/02972_parallel_replicas_cte/ast.json deleted file mode 100644 index 2280f00c09..0000000000 --- a/parser/testdata/02972_parallel_replicas_cte/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pr_1", - "tables": [ - { - "table": "pr_1" - } - ] -} diff --git a/parser/testdata/02972_to_string_nullable_timezone/ast.json b/parser/testdata/02972_to_string_nullable_timezone/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/02972_to_string_nullable_timezone/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/ast.json b/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/02973_analyzer_join_use_nulls_column_not_found/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02973_block_number_sparse_serialization_and_mutation/ast.json b/parser/testdata/02973_block_number_sparse_serialization_and_mutation/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/02973_block_number_sparse_serialization_and_mutation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02973_dictionary_table_exception_fix/ast.json b/parser/testdata/02973_dictionary_table_exception_fix/ast.json deleted file mode 100644 index 205b8c59a3..0000000000 --- a/parser/testdata/02973_dictionary_table_exception_fix/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "i", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "i" - ] - } - ] -} diff --git a/parser/testdata/02974_analyzer_array_join_subcolumn/ast.json b/parser/testdata/02974_analyzer_array_join_subcolumn/ast.json deleted file mode 100644 index 3e13596f87..0000000000 --- a/parser/testdata/02974_analyzer_array_join_subcolumn/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t2", - "tables": [ - { - "table": "t2" - } - ] -} diff --git a/parser/testdata/02974_if_with_map/ast.json b/parser/testdata/02974_if_with_map/ast.json deleted file mode 100644 index 966fee0c6d..0000000000 --- a/parser/testdata/02974_if_with_map/ast.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02975_intdiv_with_decimal/ast.json b/parser/testdata/02975_intdiv_with_decimal/ast.json deleted file mode 100644 index 39360a4436..0000000000 --- a/parser/testdata/02975_intdiv_with_decimal/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02975_system_zookeeper_retries/ast.json b/parser/testdata/02975_system_zookeeper_retries/ast.json deleted file mode 100644 index 8352b5681f..0000000000 --- a/parser/testdata/02975_system_zookeeper_retries/ast.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "path" - ] - }, - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "zookeeper" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "path" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "/keeper" - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "path" - ] - } - }, - { - "expression": { - "parts": [ - "name" - ] - } - } - ], - "settings": [ - { - "name": "insert_keeper_retry_initial_backoff_ms", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "insert_keeper_retry_max_backoff_ms", - "value": { - "type": "Integer", - "value": 20 - } - }, - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0.3 - } - }, - { - "name": "insert_keeper_fault_injection_seed", - "value": { - "type": "Integer", - "value": 4 - } - }, - { - "name": "log_comment", - "value": { - "type": "String", - "value": "02975_system_zookeeper_retries" - } - } - ] - } - ] -} diff --git a/parser/testdata/02976_system_zookeeper_filters/ast.json b/parser/testdata/02976_system_zookeeper_filters/ast.json deleted file mode 100644 index e1e356c739..0000000000 --- a/parser/testdata/02976_system_zookeeper_filters/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_unrestricted_reads_from_keeper", - "value": { - "type": "String", - "value": "false" - } - } - ] -} diff --git a/parser/testdata/02977_csv_format_support_tuple/ast.json b/parser/testdata/02977_csv_format_support_tuple/ast.json deleted file mode 100644 index 18b6291ab4..0000000000 --- a/parser/testdata/02977_csv_format_support_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_csv_serialize_tuple_into_separate_columns", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/02981_nested_bad_types/ast.json b/parser/testdata/02981_nested_bad_types/ast.json deleted file mode 100644 index bd27d8c850..0000000000 --- a/parser/testdata/02981_nested_bad_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02981_translate_fixedstring/ast.json b/parser/testdata/02981_translate_fixedstring/ast.json deleted file mode 100644 index 79ac5761a7..0000000000 --- a/parser/testdata/02981_translate_fixedstring/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "translate", - "arguments": [ - { - "expr": { - "type": "String", - "value": "aaa" - }, - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "A" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02981_variant_type_function/ast.json b/parser/testdata/02981_variant_type_function/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02981_variant_type_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02981_vertical_merges_memory_usage/ast.json b/parser/testdata/02981_vertical_merges_memory_usage/ast.json deleted file mode 100644 index de0f9289ff..0000000000 --- a/parser/testdata/02981_vertical_merges_memory_usage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_vertical_merge_memory", - "tables": [ - { - "table": "t_vertical_merge_memory" - } - ] -} diff --git a/parser/testdata/02982_changeDate/ast.json b/parser/testdata/02982_changeDate/ast.json deleted file mode 100644 index 6415fa5f4f..0000000000 --- a/parser/testdata/02982_changeDate/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/02982_create_mv_inner_extra/ast.json b/parser/testdata/02982_create_mv_inner_extra/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/02982_create_mv_inner_extra/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -} diff --git a/parser/testdata/02982_parallel_replicas_unexpected_cluster/ast.json b/parser/testdata/02982_parallel_replicas_unexpected_cluster/ast.json deleted file mode 100644 index e8f347454b..0000000000 --- a/parser/testdata/02982_parallel_replicas_unexpected_cluster/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_unexpected_cluster", - "tables": [ - { - "table": "test_unexpected_cluster" - } - ] -} diff --git a/parser/testdata/02982_unambiguous_alter_commands/ast.json b/parser/testdata/02982_unambiguous_alter_commands/ast.json deleted file mode 100644 index 6643dbc2bc..0000000000 --- a/parser/testdata/02982_unambiguous_alter_commands/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Alter commands in parens" - } - ] - } - ] -} diff --git a/parser/testdata/02983_const_sharding_key/ast.json b/parser/testdata/02983_const_sharding_key/ast.json deleted file mode 100644 index 3923ec2d21..0000000000 --- a/parser/testdata/02983_const_sharding_key/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "shard_0", - "drop_database": true -} diff --git a/parser/testdata/02983_empty_map/ast.json b/parser/testdata/02983_empty_map/ast.json deleted file mode 100644 index 3f8a3774e7..0000000000 --- a/parser/testdata/02983_empty_map/ast.json +++ /dev/null @@ -1,145 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "f1", - "type": { - "name": "Int32" - } - }, - { - "name": "f2", - "type": { - "name": "Map", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - }, - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - }, - { - "name": "f3", - "type": { - "name": "Map", - "parameters": [ - { - "name": "String" - }, - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "f4", - "type": { - "name": "Map", - "parameters": [ - { - "name": "Int32" - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - }, - "as_select": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "f1" - }, - { - "name": "map", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - } - ], - "alias": "f2" - }, - { - "parts": [ - "f2" - ], - "alias": "f3" - }, - { - "parts": [ - "f2" - ], - "alias": "f4" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000111 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/02983_empty_map_hasToken/ast.json b/parser/testdata/02983_empty_map_hasToken/ast.json deleted file mode 100644 index 66db293b8e..0000000000 --- a/parser/testdata/02983_empty_map_hasToken/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "t", - "type": { - "name": "String" - } - }, - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "h", - "type": { - "name": "Map", - "parameters": [ - { - "name": "String" - }, - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "t" - ] - }, - { - "parts": [ - "id" - ] - } - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 4096 - } - } - ] -} diff --git a/parser/testdata/02984_topk_empty_merge/ast.json b/parser/testdata/02984_topk_empty_merge/ast.json deleted file mode 100644 index 447eae5f5d..0000000000 --- a/parser/testdata/02984_topk_empty_merge/ast.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "topK", - "arguments": [ - { - "type": "String", - "value": "102.4" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Null", - "value": null - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "dummy" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02985_dialects_with_distributed_tables/ast.json b/parser/testdata/02985_dialects_with_distributed_tables/ast.json deleted file mode 100644 index f1dc6ea9e7..0000000000 --- a/parser/testdata/02985_dialects_with_distributed_tables/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_prql_dialect", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02985_if_over_big_int_decimal/ast.json b/parser/testdata/02985_if_over_big_int_decimal/ast.json deleted file mode 100644 index e1c98add82..0000000000 --- a/parser/testdata/02985_if_over_big_int_decimal/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumIf", - "arguments": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "Int128" - }, - "operator_syntax": true - }, - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 10 - } - }, - "op": "==", - "right": { - "type": "Integer", - "value": 0 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02985_minmax_index_aggregate_function/ast.json b/parser/testdata/02985_minmax_index_aggregate_function/ast.json deleted file mode 100644 index 6f655e74a2..0000000000 --- a/parser/testdata/02985_minmax_index_aggregate_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_agg_func", - "tables": [ - { - "table": "t_index_agg_func" - } - ] -} diff --git a/parser/testdata/02985_shard_query_start_time/ast.json b/parser/testdata/02985_shard_query_start_time/ast.json deleted file mode 100644 index 9026862c19..0000000000 --- a/parser/testdata/02985_shard_query_start_time/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sharded_table", - "tables": [ - { - "table": "sharded_table" - } - ] -} diff --git a/parser/testdata/02986_leftpad_fixedstring/ast.json b/parser/testdata/02986_leftpad_fixedstring/ast.json deleted file mode 100644 index 37a28bcc04..0000000000 --- a/parser/testdata/02986_leftpad_fixedstring/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "leftPad", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "abc" - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "leftPad", - "arguments": [ - { - "type": "String", - "value": "abc" - }, - { - "expr": { - "type": "String", - "value": "0" - }, - "type": { - "name": "Int32" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02987_group_array_intersect/ast.json b/parser/testdata/02987_group_array_intersect/ast.json deleted file mode 100644 index ddbf5d324e..0000000000 --- a/parser/testdata/02987_group_array_intersect/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02987_logical_optimizer_pass_lowcardinality/ast.json b/parser/testdata/02987_logical_optimizer_pass_lowcardinality/ast.json deleted file mode 100644 index 3a917a8256..0000000000 --- a/parser/testdata/02987_logical_optimizer_pass_lowcardinality/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "02987_logical_optimizer_table", - "columns": [ - { - "name": "key", - "type": { - "name": "Int" - } - }, - { - "name": "value", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/02988_join_using_prewhere_pushdown/ast.json b/parser/testdata/02988_join_using_prewhere_pushdown/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/02988_join_using_prewhere_pushdown/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/02988_ordinary_database_warning/ast.json b/parser/testdata/02988_ordinary_database_warning/ast.json deleted file mode 100644 index 039e5c1b13..0000000000 --- a/parser/testdata/02988_ordinary_database_warning/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "02988_ordinary", - "drop_database": true -} diff --git a/parser/testdata/02989_group_by_tuple/ast.json b/parser/testdata/02989_group_by_tuple/ast.json deleted file mode 100644 index 0e0e4da993..0000000000 --- a/parser/testdata/02989_group_by_tuple/ast.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/02989_join_using_parent_scope/ast.json b/parser/testdata/02989_join_using_parent_scope/ast.json deleted file mode 100644 index 05433156ea..0000000000 --- a/parser/testdata/02989_join_using_parent_scope/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tabc", - "tables": [ - { - "table": "tabc" - } - ] -} diff --git a/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/ast.json b/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/ast.json deleted file mode 100644 index 96057cfb7a..0000000000 --- a/parser/testdata/02989_replicated_merge_tree_invalid_metadata_version/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_replicated", - "tables": [ - { - "table": "test_table_replicated" - } - ] -} diff --git a/parser/testdata/02989_system_tables_metadata_version/ast.json b/parser/testdata/02989_system_tables_metadata_version/ast.json deleted file mode 100644 index f354fc48ab..0000000000 --- a/parser/testdata/02989_system_tables_metadata_version/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_temporary_table_02989", - "tables": [ - { - "table": "test_temporary_table_02989" - } - ] -} diff --git a/parser/testdata/02989_variant_comparison/ast.json b/parser/testdata/02989_variant_comparison/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02989_variant_comparison/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02990_arrayFold_nullable_lc/ast.json b/parser/testdata/02990_arrayFold_nullable_lc/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02990_arrayFold_nullable_lc/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02990_format_not_precedence/ast.json b/parser/testdata/02990_format_not_precedence/ast.json deleted file mode 100644 index b0b1863174..0000000000 --- a/parser/testdata/02990_format_not_precedence/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "op": "NOT", - "operand": { - "left": { - "type": "Integer", - "value": 0 - }, - "op": "+", - "right": { - "op": "NOT", - "operand": { - "type": "Integer", - "value": 0 - } - } - } - } - ] - } - ] -} diff --git a/parser/testdata/02990_optimize_uniq_to_count_alias/ast.json b/parser/testdata/02990_optimize_uniq_to_count_alias/ast.json deleted file mode 100644 index 9423afd266..0000000000 --- a/parser/testdata/02990_optimize_uniq_to_count_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tags", - "tables": [ - { - "table": "tags" - } - ] -} diff --git a/parser/testdata/02990_parts_splitter_invalid_ranges/ast.json b/parser/testdata/02990_parts_splitter_invalid_ranges/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/02990_parts_splitter_invalid_ranges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/02990_rmt_replica_path_uuid/ast.json b/parser/testdata/02990_rmt_replica_path_uuid/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/02990_rmt_replica_path_uuid/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/02990_variant_where_cond/ast.json b/parser/testdata/02990_variant_where_cond/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/02990_variant_where_cond/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02991_count_rewrite_analyzer/ast.json b/parser/testdata/02991_count_rewrite_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02991_count_rewrite_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02992_all_columns_should_have_comment/ast.json b/parser/testdata/02992_all_columns_should_have_comment/ast.json deleted file mode 100644 index ffdcc6e987..0000000000 --- a/parser/testdata/02992_all_columns_should_have_comment/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "FLUSH LOGS" -} diff --git a/parser/testdata/02992_analyzer_group_by_const/ast.json b/parser/testdata/02992_analyzer_group_by_const/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02992_analyzer_group_by_const/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02992_settings_overflow/ast.json b/parser/testdata/02992_settings_overflow/ast.json deleted file mode 100644 index 6f45a390a3..0000000000 --- a/parser/testdata/02992_settings_overflow/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "op": "-", - "operand": { - "type": "Integer", - "value": 1 - } - } - } - ] -} diff --git a/parser/testdata/02993_lazy_index_loading/ast.json b/parser/testdata/02993_lazy_index_loading/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02993_lazy_index_loading/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02993_values_escape_quote/ast.json b/parser/testdata/02993_values_escape_quote/ast.json deleted file mode 100644 index 7a3057e3df..0000000000 --- a/parser/testdata/02993_values_escape_quote/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "foo" - } - ], - "format": { - "parts": [ - "Values" - ] - } - } - ] -} diff --git a/parser/testdata/02994_cosineDistanceNullable/ast.json b/parser/testdata/02994_cosineDistanceNullable/ast.json deleted file mode 100644 index 7604679848..0000000000 --- a/parser/testdata/02994_cosineDistanceNullable/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cosineDistance", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Float", - "value": 0.5 - } - ] - }, - { - "type": "Float", - "value": 0.1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02994_inconsistent_formatting/ast.json b/parser/testdata/02994_inconsistent_formatting/ast.json deleted file mode 100644 index 6a84920033..0000000000 --- a/parser/testdata/02994_inconsistent_formatting/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "table", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/02994_sanity_check_settings/ast.json b/parser/testdata/02994_sanity_check_settings/ast.json deleted file mode 100644 index 4f46873637..0000000000 --- a/parser/testdata/02994_sanity_check_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "error" - } - } - ] -} diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns/ast.json b/parser/testdata/02995_preliminary_filters_duplicated_columns/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/02995_preliminary_filters_duplicated_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/ast.json b/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/02995_preliminary_filters_duplicated_columns_SimpleAggregateFunction/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02996_analyzer_prewhere_projection/ast.json b/parser/testdata/02996_analyzer_prewhere_projection/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/02996_analyzer_prewhere_projection/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02996_index_compaction_counterexample/ast.json b/parser/testdata/02996_index_compaction_counterexample/ast.json deleted file mode 100644 index 34187c0650..0000000000 --- a/parser/testdata/02996_index_compaction_counterexample/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "b", - "tables": [ - { - "table": "b" - } - ] -} diff --git a/parser/testdata/02996_nullable_arrayReduce/ast.json b/parser/testdata/02996_nullable_arrayReduce/ast.json deleted file mode 100644 index 14ff25625e..0000000000 --- a/parser/testdata/02996_nullable_arrayReduce/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayReduce", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "stddevSampOrNull" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02997_fix_datetime64_scale_conversion/ast.json b/parser/testdata/02997_fix_datetime64_scale_conversion/ast.json deleted file mode 100644 index 7e8a3753d7..0000000000 --- a/parser/testdata/02997_fix_datetime64_scale_conversion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_0", - "tables": [ - { - "table": "test_0" - } - ] -} diff --git a/parser/testdata/02998_analyzer_prewhere_report/ast.json b/parser/testdata/02998_analyzer_prewhere_report/ast.json deleted file mode 100644 index 05e928a6c4..0000000000 --- a/parser/testdata/02998_analyzer_prewhere_report/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "table": "hits", - "columns": [ - { - "name": "date", - "type": { - "name": "Date" - } - }, - { - "name": "data", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt32" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "date" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "date" - ] - } - ] - } -} diff --git a/parser/testdata/02998_analyzer_secret_args_tree_node/ast.json b/parser/testdata/02998_analyzer_secret_args_tree_node/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02998_analyzer_secret_args_tree_node/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02998_ipv6_hashing/ast.json b/parser/testdata/02998_ipv6_hashing/ast.json deleted file mode 100644 index 149b49ff92..0000000000 --- a/parser/testdata/02998_ipv6_hashing/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toIPv6", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "fe80::62:5aff:fed1:daf0" - } - ] - } - ] - } - ], - "alias": "ipv6" - }, - { - "name": "SHA256", - "arguments": [ - { - "parts": [ - "ipv6" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/02998_operator_respect_nulls/ast.json b/parser/testdata/02998_operator_respect_nulls/ast.json deleted file mode 100644 index 1f55af987c..0000000000 --- a/parser/testdata/02998_operator_respect_nulls/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "plus", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/ast.json b/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/02998_pretty_format_print_readable_number_on_single_value/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/02998_primary_key_skip_columns/ast.json b/parser/testdata/02998_primary_key_skip_columns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/02998_primary_key_skip_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/02998_projection_after_attach_partition/ast.json b/parser/testdata/02998_projection_after_attach_partition/ast.json deleted file mode 100644 index d30208b433..0000000000 --- a/parser/testdata/02998_projection_after_attach_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "visits_order", - "tables": [ - { - "table": "visits_order" - } - ] -} diff --git a/parser/testdata/02998_to_milliseconds/ast.json b/parser/testdata/02998_to_milliseconds/ast.json deleted file mode 100644 index 3fb097d1ea..0000000000 --- a/parser/testdata/02998_to_milliseconds/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toMillisecond" - } - ] - } - ] -} diff --git a/parser/testdata/02999_analyzer_preimage_null/ast.json b/parser/testdata/02999_analyzer_preimage_null/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/02999_analyzer_preimage_null/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/02999_scalar_subqueries_bug_1/ast.json b/parser/testdata/02999_scalar_subqueries_bug_1/ast.json deleted file mode 100644 index b63517ad51..0000000000 --- a/parser/testdata/02999_scalar_subqueries_bug_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_table_select", - "tables": [ - { - "table": "t_table_select" - } - ] -} diff --git a/parser/testdata/02999_scalar_subqueries_bug_2/ast.json b/parser/testdata/02999_scalar_subqueries_bug_2/ast.json deleted file mode 100644 index 0e48e23032..0000000000 --- a/parser/testdata/02999_scalar_subqueries_bug_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "source", - "tables": [ - { - "table": "source" - } - ] -} diff --git a/parser/testdata/02999_ulid_short_circuit/ast.json b/parser/testdata/02999_ulid_short_circuit/ast.json deleted file mode 100644 index d4df7879f6..0000000000 --- a/parser/testdata/02999_ulid_short_circuit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Madrid" - } - } - ] -} diff --git a/parser/testdata/02999_variant_suspicious_types/ast.json b/parser/testdata/02999_variant_suspicious_types/ast.json deleted file mode 100644 index 245ec3bd82..0000000000 --- a/parser/testdata/02999_variant_suspicious_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_variant_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03000_minmax_index_first/ast.json b/parser/testdata/03000_minmax_index_first/ast.json deleted file mode 100644 index a60bce1c35..0000000000 --- a/parser/testdata/03000_minmax_index_first/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "skip_table", - "tables": [ - { - "table": "skip_table" - } - ] -} diff --git a/parser/testdata/03000_too_big_max_execution_time_setting/ast.json b/parser/testdata/03000_too_big_max_execution_time_setting/ast.json deleted file mode 100644 index dbbec82820..0000000000 --- a/parser/testdata/03000_too_big_max_execution_time_setting/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "settings": [ - { - "name": "max_execution_time", - "value": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] -} diff --git a/parser/testdata/03000_traverse_shadow_system_data_paths/ast.json b/parser/testdata/03000_traverse_shadow_system_data_paths/ast.json deleted file mode 100644 index 3ca25d112f..0000000000 --- a/parser/testdata/03000_traverse_shadow_system_data_paths/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03000_traverse_shadow_system_data_path_table", - "tables": [ - { - "table": "03000_traverse_shadow_system_data_path_table" - } - ] -} diff --git a/parser/testdata/03000_virtual_columns_in_prewhere/ast.json b/parser/testdata/03000_virtual_columns_in_prewhere/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/03000_virtual_columns_in_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03001_block_offset_column_2/ast.json b/parser/testdata/03001_block_offset_column_2/ast.json deleted file mode 100644 index 4b2edbd515..0000000000 --- a/parser/testdata/03001_block_offset_column_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_block_offset", - "tables": [ - { - "table": "t_block_offset" - } - ] -} diff --git a/parser/testdata/03001_consider_lwd_when_merge/ast.json b/parser/testdata/03001_consider_lwd_when_merge/ast.json deleted file mode 100644 index 2c0ce93f33..0000000000 --- a/parser/testdata/03001_consider_lwd_when_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lwd_merge", - "tables": [ - { - "table": "lwd_merge" - } - ] -} diff --git a/parser/testdata/03001_data_version_column/ast.json b/parser/testdata/03001_data_version_column/ast.json deleted file mode 100644 index 61c6ce98af..0000000000 --- a/parser/testdata/03001_data_version_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_data_version", - "tables": [ - { - "table": "t_data_version" - } - ] -} diff --git a/parser/testdata/03001_insert_threads_deduplication/ast.json b/parser/testdata/03001_insert_threads_deduplication/ast.json deleted file mode 100644 index 16075aaf15..0000000000 --- a/parser/testdata/03001_insert_threads_deduplication/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "landing", - "tables": [ - { - "table": "landing" - } - ], - "sync": true -} diff --git a/parser/testdata/03001_max_parallel_replicas_zero_value/ast.json b/parser/testdata/03001_max_parallel_replicas_zero_value/ast.json deleted file mode 100644 index 75983f3ecc..0000000000 --- a/parser/testdata/03001_max_parallel_replicas_zero_value/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_d", - "tables": [ - { - "table": "test_d" - } - ] -} diff --git a/parser/testdata/03002_analyzer_prewhere/ast.json b/parser/testdata/03002_analyzer_prewhere/ast.json deleted file mode 100644 index f946a83dd5..0000000000 --- a/parser/testdata/03002_analyzer_prewhere/ast.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 16 - } - }, - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "enable_positional_arguments", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "log_queries", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "table_function_remote_max_addresses", - "value": { - "type": "Integer", - "value": 200 - } - }, - { - "name": "any_join_distinct_right_table_keys", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "max_memory_usage", - "value": { - "type": "Integer", - "value": 10000000000 - } - }, - { - "name": "log_comment", - "value": { - "type": "String", - "value": "/workspace/ch/tests/queries/0_stateless/01710_projection_in_index.sql" - } - }, - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - }, - { - "name": "enable_optimize_predicate_expression", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "prefer_localhost_replica", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "allow_introspection_functions", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "optimize_functions_to_subcolumns", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "transform_null_in", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "optimize_use_projections", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "parallelize_output_from_storages", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/ast.json b/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/ast.json deleted file mode 100644 index 7006d487f6..0000000000 --- a/parser/testdata/03002_filter_skip_virtual_columns_with_non_deterministic_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03002_int_div_decimal_with_date_bug/ast.json b/parser/testdata/03002_int_div_decimal_with_date_bug/ast.json deleted file mode 100644 index 7bf33f0d10..0000000000 --- a/parser/testdata/03002_int_div_decimal_with_date_bug/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "expr": { - "type": "String", - "value": "1.0" - }, - "type": { - "name": "Decimal256(3)" - } - }, - { - "name": "today" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03002_map_array_functions_with_low_cardinality/ast.json b/parser/testdata/03002_map_array_functions_with_low_cardinality/ast.json deleted file mode 100644 index 621859b559..0000000000 --- a/parser/testdata/03002_map_array_functions_with_low_cardinality/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mapContainsKeyLike", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "String", - "value": "aa" - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "String", - "value": "bb" - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "a%" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03002_modify_query_cte/ast.json b/parser/testdata/03002_modify_query_cte/ast.json deleted file mode 100644 index 4899fffffe..0000000000 --- a/parser/testdata/03002_modify_query_cte/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "table": "table_03002", - "columns": [ - { - "name": "ts", - "type": { - "name": "DateTime" - } - }, - { - "name": "event_type", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "event_type" - ] - }, - { - "parts": [ - "ts" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03002_sample_factor_where/ast.json b/parser/testdata/03002_sample_factor_where/ast.json deleted file mode 100644 index 20b10a5fdc..0000000000 --- a/parser/testdata/03002_sample_factor_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sample_factor", - "tables": [ - { - "table": "t_sample_factor" - } - ] -} diff --git a/parser/testdata/03003_analyzer_setting/ast.json b/parser/testdata/03003_analyzer_setting/ast.json deleted file mode 100644 index a699c86b69..0000000000 --- a/parser/testdata/03003_analyzer_setting/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "dummy", - "type": { - "name": "Int8" - } - } - ], - "engine": { - "name": "Distributed", - "parameters": [ - { - "parts": [ - "test_cluster_two_shards" - ] - }, - { - "type": "String", - "value": "system" - }, - { - "type": "String", - "value": "one" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03003_compatibility_setting_bad_value/ast.json b/parser/testdata/03003_compatibility_setting_bad_value/ast.json deleted file mode 100644 index a7a98cea02..0000000000 --- a/parser/testdata/03003_compatibility_setting_bad_value/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 42 - } - ], - "settings": [ - { - "name": "compatibility", - "value": { - "type": "Null", - "value": null - } - } - ] - } - ] -} diff --git a/parser/testdata/03003_count_asterisk_filter/ast.json b/parser/testdata/03003_count_asterisk_filter/ast.json deleted file mode 100644 index 1b09113915..0000000000 --- a/parser/testdata/03003_count_asterisk_filter/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03003_functions_to_subcolumns_final/ast.json b/parser/testdata/03003_functions_to_subcolumns_final/ast.json deleted file mode 100644 index e7a833ab28..0000000000 --- a/parser/testdata/03003_functions_to_subcolumns_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_length_1", - "tables": [ - { - "table": "t_length_1" - } - ] -} diff --git a/parser/testdata/03004_force_null_for_omitted/ast.json b/parser/testdata/03004_force_null_for_omitted/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03004_force_null_for_omitted/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/ast.json b/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/ast.json deleted file mode 100644 index 6b4c01495c..0000000000 --- a/parser/testdata/03004_json_named_tuples_inference_ambiguous_paths_as_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_use_string_type_for_ambiguous_paths_in_named_tuples_inference_from_objects", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03005_input_function_in_join/ast.json b/parser/testdata/03005_input_function_in_join/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03005_input_function_in_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03006_buffer_overflow_join/ast.json b/parser/testdata/03006_buffer_overflow_join/ast.json deleted file mode 100644 index 8de2e8f6dd..0000000000 --- a/parser/testdata/03006_buffer_overflow_join/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "table": "03006_buffer_overflow_l", - "columns": [ - { - "name": "a", - "type": { - "name": "String" - } - }, - { - "name": "b", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "String" - }, - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/ast.json b/parser/testdata/03006_mv_deduplication_throw_if_async_insert/ast.json deleted file mode 100644 index 7a328119a0..0000000000 --- a/parser/testdata/03006_mv_deduplication_throw_if_async_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "02985_test", - "tables": [ - { - "table": "02985_test" - } - ] -} diff --git a/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/ast.json b/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/ast.json deleted file mode 100644 index 7756ad0f16..0000000000 --- a/parser/testdata/03006_parallel_replicas_cte_explain_syntax_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "numbers_1e6__fuzz_34", - "tables": [ - { - "table": "numbers_1e6__fuzz_34" - } - ] -} diff --git a/parser/testdata/03007_column_nullable_uninitialzed_value/ast.json b/parser/testdata/03007_column_nullable_uninitialzed_value/ast.json deleted file mode 100644 index 4a11344045..0000000000 --- a/parser/testdata/03007_column_nullable_uninitialzed_value/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - }, - "op": "\u003e", - "right": { - "name": "avg", - "arguments": [ - { - "name": "toDecimal32", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - }, - "with_totals": true, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03008_deduplication_cases_from_docs/ast.json b/parser/testdata/03008_deduplication_cases_from_docs/ast.json deleted file mode 100644 index f8638d0e9a..0000000000 --- a/parser/testdata/03008_deduplication_cases_from_docs/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Different materialized view insert into one underlayed table equal data." - } - ] - } - ] -} diff --git a/parser/testdata/03008_deduplication_insert_into_partitioned_table/ast.json b/parser/testdata/03008_deduplication_insert_into_partitioned_table/ast.json deleted file mode 100644 index c2a11ab2b8..0000000000 --- a/parser/testdata/03008_deduplication_insert_into_partitioned_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "partitioned_table", - "tables": [ - { - "table": "partitioned_table" - } - ] -} diff --git a/parser/testdata/03008_deduplication_remote_insert_select/ast.json b/parser/testdata/03008_deduplication_remote_insert_select/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/03008_deduplication_remote_insert_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/03008_deduplication_wrong_mv/ast.json b/parser/testdata/03008_deduplication_wrong_mv/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/03008_deduplication_wrong_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/03008_filter_projections_non_deterministoc_functions/ast.json b/parser/testdata/03008_filter_projections_non_deterministoc_functions/ast.json deleted file mode 100644 index 73dca9f2bb..0000000000 --- a/parser/testdata/03008_filter_projections_non_deterministoc_functions/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "number" - ] - } - ] -} diff --git a/parser/testdata/03008_index_small/ast.json b/parser/testdata/03008_index_small/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03008_index_small/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03008_optimize_equal_ranges/ast.json b/parser/testdata/03008_optimize_equal_ranges/ast.json deleted file mode 100644 index a7544b51ee..0000000000 --- a/parser/testdata/03008_optimize_equal_ranges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_optimize_equal_ranges", - "tables": [ - { - "table": "t_optimize_equal_ranges" - } - ] -} diff --git a/parser/testdata/03008_uniq_exact_equal_ranges/ast.json b/parser/testdata/03008_uniq_exact_equal_ranges/ast.json deleted file mode 100644 index a0f2c66e68..0000000000 --- a/parser/testdata/03008_uniq_exact_equal_ranges/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_uniq_exact", - "tables": [ - { - "table": "t_uniq_exact" - } - ] -} diff --git a/parser/testdata/03009_consecutive_keys_nullable/ast.json b/parser/testdata/03009_consecutive_keys_nullable/ast.json deleted file mode 100644 index 4778e39cdb..0000000000 --- a/parser/testdata/03009_consecutive_keys_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_nullable_keys_1", - "tables": [ - { - "table": "t_nullable_keys_1" - } - ] -} diff --git a/parser/testdata/03009_range_dict_get_or_default/ast.json b/parser/testdata/03009_range_dict_get_or_default/ast.json deleted file mode 100644 index 602dc0bd7a..0000000000 --- a/parser/testdata/03009_range_dict_get_or_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "range_dictionary", - "tables": [ - { - "table": "range_dictionary" - } - ] -} diff --git a/parser/testdata/03009_storage_memory_circ_buffer_usage/ast.json b/parser/testdata/03009_storage_memory_circ_buffer_usage/ast.json deleted file mode 100644 index 69038a4b04..0000000000 --- a/parser/testdata/03009_storage_memory_circ_buffer_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65409 - } - } - ] -} diff --git a/parser/testdata/03010_file_log_large_poll_batch_size/ast.json b/parser/testdata/03010_file_log_large_poll_batch_size/ast.json deleted file mode 100644 index 359889cd49..0000000000 --- a/parser/testdata/03010_file_log_large_poll_batch_size/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "FileLog", - "parameters": [ - { - "type": "String", - "value": "./user_files/data.jsonl" - }, - { - "type": "String", - "value": "JSONEachRow" - } - ], - "has_parentheses": true - }, - "settings": [ - { - "name": "poll_max_batch_size", - "value": { - "type": "Integer", - "value": 18446744073709 - } - } - ] -} diff --git a/parser/testdata/03010_read_system_parts_table_test/ast.json b/parser/testdata/03010_read_system_parts_table_test/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/03010_read_system_parts_table_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/03010_sum_to_to_count_if_nullable/ast.json b/parser/testdata/03010_sum_to_to_count_if_nullable/ast.json deleted file mode 100644 index b2c9ecb93a..0000000000 --- a/parser/testdata/03010_sum_to_to_count_if_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_rewrite_sum_if_to_count_if", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03010_view_prewhere_in/ast.json b/parser/testdata/03010_view_prewhere_in/ast.json deleted file mode 100644 index 2c3b819c3f..0000000000 --- a/parser/testdata/03010_view_prewhere_in/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v", - "tables": [ - { - "table": "v" - } - ] -} diff --git a/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/ast.json b/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/ast.json deleted file mode 100644 index bfda6a988f..0000000000 --- a/parser/testdata/03010_virtual_memory_mappings_asynchronous_metrics/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "least", - "arguments": [ - { - "parts": [ - "value" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "asynchronous_metrics" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "metric" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "VMMaxMapCount" - } - } - } - ] -} diff --git a/parser/testdata/03011_adaptative_timeout_compatibility/ast.json b/parser/testdata/03011_adaptative_timeout_compatibility/ast.json deleted file mode 100644 index c8f2199e4b..0000000000 --- a/parser/testdata/03011_adaptative_timeout_compatibility/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "value" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "async_insert_use_adaptive_busy_timeout" - } - }, - "settings": [ - { - "name": "compatibility", - "value": { - "type": "String", - "value": "23.12" - } - } - ] - } - ] -} diff --git a/parser/testdata/03011_definitive_guide_to_cast/ast.json b/parser/testdata/03011_definitive_guide_to_cast/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/03011_definitive_guide_to_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/03012_prewhere_merge_distributed/ast.json b/parser/testdata/03012_prewhere_merge_distributed/ast.json deleted file mode 100644 index 006c394edc..0000000000 --- a/parser/testdata/03012_prewhere_merge_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_local", - "tables": [ - { - "table": "test_local" - } - ] -} diff --git a/parser/testdata/03013_addDays_with_timezone/ast.json b/parser/testdata/03013_addDays_with_timezone/ast.json deleted file mode 100644 index f2dbe1a38b..0000000000 --- a/parser/testdata/03013_addDays_with_timezone/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "addDays", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2024-01-01" - }, - { - "type": "Integer", - "value": 6 - }, - { - "type": "String", - "value": "Asia/Shanghai" - } - ] - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "String", - "value": "Asia/Shanghai" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03013_fuzz_arrayPartialReverseSort/ast.json b/parser/testdata/03013_fuzz_arrayPartialReverseSort/ast.json deleted file mode 100644 index be26690936..0000000000 --- a/parser/testdata/03013_fuzz_arrayPartialReverseSort/ast.json +++ /dev/null @@ -1,121 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "res" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayPartialReverseSort", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "name": "emptyArrayUInt64" - }, - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "alias": "arr" - }, - { - "name": "arrayResize", - "arguments": [ - { - "parts": [ - "arr" - ] - }, - { - "name": "if", - "arguments": [ - { - "name": "empty", - "arguments": [ - { - "parts": [ - "arr" - ] - } - ] - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "alias": "res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 7 - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/ast.json b/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03013_group_by_use_nulls_with_materialize_and_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03013_ignore_drop_queries_probability/ast.json b/parser/testdata/03013_ignore_drop_queries_probability/ast.json deleted file mode 100644 index e44f03cc5b..0000000000 --- a/parser/testdata/03013_ignore_drop_queries_probability/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "test_memory", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03013_position_const_start_pos/ast.json b/parser/testdata/03013_position_const_start_pos/ast.json deleted file mode 100644 index dd8ba9a6a4..0000000000 --- a/parser/testdata/03013_position_const_start_pos/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "03013_position_const_start_pos", - "columns": [ - { - "name": "n", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03013_repeat_with_nonnative_integers/ast.json b/parser/testdata/03013_repeat_with_nonnative_integers/ast.json deleted file mode 100644 index 36c04f2375..0000000000 --- a/parser/testdata/03013_repeat_with_nonnative_integers/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "repeat", - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 12 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/ast.json b/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/ast.json deleted file mode 100644 index 44521e2438..0000000000 --- a/parser/testdata/03013_test_part_level_is_reset_attach_from_disk_mt/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "alter_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03014_analyzer_group_by_use_nulls/ast.json b/parser/testdata/03014_analyzer_group_by_use_nulls/ast.json deleted file mode 100644 index 77b6659e20..0000000000 --- a/parser/testdata/03014_analyzer_group_by_use_nulls/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "key" - }, - { - "expr": { - "type": "String", - "value": "b" - }, - "alias": "value" - } - ], - "group_by": [ - { - "parts": [ - "key" - ] - } - ], - "with_cube": true, - "settings": [ - { - "name": "group_by_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/ast.json b/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/ast.json deleted file mode 100644 index 9990a701c9..0000000000 --- a/parser/testdata/03014_group_by_use_nulls_injective_functions_and_analyzer/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "group_by_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "optimize_injective_functions_in_group_by", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03014_msan_parse_date_time/ast.json b/parser/testdata/03014_msan_parse_date_time/ast.json deleted file mode 100644 index f1bd388415..0000000000 --- a/parser/testdata/03014_msan_parse_date_time/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTimeBestEffort", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "01/12/2017," - }, - { - "type": "Integer", - "value": 11 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03015_aggregator_empty_data_multiple_blocks/ast.json b/parser/testdata/03015_aggregator_empty_data_multiple_blocks/ast.json deleted file mode 100644 index 846d7079aa..0000000000 --- a/parser/testdata/03015_aggregator_empty_data_multiple_blocks/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "table": "03015_aggregator_empty_data_multiple_blocks", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03015_peder1001/ast.json b/parser/testdata/03015_peder1001/ast.json deleted file mode 100644 index 4991bdfd17..0000000000 --- a/parser/testdata/03015_peder1001/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_data", - "tables": [ - { - "table": "test_data" - } - ] -} diff --git a/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/ast.json b/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/ast.json deleted file mode 100644 index 9c3c58d29b..0000000000 --- a/parser/testdata/03018_analyzer_distributed_query_with_positional_arguments/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "x" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03019_numbers_pretty/ast.json b/parser/testdata/03019_numbers_pretty/ast.json deleted file mode 100644 index 09c747e116..0000000000 --- a/parser/testdata/03019_numbers_pretty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03020_order_by_SimpleAggregateFunction/ast.json b/parser/testdata/03020_order_by_SimpleAggregateFunction/ast.json deleted file mode 100644 index adde7fdd89..0000000000 --- a/parser/testdata/03020_order_by_SimpleAggregateFunction/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03022_alter_materialized_view_query_has_inner_table/ast.json b/parser/testdata/03022_alter_materialized_view_query_has_inner_table/ast.json deleted file mode 100644 index 84d9f19838..0000000000 --- a/parser/testdata/03022_alter_materialized_view_query_has_inner_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_table", - "tables": [ - { - "table": "src_table" - } - ] -} diff --git a/parser/testdata/03022_highlight_digit_groups/ast.json b/parser/testdata/03022_highlight_digit_groups/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/03022_highlight_digit_groups/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/ast.json b/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03023_analyzer_optimize_group_by_function_keys_with_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/ast.json b/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/ast.json deleted file mode 100644 index a5879d2d49..0000000000 --- a/parser/testdata/03023_group_by_use_nulls_analyzer_crashes/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "group_by_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03023_remove_unused_column_distinct/ast.json b/parser/testdata/03023_remove_unused_column_distinct/ast.json deleted file mode 100644 index d6c5a202ce..0000000000 --- a/parser/testdata/03023_remove_unused_column_distinct/ast.json +++ /dev/null @@ -1,130 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "product_id" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "product_id" - ] - }, - { - "parts": [ - "section_id" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "product_" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ], - "alias": "product_id" - }, - { - "name": "concat", - "arguments": [ - { - "type": "String", - "value": "section_" - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 3 - } - } - ], - "alias": "section_id" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/ast.json b/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/ast.json deleted file mode 100644 index 648a3e2afc..0000000000 --- a/parser/testdata/03024_total_rows_approx_is_set_for_system_zeros_and_generate_random/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Float", - "value": 100000000000 - } - } - ] -} diff --git a/parser/testdata/03030_system_flush_distributed_settings/ast.json b/parser/testdata/03030_system_flush_distributed_settings/ast.json deleted file mode 100644 index 219c3ff029..0000000000 --- a/parser/testdata/03030_system_flush_distributed_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ephemeral", - "tables": [ - { - "table": "ephemeral" - } - ] -} diff --git a/parser/testdata/03031_distinguish_bool_and_int_in_settings/ast.json b/parser/testdata/03031_distinguish_bool_and_int_in_settings/ast.json deleted file mode 100644 index 740772a2a7..0000000000 --- a/parser/testdata/03031_distinguish_bool_and_int_in_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "custom_f1", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/03031_filter_float64_logical_error/ast.json b/parser/testdata/03031_filter_float64_logical_error/ast.json deleted file mode 100644 index 85882c1a00..0000000000 --- a/parser/testdata/03031_filter_float64_logical_error/ast.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "table": "03031_test", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "value_1", - "type": { - "name": "String" - } - }, - { - "name": "value_2", - "type": { - "name": "String" - } - }, - { - "name": "value_3", - "type": { - "name": "String" - } - } - ], - "indexes": [ - { - "name": "value_1_idx", - "expression": { - "parts": [ - "value_1" - ] - }, - "type": { - "name": "bloom_filter" - }, - "granularity": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "value_2_idx", - "expression": { - "parts": [ - "value_2" - ] - }, - "type": { - "name": "ngrambf_v1", - "arguments": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 512 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - "granularity": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "value_3_idx", - "expression": { - "parts": [ - "value_3" - ] - }, - "type": { - "name": "tokenbf_v1", - "arguments": [ - { - "type": "Integer", - "value": 512 - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - "granularity": { - "type": "Integer", - "value": 1 - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03031_low_cardinality_logical_error/ast.json b/parser/testdata/03031_low_cardinality_logical_error/ast.json deleted file mode 100644 index dd813a7fee..0000000000 --- a/parser/testdata/03031_low_cardinality_logical_error/ast.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "name": "toString", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "alias": "item_id", - "operator_syntax": true - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "item_id" - ] - } - ], - "with_totals": true - } - ] - } - }, - "alias": "l" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "name": "toString", - "arguments": [ - { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - }, - "alias": "item_id", - "operator_syntax": true - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "r" - }, - "join": { - "type": "FULL", - "on": { - "left": { - "parts": [ - "l", - "item_id" - ] - }, - "op": "=", - "right": { - "parts": [ - "r", - "item_id" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "type": "Integer", - "value": 1 - } - }, - { - "expression": { - "type": "Integer", - "value": 2 - } - }, - { - "expression": { - "type": "Integer", - "value": 3 - } - } - ] - } - ] -} diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/ast.json b/parser/testdata/03031_read_in_order_optimization_with_virtual_row/ast.json deleted file mode 100644 index c6c51556e3..0000000000 --- a/parser/testdata/03031_read_in_order_optimization_with_virtual_row/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "read_in_order_use_virtual_row", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/ast.json b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/ast.json deleted file mode 100644 index 5fcbc9c0a7..0000000000 --- a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_explain/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "merge_tree_min_rows_for_concurrent_read", - "value": { - "type": "Integer", - "value": 1000 - } - }, - { - "name": "read_in_order_use_virtual_row", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/ast.json b/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/ast.json deleted file mode 100644 index 8bf9c9108c..0000000000 --- a/parser/testdata/03031_read_in_order_optimization_with_virtual_row_special/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_03031", - "drop_database": true -} diff --git a/parser/testdata/03031_table_function_fuzzquery/ast.json b/parser/testdata/03031_table_function_fuzzquery/ast.json deleted file mode 100644 index 752ce10033..0000000000 --- a/parser/testdata/03031_table_function_fuzzquery/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "fuzzQuery", - "arguments": [ - { - "type": "String", - "value": "SELECT 1" - }, - { - "type": "Integer", - "value": 500 - }, - { - "type": "Integer", - "value": 8956 - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 0 - }, - "format": { - "parts": [ - "TSVWithNamesAndTypes" - ] - } - } - ] -} diff --git a/parser/testdata/03031_tuple_elimination_analyzer/ast.json b/parser/testdata/03031_tuple_elimination_analyzer/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03031_tuple_elimination_analyzer/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03032_multi_search_const_low_cardinality/ast.json b/parser/testdata/03032_multi_search_const_low_cardinality/ast.json deleted file mode 100644 index db8111b48a..0000000000 --- a/parser/testdata/03032_multi_search_const_low_cardinality/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "multiSearchFirstIndex", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03032_numbers_zeros/ast.json b/parser/testdata/03032_numbers_zeros/ast.json deleted file mode 100644 index 6e7de2c9d6..0000000000 --- a/parser/testdata/03032_numbers_zeros/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "------numbers_0-argument-----" - } - ] - } - ] -} diff --git a/parser/testdata/03032_redundant_equals/ast.json b/parser/testdata/03032_redundant_equals/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03032_redundant_equals/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03032_rmt_create_columns_from_replica/ast.json b/parser/testdata/03032_rmt_create_columns_from_replica/ast.json deleted file mode 100644 index 8e9193dcb0..0000000000 --- a/parser/testdata/03032_rmt_create_columns_from_replica/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_r1", - "tables": [ - { - "table": "data_r1" - } - ] -} diff --git a/parser/testdata/03032_save_bad_json_escape_sequences/ast.json b/parser/testdata/03032_save_bad_json_escape_sequences/ast.json deleted file mode 100644 index 1cb86378fc..0000000000 --- a/parser/testdata/03032_save_bad_json_escape_sequences/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_throw_on_bad_escape_sequence", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03032_scalars_create_as_select/ast.json b/parser/testdata/03032_scalars_create_as_select/ast.json deleted file mode 100644 index e56ff9c1f6..0000000000 --- a/parser/testdata/03032_scalars_create_as_select/ast.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "table": "query_run_metric_arrays", - "engine": { - "name": "Memory" - }, - "as_select": { - "selects": [ - { - "with": [ - { - "name": "all_metrics", - "query": { - "query": { - "selects": [ - { - "with": [ - { - "name": "all_names", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupUniqArrayArray", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - } - } - ], - "columns": [ - { - "parts": [ - "all_names" - ] - } - ] - } - ] - } - } - } - ], - "columns": [ - { - "parts": [ - "all_metrics" - ] - } - ] - } - ] - } -} diff --git a/parser/testdata/03032_storage_memory_modify_settings/ast.json b/parser/testdata/03032_storage_memory_modify_settings/ast.json deleted file mode 100644 index 69038a4b04..0000000000 --- a/parser/testdata/03032_storage_memory_modify_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 65409 - } - } - ] -} diff --git a/parser/testdata/03032_string_to_variant_cast/ast.json b/parser/testdata/03032_string_to_variant_cast/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03032_string_to_variant_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03032_variant_bool_number_not_suspicious/ast.json b/parser/testdata/03032_variant_bool_number_not_suspicious/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03032_variant_bool_number_not_suspicious/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_analyzer_merge_engine_filter_push_down/ast.json b/parser/testdata/03033_analyzer_merge_engine_filter_push_down/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03033_analyzer_merge_engine_filter_push_down/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_analyzer_parametrized_view_alias/ast.json b/parser/testdata/03033_analyzer_parametrized_view_alias/ast.json deleted file mode 100644 index bded605b70..0000000000 --- a/parser/testdata/03033_analyzer_parametrized_view_alias/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "raw_data", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt8" - } - }, - { - "name": "data", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03033_analyzer_resolve_from_parent_scope/ast.json b/parser/testdata/03033_analyzer_resolve_from_parent_scope/ast.json deleted file mode 100644 index 2a9d91a907..0000000000 --- a/parser/testdata/03033_analyzer_resolve_from_parent_scope/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "vecs_Float32", - "columns": [ - { - "name": "v", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Float32" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03033_create_as_copies_comment/ast.json b/parser/testdata/03033_create_as_copies_comment/ast.json deleted file mode 100644 index 344e22a3f7..0000000000 --- a/parser/testdata/03033_create_as_copies_comment/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "base", - "tables": [ - { - "table": "base" - } - ] -} diff --git a/parser/testdata/03033_cte_numbers_memory/ast.json b/parser/testdata/03033_cte_numbers_memory/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03033_cte_numbers_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/ast.json b/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03033_dist_settings.optimize_skip_unused_shards_rewrite_in_composite_sharding_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03033_dynamic_text_serialization/ast.json b/parser/testdata/03033_dynamic_text_serialization/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03033_dynamic_text_serialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_final_undefined_last_mark/ast.json b/parser/testdata/03033_final_undefined_last_mark/ast.json deleted file mode 100644 index 10c481d2bb..0000000000 --- a/parser/testdata/03033_final_undefined_last_mark/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "account_test", - "tables": [ - { - "table": "account_test" - } - ] -} diff --git a/parser/testdata/03033_from_unixtimestamp_joda_by_int64/ast.json b/parser/testdata/03033_from_unixtimestamp_joda_by_int64/ast.json deleted file mode 100644 index 1f8392364a..0000000000 --- a/parser/testdata/03033_from_unixtimestamp_joda_by_int64/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "fromUnixTimestampInJodaSyntax", - "arguments": [ - { - "type": "Integer", - "value": 10262736196 - }, - { - "type": "String", - "value": "YYYY-MM-dd HH:mm:ss" - }, - { - "type": "String", - "value": "Asia/Shanghai" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03033_index_definition_sql_udf_bug/ast.json b/parser/testdata/03033_index_definition_sql_udf_bug/ast.json deleted file mode 100644 index 90cae74075..0000000000 --- a/parser/testdata/03033_index_definition_sql_udf_bug/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "test_func_1" -} diff --git a/parser/testdata/03033_lightweight_deletes_sync/ast.json b/parser/testdata/03033_lightweight_deletes_sync/ast.json deleted file mode 100644 index 4887a97249..0000000000 --- a/parser/testdata/03033_lightweight_deletes_sync/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_deletes", - "tables": [ - { - "table": "t_lightweight_deletes" - } - ] -} diff --git a/parser/testdata/03033_parts_splitter_bug_and_index_loading/ast.json b/parser/testdata/03033_parts_splitter_bug_and_index_loading/ast.json deleted file mode 100644 index 81e5360bc4..0000000000 --- a/parser/testdata/03033_parts_splitter_bug_and_index_loading/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt32" - } - }, - { - "name": "b", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_recursive_cte_basic/ast.json b/parser/testdata/03033_recursive_cte_basic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03033_recursive_cte_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_scalars_context_data_race/ast.json b/parser/testdata/03033_scalars_context_data_race/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03033_scalars_context_data_race/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03033_set_index_in/ast.json b/parser/testdata/03033_set_index_in/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/03033_set_index_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/ast.json b/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/ast.json deleted file mode 100644 index 50d9f58c0d..0000000000 --- a/parser/testdata/03033_tupleIntXYZ_and_tupleModulo/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tupleIntDiv", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 15 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 5 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03033_virtual_column_override/ast.json b/parser/testdata/03033_virtual_column_override/ast.json deleted file mode 100644 index 101943788d..0000000000 --- a/parser/testdata/03033_virtual_column_override/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "override_test", - "tables": [ - { - "table": "override_test" - } - ] -} diff --git a/parser/testdata/03033_with_fill_interpolate/ast.json b/parser/testdata/03033_with_fill_interpolate/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03033_with_fill_interpolate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/ast.json b/parser/testdata/03034_ddls_and_merges_with_unusual_maps/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/03034_ddls_and_merges_with_unusual_maps/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03034_dynamic_conversions/ast.json b/parser/testdata/03034_dynamic_conversions/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03034_dynamic_conversions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03034_json_extract_variant/ast.json b/parser/testdata/03034_json_extract_variant/ast.json deleted file mode 100644 index 5ad278b607..0000000000 --- a/parser/testdata/03034_json_extract_variant/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"a\" : 42}" - }, - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "Variant(String, UInt32)" - } - ], - "alias": "v" - }, - { - "name": "variantType", - "arguments": [ - { - "parts": [ - "v" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03034_normalized_ast/ast.json b/parser/testdata/03034_normalized_ast/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03034_normalized_ast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03034_recursive_cte_tree/ast.json b/parser/testdata/03034_recursive_cte_tree/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03034_recursive_cte_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/ast.json b/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03034_recursive_cte_tree_fuzz_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03034_recursive_cte_tree_merge_tree/ast.json b/parser/testdata/03034_recursive_cte_tree_merge_tree/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03034_recursive_cte_tree_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03035_alias_column_bug_distributed/ast.json b/parser/testdata/03035_alias_column_bug_distributed/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03035_alias_column_bug_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/ast.json b/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/ast.json deleted file mode 100644 index 02a4f7b7f9..0000000000 --- a/parser/testdata/03035_argMinMax_numeric_non_extreme_bug/ast.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "if_not_exists": true, - "table": "test", - "columns": [ - { - "name": "value", - "type": { - "name": "Float64" - }, - "codec": { - "codecs": [ - { - "name": "Delta" - }, - { - "name": "LZ4" - } - ] - } - }, - { - "name": "uuid", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "time", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - }, - "codec": { - "codecs": [ - { - "name": "DoubleDelta" - }, - { - "name": "LZ4" - } - ] - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "uuid" - ] - } - ] -} diff --git a/parser/testdata/03035_dynamic_sorting/ast.json b/parser/testdata/03035_dynamic_sorting/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03035_dynamic_sorting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03035_internal_functions_direct_call/ast.json b/parser/testdata/03035_internal_functions_direct_call/ast.json deleted file mode 100644 index eb7bb33067..0000000000 --- a/parser/testdata/03035_internal_functions_direct_call/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "__actionName" - } - ] - } - ] -} diff --git a/parser/testdata/03035_materialized_primary_key/ast.json b/parser/testdata/03035_materialized_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03035_materialized_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03035_morton_encode_no_rows/ast.json b/parser/testdata/03035_morton_encode_no_rows/ast.json deleted file mode 100644 index 01e1e4a200..0000000000 --- a/parser/testdata/03035_morton_encode_no_rows/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mortonEncode", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 65534 - }, - { - "type": "Integer", - "value": 65533 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03036_clamp/ast.json b/parser/testdata/03036_clamp/ast.json deleted file mode 100644 index 1f5ab937c5..0000000000 --- a/parser/testdata/03036_clamp/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "clamp", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 20 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/ast.json b/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_shared_subcolumns_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/ast.json b/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_shared_subcolumns_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/ast.json b/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_shared_subcolumns_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/ast.json b/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_subcolumns_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_subcolumns_memory/ast.json b/parser/testdata/03036_dynamic_read_subcolumns_memory/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_subcolumns_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/ast.json b/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03036_dynamic_read_subcolumns_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_join_filter_push_down_equivalent_sets/ast.json b/parser/testdata/03036_join_filter_push_down_equivalent_sets/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03036_join_filter_push_down_equivalent_sets/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03036_prewhere_lambda_function/ast.json b/parser/testdata/03036_prewhere_lambda_function/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03036_prewhere_lambda_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03036_reading_s3_archives/ast.json b/parser/testdata/03036_reading_s3_archives/ast.json deleted file mode 100644 index 2b98e5d4ee..0000000000 --- a/parser/testdata/03036_reading_s3_archives/ast.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "data" - ] - }, - { - "parts": [ - "_size" - ] - }, - { - "parts": [ - "_file" - ] - }, - { - "parts": [ - "_path" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "03036_archive1.zip :: example1.csv" - } - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "type": "Tuple", - "value": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "_file" - ] - }, - { - "parts": [ - "_path" - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03036_reading_s3_cluster_archives/ast.json b/parser/testdata/03036_reading_s3_cluster_archives/ast.json deleted file mode 100644 index 62c29933e9..0000000000 --- a/parser/testdata/03036_reading_s3_cluster_archives/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "s3, single archive" - } - ] - } - ] -} diff --git a/parser/testdata/03036_schema_inference_cache_s3_archives/ast.json b/parser/testdata/03036_schema_inference_cache_s3_archives/ast.json deleted file mode 100644 index 4ca2874d07..0000000000 --- a/parser/testdata/03036_schema_inference_cache_s3_archives/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "03036_archive1.zip :: example{1,2}.csv" - } - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "name": "tuple", - "arguments": [ - {} - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03036_with_numbers/ast.json b/parser/testdata/03036_with_numbers/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03036_with_numbers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dot_product_overflow/ast.json b/parser/testdata/03037_dot_product_overflow/ast.json deleted file mode 100644 index f296fe5cdd..0000000000 --- a/parser/testdata/03037_dot_product_overflow/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "name": "dotProduct", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 9223372036854775807 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 3 - } - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/ast.json b/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_1_horizontal_compact_wide_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_1_vertical_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_1_vertical_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_2_horizontal_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_2_horizontal_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_2_vertical_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/ast.json b/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03037_dynamic_merges_2_vertical_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_precent_rank/ast.json b/parser/testdata/03037_precent_rank/ast.json deleted file mode 100644 index 7253082313..0000000000 --- a/parser/testdata/03037_precent_rank/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "product_groups", - "tables": [ - { - "table": "product_groups" - } - ] -} diff --git a/parser/testdata/03037_union_view/ast.json b/parser/testdata/03037_union_view/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03037_union_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03037_zero_step_in_numbers_table_function/ast.json b/parser/testdata/03037_zero_step_in_numbers_table_function/ast.json deleted file mode 100644 index b074c78199..0000000000 --- a/parser/testdata/03037_zero_step_in_numbers_table_function/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03038_ambiguous_column/ast.json b/parser/testdata/03038_ambiguous_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03038_ambiguous_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03038_move_partition_to_oneself_deadlock/ast.json b/parser/testdata/03038_move_partition_to_oneself_deadlock/ast.json deleted file mode 100644 index a3e4d95b9e..0000000000 --- a/parser/testdata/03038_move_partition_to_oneself_deadlock/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_trivial_insert_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/ast.json b/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03038_nested_dynamic_merges_compact_horizontal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03038_nested_dynamic_merges_compact_vertical/ast.json b/parser/testdata/03038_nested_dynamic_merges_compact_vertical/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03038_nested_dynamic_merges_compact_vertical/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/ast.json b/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03038_nested_dynamic_merges_wide_horizontal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03038_nested_dynamic_merges_wide_vertical/ast.json b/parser/testdata/03038_nested_dynamic_merges_wide_vertical/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03038_nested_dynamic_merges_wide_vertical/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03039_unknown_identifier_window_function/ast.json b/parser/testdata/03039_unknown_identifier_window_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03039_unknown_identifier_window_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_alias_column_join/ast.json b/parser/testdata/03040_alias_column_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03040_alias_column_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_array_sum_and_join/ast.json b/parser/testdata/03040_array_sum_and_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03040_array_sum_and_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/ast.json b/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03040_dynamic_type_alters_1_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_dynamic_type_alters_1_memory/ast.json b/parser/testdata/03040_dynamic_type_alters_1_memory/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03040_dynamic_type_alters_1_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/ast.json b/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03040_dynamic_type_alters_1_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/ast.json b/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03040_dynamic_type_alters_2_compact_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/ast.json b/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03040_dynamic_type_alters_2_wide_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03041_analyzer_gigachad_join/ast.json b/parser/testdata/03041_analyzer_gigachad_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03041_analyzer_gigachad_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03041_select_with_query_result/ast.json b/parser/testdata/03041_select_with_query_result/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03041_select_with_query_result/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03042_analyzer_alias_join/ast.json b/parser/testdata/03042_analyzer_alias_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03042_analyzer_alias_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03042_not_found_column_c1/ast.json b/parser/testdata/03042_not_found_column_c1/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03042_not_found_column_c1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03043_group_array_result_is_expected/ast.json b/parser/testdata/03043_group_array_result_is_expected/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03043_group_array_result_is_expected/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03044_analyzer_alias_join/ast.json b/parser/testdata/03044_analyzer_alias_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03044_analyzer_alias_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03044_array_join_columns_in_nested_table/ast.json b/parser/testdata/03044_array_join_columns_in_nested_table/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03044_array_join_columns_in_nested_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03045_analyzer_alias_join_with_if/ast.json b/parser/testdata/03045_analyzer_alias_join_with_if/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03045_analyzer_alias_join_with_if/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03045_unknown_identifier_alias_substitution/ast.json b/parser/testdata/03045_unknown_identifier_alias_substitution/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03045_unknown_identifier_alias_substitution/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03046_column_in_block_array_join/ast.json b/parser/testdata/03046_column_in_block_array_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03046_column_in_block_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03047_analyzer_alias_join/ast.json b/parser/testdata/03047_analyzer_alias_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03047_analyzer_alias_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03047_group_by_field_identified_aggregation/ast.json b/parser/testdata/03047_group_by_field_identified_aggregation/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03047_group_by_field_identified_aggregation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_events/ast.json b/parser/testdata/03047_on_fly_mutations_events/ast.json deleted file mode 100644 index 01c2960beb..0000000000 --- a/parser/testdata/03047_on_fly_mutations_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_7", - "tables": [ - { - "table": "t_lightweight_mut_7" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_materialized/ast.json b/parser/testdata/03047_on_fly_mutations_materialized/ast.json deleted file mode 100644 index 1799bcb704..0000000000 --- a/parser/testdata/03047_on_fly_mutations_materialized/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_update_materialized", - "tables": [ - { - "table": "t_update_materialized" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates/ast.json b/parser/testdata/03047_on_fly_mutations_multiple_updates/ast.json deleted file mode 100644 index 74274a993c..0000000000 --- a/parser/testdata/03047_on_fly_mutations_multiple_updates/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_5", - "tables": [ - { - "table": "t_lightweight_mut_5" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/ast.json b/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/ast.json deleted file mode 100644 index 74274a993c..0000000000 --- a/parser/testdata/03047_on_fly_mutations_multiple_updates_rmt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_5", - "tables": [ - { - "table": "t_lightweight_mut_5" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic/ast.json b/parser/testdata/03047_on_fly_mutations_non_deterministic/ast.json deleted file mode 100644 index 8c9b1a9ef4..0000000000 --- a/parser/testdata/03047_on_fly_mutations_non_deterministic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_2", - "tables": [ - { - "table": "t_lightweight_mut_2" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/ast.json b/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/ast.json deleted file mode 100644 index 74274a993c..0000000000 --- a/parser/testdata/03047_on_fly_mutations_non_deterministic_replace/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_5", - "tables": [ - { - "table": "t_lightweight_mut_5" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_prewhere/ast.json b/parser/testdata/03047_on_fly_mutations_prewhere/ast.json deleted file mode 100644 index 8ab767d117..0000000000 --- a/parser/testdata/03047_on_fly_mutations_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_update_prewhere", - "tables": [ - { - "table": "t_update_prewhere" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_projections/ast.json b/parser/testdata/03047_on_fly_mutations_projections/ast.json deleted file mode 100644 index 2b6a56dcc6..0000000000 --- a/parser/testdata/03047_on_fly_mutations_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_update_projections", - "tables": [ - { - "table": "t_update_projections" - } - ] -} diff --git a/parser/testdata/03047_on_fly_mutations_skip_index/ast.json b/parser/testdata/03047_on_fly_mutations_skip_index/ast.json deleted file mode 100644 index e0ba5917b9..0000000000 --- a/parser/testdata/03047_on_fly_mutations_skip_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes_on_data_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03047_on_fly_update_delete/ast.json b/parser/testdata/03047_on_fly_update_delete/ast.json deleted file mode 100644 index 51774524c0..0000000000 --- a/parser/testdata/03047_on_fly_update_delete/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_mut_6", - "tables": [ - { - "table": "t_lightweight_mut_6" - } - ] -} diff --git a/parser/testdata/03048_not_found_column_xxx_in_block/ast.json b/parser/testdata/03048_not_found_column_xxx_in_block/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03048_not_found_column_xxx_in_block/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03049_analyzer_group_by_alias/ast.json b/parser/testdata/03049_analyzer_group_by_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03049_analyzer_group_by_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03049_unknown_identifier_materialized_column/ast.json b/parser/testdata/03049_unknown_identifier_materialized_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03049_unknown_identifier_materialized_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03050_select_one_one_one/ast.json b/parser/testdata/03050_select_one_one_one/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03050_select_one_one_one/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03051_many_ctes/ast.json b/parser/testdata/03051_many_ctes/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03051_many_ctes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03052_query_hash_includes_aliases/ast.json b/parser/testdata/03052_query_hash_includes_aliases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03052_query_hash_includes_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03053_analyzer_join_alias/ast.json b/parser/testdata/03053_analyzer_join_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03053_analyzer_join_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03054_analyzer_join_alias/ast.json b/parser/testdata/03054_analyzer_join_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03054_analyzer_join_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03055_analyzer_subquery_group_array/ast.json b/parser/testdata/03055_analyzer_subquery_group_array/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03055_analyzer_subquery_group_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03057_analyzer_subquery_alias_join/ast.json b/parser/testdata/03057_analyzer_subquery_alias_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03057_analyzer_subquery_alias_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03058_analyzer_ambiguous_columns/ast.json b/parser/testdata/03058_analyzer_ambiguous_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03058_analyzer_ambiguous_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03059_analyzer_join_engine_missing_column/ast.json b/parser/testdata/03059_analyzer_join_engine_missing_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03059_analyzer_join_engine_missing_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03060_analyzer_regular_view_alias/ast.json b/parser/testdata/03060_analyzer_regular_view_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03060_analyzer_regular_view_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03061_analyzer_alias_as_right_key_in_join/ast.json b/parser/testdata/03061_analyzer_alias_as_right_key_in_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03061_analyzer_alias_as_right_key_in_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03062_analyzer_join_engine_missing_column/ast.json b/parser/testdata/03062_analyzer_join_engine_missing_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03062_analyzer_join_engine_missing_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/ast.json b/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03063_analyzer_multi_join_wrong_table_specifier/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03064_analyzer_named_subqueries/ast.json b/parser/testdata/03064_analyzer_named_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03064_analyzer_named_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03065_analyzer_cross_join_and_array_join/ast.json b/parser/testdata/03065_analyzer_cross_join_and_array_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03065_analyzer_cross_join_and_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03066_analyzer_global_with_statement/ast.json b/parser/testdata/03066_analyzer_global_with_statement/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03066_analyzer_global_with_statement/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03067_analyzer_complex_alias_join/ast.json b/parser/testdata/03067_analyzer_complex_alias_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03067_analyzer_complex_alias_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03068_analyzer_distributed_join/ast.json b/parser/testdata/03068_analyzer_distributed_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03068_analyzer_distributed_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03069_analyzer_with_alias_in_array_join/ast.json b/parser/testdata/03069_analyzer_with_alias_in_array_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03069_analyzer_with_alias_in_array_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/ast.json b/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03070_analyzer_CTE_scalar_as_numbers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/ast.json b/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03071_analyzer_array_join_forbid_non_existing_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03071_fix_short_circuit_logic/ast.json b/parser/testdata/03071_fix_short_circuit_logic/ast.json deleted file mode 100644 index 805ef2eb30..0000000000 --- a/parser/testdata/03071_fix_short_circuit_logic/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "if_not_exists": true, - "create_function": true, - "function_name": "unhexPrefixed", - "function_body": { - "parameters": [ - "value" - ], - "body": { - "name": "unhex", - "arguments": [ - { - "name": "substring", - "arguments": [ - { - "parts": [ - "value" - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - } -} diff --git a/parser/testdata/03072_analyzer_missing_columns_from_subquery/ast.json b/parser/testdata/03072_analyzer_missing_columns_from_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03072_analyzer_missing_columns_from_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03073_analyzer_alias_as_column_name/ast.json b/parser/testdata/03073_analyzer_alias_as_column_name/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03073_analyzer_alias_as_column_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03074_analyzer_alias_column_in_view/ast.json b/parser/testdata/03074_analyzer_alias_column_in_view/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03074_analyzer_alias_column_in_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03075_analyzer_subquery_alias/ast.json b/parser/testdata/03075_analyzer_subquery_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03075_analyzer_subquery_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03076_analyzer_multiple_joins_alias/ast.json b/parser/testdata/03076_analyzer_multiple_joins_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03076_analyzer_multiple_joins_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/ast.json b/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03077_analyzer_multi_scalar_subquery_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/ast.json b/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03078_analyzer_multi_scalar_subquery_aliases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03079_analyzer_numeric_literals_as_column_names/ast.json b/parser/testdata/03079_analyzer_numeric_literals_as_column_names/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03079_analyzer_numeric_literals_as_column_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/ast.json b/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03080_analyzer_prefer_column_name_to_alias__virtual_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03080_incorrect_join_with_merge/ast.json b/parser/testdata/03080_incorrect_join_with_merge/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03080_incorrect_join_with_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03081_analyzer_agg_func_CTE/ast.json b/parser/testdata/03081_analyzer_agg_func_CTE/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03081_analyzer_agg_func_CTE/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03082_analyzer_left_join_correct_column/ast.json b/parser/testdata/03082_analyzer_left_join_correct_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03082_analyzer_left_join_correct_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03084_analyzer_join_column_alias/ast.json b/parser/testdata/03084_analyzer_join_column_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03084_analyzer_join_column_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03085_analyzer_alias_column_group_by/ast.json b/parser/testdata/03085_analyzer_alias_column_group_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03085_analyzer_alias_column_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03086_analyzer_window_func_part_of_group_by/ast.json b/parser/testdata/03086_analyzer_window_func_part_of_group_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03086_analyzer_window_func_part_of_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03087_analyzer_subquery_with_alias/ast.json b/parser/testdata/03087_analyzer_subquery_with_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03087_analyzer_subquery_with_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03088_analyzer_ambiguous_column_multi_call/ast.json b/parser/testdata/03088_analyzer_ambiguous_column_multi_call/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03088_analyzer_ambiguous_column_multi_call/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03089_analyzer_alias_replacement/ast.json b/parser/testdata/03089_analyzer_alias_replacement/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03089_analyzer_alias_replacement/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03090_analyzer_multiple_using_statements/ast.json b/parser/testdata/03090_analyzer_multiple_using_statements/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03090_analyzer_multiple_using_statements/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03091_analyzer_same_table_name_in_different_databases/ast.json b/parser/testdata/03091_analyzer_same_table_name_in_different_databases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03091_analyzer_same_table_name_in_different_databases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03092_analyzer_same_table_name_in_different_databases/ast.json b/parser/testdata/03092_analyzer_same_table_name_in_different_databases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03092_analyzer_same_table_name_in_different_databases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03093_analyzer_column_alias/ast.json b/parser/testdata/03093_analyzer_column_alias/ast.json deleted file mode 100644 index cb3baa670a..0000000000 --- a/parser/testdata/03093_analyzer_column_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/03093_analyzer_miel_test/ast.json b/parser/testdata/03093_analyzer_miel_test/ast.json deleted file mode 100644 index aae450c53c..0000000000 --- a/parser/testdata/03093_analyzer_miel_test/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03093", - "tables": [ - { - "table": "test_03093" - } - ] -} diff --git a/parser/testdata/03093_reading_bug_with_parallel_replicas/ast.json b/parser/testdata/03093_reading_bug_with_parallel_replicas/ast.json deleted file mode 100644 index 8cd86cd423..0000000000 --- a/parser/testdata/03093_reading_bug_with_parallel_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 16 - } - } - ] -} diff --git a/parser/testdata/03093_special_column_errors/ast.json b/parser/testdata/03093_special_column_errors/ast.json deleted file mode 100644 index 8d31000fc3..0000000000 --- a/parser/testdata/03093_special_column_errors/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "replacing_wrong", - "columns": [ - { - "name": "key", - "type": { - "name": "Int64" - } - }, - { - "name": "ver", - "type": { - "name": "Int64" - } - }, - { - "name": "is_deleted", - "type": { - "name": "UInt16" - } - } - ], - "engine": { - "name": "ReplacingMergeTree", - "parameters": [ - { - "parts": [ - "ver" - ] - }, - { - "parts": [ - "is_deleted" - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03093_virtual_column_override_group_by/ast.json b/parser/testdata/03093_virtual_column_override_group_by/ast.json deleted file mode 100644 index 4af92ffa38..0000000000 --- a/parser/testdata/03093_virtual_column_override_group_by/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "override_test__fuzz_45", - "columns": [ - { - "name": "_part", - "type": { - "name": "Float32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } -} diff --git a/parser/testdata/03094_analyzer_fiddle_multiif/ast.json b/parser/testdata/03094_analyzer_fiddle_multiif/ast.json deleted file mode 100644 index b915efdc2f..0000000000 --- a/parser/testdata/03094_analyzer_fiddle_multiif/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users_03094", - "tables": [ - { - "table": "users_03094" - } - ] -} diff --git a/parser/testdata/03094_grouparraysorted_memory/ast.json b/parser/testdata/03094_grouparraysorted_memory/ast.json deleted file mode 100644 index f74661b284..0000000000 --- a/parser/testdata/03094_grouparraysorted_memory/ast.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "table": "03094_grouparrysorted_dest", - "columns": [ - { - "name": "ServiceName", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - }, - "codec": { - "codecs": [ - { - "name": "ZSTD", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - }, - { - "name": "SlowSpans", - "type": { - "name": "AggregateFunction", - "parameters": [ - { - "name": "groupArraySorted", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - }, - { - "name": "Tuple", - "parameters": [ - { - "name": "NegativeDurationNs", - "type": { - "name": "Int64" - } - }, - { - "name": "Timestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 9 - } - ], - "has_parentheses": true - } - }, - { - "name": "TraceId", - "type": { - "name": "String" - } - }, - { - "name": "SpanId", - "type": { - "name": "String" - } - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "codec": { - "codecs": [ - { - "name": "ZSTD", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ], - "engine": { - "name": "AggregatingMergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "ServiceName" - ] - } - ] -} diff --git a/parser/testdata/03094_one_thousand_joins/ast.json b/parser/testdata/03094_one_thousand_joins/ast.json deleted file mode 100644 index 9c376f33dd..0000000000 --- a/parser/testdata/03094_one_thousand_joins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "default" - } - } - ] -} diff --git a/parser/testdata/03094_transform_return_first/ast.json b/parser/testdata/03094_transform_return_first/ast.json deleted file mode 100644 index 583a393b4d..0000000000 --- a/parser/testdata/03094_transform_return_first/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "transform", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03094_virtual_column_table_name/ast.json b/parser/testdata/03094_virtual_column_table_name/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03094_virtual_column_table_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03095_group_by_server_constants_bug/ast.json b/parser/testdata/03095_group_by_server_constants_bug/ast.json deleted file mode 100644 index 8650b46ad9..0000000000 --- a/parser/testdata/03095_group_by_server_constants_bug/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "serverUUID", - "alias": "s" - }, - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "s" - ] - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03095_join_filter_push_down_right_stream_filled/ast.json b/parser/testdata/03095_join_filter_push_down_right_stream_filled/ast.json deleted file mode 100644 index 93f4555734..0000000000 --- a/parser/testdata/03095_join_filter_push_down_right_stream_filled/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1__fuzz_0", - "tables": [ - { - "table": "t1__fuzz_0" - } - ] -} diff --git a/parser/testdata/03095_merge_and_buffer_tables/ast.json b/parser/testdata/03095_merge_and_buffer_tables/ast.json deleted file mode 100644 index a802c8a3e9..0000000000 --- a/parser/testdata/03095_merge_and_buffer_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt1", - "tables": [ - { - "table": "mt1" - } - ] -} diff --git a/parser/testdata/03095_msan_uuid_string_to_num/ast.json b/parser/testdata/03095_msan_uuid_string_to_num/ast.json deleted file mode 100644 index f28abd7d76..0000000000 --- a/parser/testdata/03095_msan_uuid_string_to_num/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "UUIDStringToNum", - "arguments": [ - { - "type": "String", - "value": "00112233-4455-6677-8899-aabbccddeeff" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03095_window_functions_qualify/ast.json b/parser/testdata/03095_window_functions_qualify/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03095_window_functions_qualify/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03096_order_by_system_tables/ast.json b/parser/testdata/03096_order_by_system_tables/ast.json deleted file mode 100644 index ffdcc6e987..0000000000 --- a/parser/testdata/03096_order_by_system_tables/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "FLUSH LOGS" -} diff --git a/parser/testdata/03096_update_non_indexed_columns/ast.json b/parser/testdata/03096_update_non_indexed_columns/ast.json deleted file mode 100644 index 61fec7de88..0000000000 --- a/parser/testdata/03096_update_non_indexed_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03096", - "tables": [ - { - "table": "test_03096" - } - ] -} diff --git a/parser/testdata/03097_query_log_join_processes/ast.json b/parser/testdata/03097_query_log_join_processes/ast.json deleted file mode 100644 index 35d11677b7..0000000000 --- a/parser/testdata/03097_query_log_join_processes/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "FLUSH LOGS query_log" -} diff --git a/parser/testdata/03098_prefer_column_to_alias_subquery/ast.json b/parser/testdata/03098_prefer_column_to_alias_subquery/ast.json deleted file mode 100644 index 48e0b18d70..0000000000 --- a/parser/testdata/03098_prefer_column_to_alias_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "clickhouse_alias_issue_1", - "tables": [ - { - "table": "clickhouse_alias_issue_1" - } - ] -} diff --git a/parser/testdata/03099_analyzer_multi_join/ast.json b/parser/testdata/03099_analyzer_multi_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03099_analyzer_multi_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03100_analyzer_constants_in_multiif/ast.json b/parser/testdata/03100_analyzer_constants_in_multiif/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03100_analyzer_constants_in_multiif/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_01_basics/ast.json b/parser/testdata/03100_lwu_01_basics/ast.json deleted file mode 100644 index eded613a2f..0000000000 --- a/parser/testdata/03100_lwu_01_basics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_02_basics/ast.json b/parser/testdata/03100_lwu_02_basics/ast.json deleted file mode 100644 index eded613a2f..0000000000 --- a/parser/testdata/03100_lwu_02_basics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_03_join/ast.json b/parser/testdata/03100_lwu_03_join/ast.json deleted file mode 100644 index eded613a2f..0000000000 --- a/parser/testdata/03100_lwu_03_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_04_prewhere/ast.json b/parser/testdata/03100_lwu_04_prewhere/ast.json deleted file mode 100644 index 373bb35d10..0000000000 --- a/parser/testdata/03100_lwu_04_prewhere/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_shared", - "tables": [ - { - "table": "t_shared" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_05_basics/ast.json b/parser/testdata/03100_lwu_05_basics/ast.json deleted file mode 100644 index 478b8ef5bc..0000000000 --- a/parser/testdata/03100_lwu_05_basics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight", - "tables": [ - { - "table": "t_lightweight" - } - ] -} diff --git a/parser/testdata/03100_lwu_06_apply_patches/ast.json b/parser/testdata/03100_lwu_06_apply_patches/ast.json deleted file mode 100644 index eded613a2f..0000000000 --- a/parser/testdata/03100_lwu_06_apply_patches/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_07_merge_patches/ast.json b/parser/testdata/03100_lwu_07_merge_patches/ast.json deleted file mode 100644 index 4f6f45b074..0000000000 --- a/parser/testdata/03100_lwu_07_merge_patches/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight", - "tables": [ - { - "table": "t_lightweight" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_08_multiple_blocks/ast.json b/parser/testdata/03100_lwu_08_multiple_blocks/ast.json deleted file mode 100644 index d19f614326..0000000000 --- a/parser/testdata/03100_lwu_08_multiple_blocks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lightweight_8", - "tables": [ - { - "table": "t_lightweight_8" - } - ] -} diff --git a/parser/testdata/03100_lwu_09_different_structure/ast.json b/parser/testdata/03100_lwu_09_different_structure/ast.json deleted file mode 100644 index eded613a2f..0000000000 --- a/parser/testdata/03100_lwu_09_different_structure/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Float", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_10_apply_on_merges/ast.json b/parser/testdata/03100_lwu_10_apply_on_merges/ast.json deleted file mode 100644 index 5780916d54..0000000000 --- a/parser/testdata/03100_lwu_10_apply_on_merges/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_merges", - "tables": [ - { - "table": "t_lwu_merges" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_12_sequential_consistency/ast.json b/parser/testdata/03100_lwu_12_sequential_consistency/ast.json deleted file mode 100644 index 04419ee6d2..0000000000 --- a/parser/testdata/03100_lwu_12_sequential_consistency/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_sequential_1", - "tables": [ - { - "table": "t_lwu_sequential_1" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_18_sequence/ast.json b/parser/testdata/03100_lwu_18_sequence/ast.json deleted file mode 100644 index 719d304300..0000000000 --- a/parser/testdata/03100_lwu_18_sequence/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_sequence", - "tables": [ - { - "table": "t_lwu_sequence" - } - ] -} diff --git a/parser/testdata/03100_lwu_19_nullable/ast.json b/parser/testdata/03100_lwu_19_nullable/ast.json deleted file mode 100644 index a6c08c935a..0000000000 --- a/parser/testdata/03100_lwu_19_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mutation_table", - "tables": [ - { - "table": "mutation_table" - } - ] -} diff --git a/parser/testdata/03100_lwu_20_different_structure/ast.json b/parser/testdata/03100_lwu_20_different_structure/ast.json deleted file mode 100644 index e8443b5f84..0000000000 --- a/parser/testdata/03100_lwu_20_different_structure/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testing", - "tables": [ - { - "table": "testing" - } - ] -} diff --git a/parser/testdata/03100_lwu_22_detach_attach_patches/ast.json b/parser/testdata/03100_lwu_22_detach_attach_patches/ast.json deleted file mode 100644 index 58b99335a6..0000000000 --- a/parser/testdata/03100_lwu_22_detach_attach_patches/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_detach_attach_patches", - "tables": [ - { - "table": "t_detach_attach_patches" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_23_apply_patches/ast.json b/parser/testdata/03100_lwu_23_apply_patches/ast.json deleted file mode 100644 index 7702f292a5..0000000000 --- a/parser/testdata/03100_lwu_23_apply_patches/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_apply_patches", - "tables": [ - { - "table": "t_apply_patches" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_26_subcolumns/ast.json b/parser/testdata/03100_lwu_26_subcolumns/ast.json deleted file mode 100644 index 5f2f4d2649..0000000000 --- a/parser/testdata/03100_lwu_26_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_subcolumns", - "tables": [ - { - "table": "t_lwu_subcolumns" - } - ] -} diff --git a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/ast.json b/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/ast.json deleted file mode 100644 index 7f70688b4f..0000000000 --- a/parser/testdata/03100_lwu_27_update_after_on_fly_mutations/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_on_fly", - "tables": [ - { - "table": "t_lwu_on_fly" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_30_join_cache/ast.json b/parser/testdata/03100_lwu_30_join_cache/ast.json deleted file mode 100644 index 79c751c5a5..0000000000 --- a/parser/testdata/03100_lwu_30_join_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_patch_join_cache", - "tables": [ - { - "table": "t_patch_join_cache" - } - ] -} diff --git a/parser/testdata/03100_lwu_31_merge_memory_usage/ast.json b/parser/testdata/03100_lwu_31_merge_memory_usage/ast.json deleted file mode 100644 index feb65286af..0000000000 --- a/parser/testdata/03100_lwu_31_merge_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_lightweight_update", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_32_on_fly_filter/ast.json b/parser/testdata/03100_lwu_32_on_fly_filter/ast.json deleted file mode 100644 index feb65286af..0000000000 --- a/parser/testdata/03100_lwu_32_on_fly_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_lightweight_update", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_33_add_column/ast.json b/parser/testdata/03100_lwu_33_add_column/ast.json deleted file mode 100644 index 281adc5208..0000000000 --- a/parser/testdata/03100_lwu_33_add_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_add_column", - "tables": [ - { - "table": "t_lwu_add_column" - } - ] -} diff --git a/parser/testdata/03100_lwu_34_multistep_prewhere/ast.json b/parser/testdata/03100_lwu_34_multistep_prewhere/ast.json deleted file mode 100644 index 74071e9f45..0000000000 --- a/parser/testdata/03100_lwu_34_multistep_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_multistep", - "tables": [ - { - "table": "t_lwu_multistep" - } - ] -} diff --git a/parser/testdata/03100_lwu_35_lock_profile_events/ast.json b/parser/testdata/03100_lwu_35_lock_profile_events/ast.json deleted file mode 100644 index c75ee4534d..0000000000 --- a/parser/testdata/03100_lwu_35_lock_profile_events/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_lock_profile_events", - "tables": [ - { - "table": "t_lwu_lock_profile_events" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_36_json_skip_indexes/ast.json b/parser/testdata/03100_lwu_36_json_skip_indexes/ast.json deleted file mode 100644 index e0ba5917b9..0000000000 --- a/parser/testdata/03100_lwu_36_json_skip_indexes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes_on_data_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03100_lwu_37_update_all_columns/ast.json b/parser/testdata/03100_lwu_37_update_all_columns/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03100_lwu_37_update_all_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03100_lwu_38_replacing/ast.json b/parser/testdata/03100_lwu_38_replacing/ast.json deleted file mode 100644 index b29eba7db1..0000000000 --- a/parser/testdata/03100_lwu_38_replacing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_replacing", - "tables": [ - { - "table": "t_lwu_replacing" - } - ] -} diff --git a/parser/testdata/03100_lwu_39_after_replace_partition/ast.json b/parser/testdata/03100_lwu_39_after_replace_partition/ast.json deleted file mode 100644 index 7ee0b7c219..0000000000 --- a/parser/testdata/03100_lwu_39_after_replace_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_replace", - "tables": [ - { - "table": "t_lwu_replace" - } - ] -} diff --git a/parser/testdata/03100_lwu_41_bytes_limits/ast.json b/parser/testdata/03100_lwu_41_bytes_limits/ast.json deleted file mode 100644 index 43e2d7381b..0000000000 --- a/parser/testdata/03100_lwu_41_bytes_limits/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_bytes_limits", - "tables": [ - { - "table": "t_lwu_bytes_limits" - } - ] -} diff --git a/parser/testdata/03100_lwu_43_subquery_from_rmt/ast.json b/parser/testdata/03100_lwu_43_subquery_from_rmt/ast.json deleted file mode 100644 index 7c3ff69715..0000000000 --- a/parser/testdata/03100_lwu_43_subquery_from_rmt/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "lightweight_test", - "tables": [ - { - "table": "lightweight_test" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_44_missing_default/ast.json b/parser/testdata/03100_lwu_44_missing_default/ast.json deleted file mode 100644 index a37277f841..0000000000 --- a/parser/testdata/03100_lwu_44_missing_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_defaults", - "tables": [ - { - "table": "t_lwu_defaults" - } - ] -} diff --git a/parser/testdata/03100_lwu_45_query_condition_cache/ast.json b/parser/testdata/03100_lwu_45_query_condition_cache/ast.json deleted file mode 100644 index 929e016ba7..0000000000 --- a/parser/testdata/03100_lwu_45_query_condition_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_condition_cache", - "tables": [ - { - "table": "t_lwu_condition_cache" - } - ] -} diff --git a/parser/testdata/03100_lwu_46_deletes_skip_indexes/ast.json b/parser/testdata/03100_lwu_46_deletes_skip_indexes/ast.json deleted file mode 100644 index 6af5833737..0000000000 --- a/parser/testdata/03100_lwu_46_deletes_skip_indexes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwd_indexes", - "tables": [ - { - "table": "t_lwd_indexes" - } - ] -} diff --git a/parser/testdata/03100_lwu_deletes_1/ast.json b/parser/testdata/03100_lwu_deletes_1/ast.json deleted file mode 100644 index f21d8abb03..0000000000 --- a/parser/testdata/03100_lwu_deletes_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_delete", - "tables": [ - { - "table": "t_lwu_delete" - } - ] -} diff --git a/parser/testdata/03100_lwu_deletes_2/ast.json b/parser/testdata/03100_lwu_deletes_2/ast.json deleted file mode 100644 index f27c115b84..0000000000 --- a/parser/testdata/03100_lwu_deletes_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lwd_test", - "tables": [ - { - "table": "lwd_test" - } - ] -} diff --git a/parser/testdata/03100_lwu_deletes_3/ast.json b/parser/testdata/03100_lwu_deletes_3/ast.json deleted file mode 100644 index 65c7ae420f..0000000000 --- a/parser/testdata/03100_lwu_deletes_3/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_deletes_3", - "tables": [ - { - "table": "t_lwu_deletes_3" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_deletes_4_index/ast.json b/parser/testdata/03100_lwu_deletes_4_index/ast.json deleted file mode 100644 index 71d79cd970..0000000000 --- a/parser/testdata/03100_lwu_deletes_4_index/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwd_index", - "tables": [ - { - "table": "t_lwd_index" - } - ], - "sync": true -} diff --git a/parser/testdata/03100_lwu_deletes_5_vertical_merge/ast.json b/parser/testdata/03100_lwu_deletes_5_vertical_merge/ast.json deleted file mode 100644 index 1a64b45c2b..0000000000 --- a/parser/testdata/03100_lwu_deletes_5_vertical_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwu_deletes_vertical", - "tables": [ - { - "table": "t_lwu_deletes_vertical" - } - ] -} diff --git a/parser/testdata/03101_analyzer_identifiers_1/ast.json b/parser/testdata/03101_analyzer_identifiers_1/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03101_analyzer_identifiers_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03101_analyzer_identifiers_2/ast.json b/parser/testdata/03101_analyzer_identifiers_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03101_analyzer_identifiers_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03101_analyzer_identifiers_3/ast.json b/parser/testdata/03101_analyzer_identifiers_3/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03101_analyzer_identifiers_3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03101_analyzer_identifiers_4/ast.json b/parser/testdata/03101_analyzer_identifiers_4/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03101_analyzer_identifiers_4/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03101_analyzer_invalid_join_on/ast.json b/parser/testdata/03101_analyzer_invalid_join_on/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03101_analyzer_invalid_join_on/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03102_prefer_column_name_to_alias/ast.json b/parser/testdata/03102_prefer_column_name_to_alias/ast.json deleted file mode 100644 index cc32049e4c..0000000000 --- a/parser/testdata/03102_prefer_column_name_to_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "loans", - "tables": [ - { - "table": "loans" - } - ] -} diff --git a/parser/testdata/03103_positional_arguments/ast.json b/parser/testdata/03103_positional_arguments/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03103_positional_arguments/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03104_create_view_join/ast.json b/parser/testdata/03104_create_view_join/ast.json deleted file mode 100644 index 2fde98dd5d..0000000000 --- a/parser/testdata/03104_create_view_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_01", - "tables": [ - { - "table": "test_table_01" - } - ] -} diff --git a/parser/testdata/03105_table_aliases_in_mv/ast.json b/parser/testdata/03105_table_aliases_in_mv/ast.json deleted file mode 100644 index 27bb6b6be3..0000000000 --- a/parser/testdata/03105_table_aliases_in_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "event", - "tables": [ - { - "table": "event" - } - ] -} diff --git a/parser/testdata/03107_ill_formed_select_in_materialized_view/ast.json b/parser/testdata/03107_ill_formed_select_in_materialized_view/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/03107_ill_formed_select_in_materialized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/03108_describe_union_all/ast.json b/parser/testdata/03108_describe_union_all/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03108_describe_union_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03109_ast_too_big/ast.json b/parser/testdata/03109_ast_too_big/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03109_ast_too_big/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03110_unicode_alias/ast.json b/parser/testdata/03110_unicode_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03110_unicode_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03111_inner_join_group_by/ast.json b/parser/testdata/03111_inner_join_group_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03111_inner_join_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03112_analyzer_not_found_column_in_block/ast.json b/parser/testdata/03112_analyzer_not_found_column_in_block/ast.json deleted file mode 100644 index de8469d78e..0000000000 --- a/parser/testdata/03112_analyzer_not_found_column_in_block/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "my_first_table", - "tables": [ - { - "table": "my_first_table" - } - ] -} diff --git a/parser/testdata/03113_analyzer_not_found_column_in_block_2/ast.json b/parser/testdata/03113_analyzer_not_found_column_in_block_2/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03113_analyzer_not_found_column_in_block_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03114_analyzer_cte_with_join/ast.json b/parser/testdata/03114_analyzer_cte_with_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03114_analyzer_cte_with_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03115_alias_exists_column/ast.json b/parser/testdata/03115_alias_exists_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03115_alias_exists_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03116_analyzer_explicit_alias_as_column_name/ast.json b/parser/testdata/03116_analyzer_explicit_alias_as_column_name/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03116_analyzer_explicit_alias_as_column_name/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03117_analyzer_same_column_name_as_func/ast.json b/parser/testdata/03117_analyzer_same_column_name_as_func/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03117_analyzer_same_column_name_as_func/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03118_analyzer_multi_join_prewhere/ast.json b/parser/testdata/03118_analyzer_multi_join_prewhere/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03118_analyzer_multi_join_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03119_analyzer_window_function_in_CTE_alias/ast.json b/parser/testdata/03119_analyzer_window_function_in_CTE_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03119_analyzer_window_function_in_CTE_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03120_analyzer_dist_join/ast.json b/parser/testdata/03120_analyzer_dist_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03120_analyzer_dist_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03120_analyzer_param_in_CTE_alias/ast.json b/parser/testdata/03120_analyzer_param_in_CTE_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03120_analyzer_param_in_CTE_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/ast.json b/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03121_analyzer_filed_redefenition_in_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03122_analyzer_collate_in_window_function/ast.json b/parser/testdata/03122_analyzer_collate_in_window_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03122_analyzer_collate_in_window_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03123_analyzer_dist_join_CTE/ast.json b/parser/testdata/03123_analyzer_dist_join_CTE/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03123_analyzer_dist_join_CTE/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03124_analyzer_nested_CTE_dist_in/ast.json b/parser/testdata/03124_analyzer_nested_CTE_dist_in/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03124_analyzer_nested_CTE_dist_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03125_analyzer_CTE_two_joins/ast.json b/parser/testdata/03125_analyzer_CTE_two_joins/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03125_analyzer_CTE_two_joins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03126_column_not_under_group_by/ast.json b/parser/testdata/03126_column_not_under_group_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03126_column_not_under_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03127_argMin_combinator_state/ast.json b/parser/testdata/03127_argMin_combinator_state/ast.json deleted file mode 100644 index cf46bfcce8..0000000000 --- a/parser/testdata/03127_argMin_combinator_state/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "sumArgMinState", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03127_system_unload_primary_key_table/ast.json b/parser/testdata/03127_system_unload_primary_key_table/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03127_system_unload_primary_key_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03127_window_functions_uint16/ast.json b/parser/testdata/03127_window_functions_uint16/ast.json deleted file mode 100644 index a687348005..0000000000 --- a/parser/testdata/03127_window_functions_uint16/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tumbleStart", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2020-01-09 12:00:01" - }, - { - "type": "String", - "value": "US/Samoa" - } - ] - }, - { - "value": { - "type": "String", - "value": "1" - }, - "unit": "WEEK" - }, - { - "type": "String", - "value": "US/Samoa" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03128_argMin_combinator_projection/ast.json b/parser/testdata/03128_argMin_combinator_projection/ast.json deleted file mode 100644 index 94361af37b..0000000000 --- a/parser/testdata/03128_argMin_combinator_projection/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "combinator_argMin_table_r1", - "tables": [ - { - "table": "combinator_argMin_table_r1" - } - ], - "sync": true -} diff --git a/parser/testdata/03128_merge_tree_index_lazy_load/ast.json b/parser/testdata/03128_merge_tree_index_lazy_load/ast.json deleted file mode 100644 index d9d742734a..0000000000 --- a/parser/testdata/03128_merge_tree_index_lazy_load/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_lazy_load", - "tables": [ - { - "table": "t_index_lazy_load" - } - ] -} diff --git a/parser/testdata/03128_system_unload_primary_key/ast.json b/parser/testdata/03128_system_unload_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03128_system_unload_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03129_cte_with_final/ast.json b/parser/testdata/03129_cte_with_final/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03129_cte_with_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/ast.json b/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/ast.json deleted file mode 100644 index 9d215ded0b..0000000000 --- a/parser/testdata/03129_low_cardinality_nullable_non_first_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "small", - "tables": [ - { - "table": "small" - } - ] -} diff --git a/parser/testdata/03129_serial_test_zookeeper/ast.json b/parser/testdata/03129_serial_test_zookeeper/ast.json deleted file mode 100644 index d0b44ce108..0000000000 --- a/parser/testdata/03129_serial_test_zookeeper/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "generateSerialID", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "x" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03129_update_nested_materialized_column_check/ast.json b/parser/testdata/03129_update_nested_materialized_column_check/ast.json deleted file mode 100644 index 33b5cde802..0000000000 --- a/parser/testdata/03129_update_nested_materialized_column_check/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "asterisk_include_materialized_columns", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03130_abs_in_key_condition_bug/ast.json b/parser/testdata/03130_abs_in_key_condition_bug/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03130_abs_in_key_condition_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03130_analyzer_array_join_prefer_column/ast.json b/parser/testdata/03130_analyzer_array_join_prefer_column/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03130_analyzer_array_join_prefer_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03130_analyzer_self_join_group_by/ast.json b/parser/testdata/03130_analyzer_self_join_group_by/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03130_analyzer_self_join_group_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03130_convert_outer_join_to_inner_join/ast.json b/parser/testdata/03130_convert_outer_join_to_inner_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03130_convert_outer_join_to_inner_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03130_generateSnowflakeId/ast.json b/parser/testdata/03130_generateSnowflakeId/ast.json deleted file mode 100644 index 6415fa5f4f..0000000000 --- a/parser/testdata/03130_generateSnowflakeId/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/03131_deprecated_functions/ast.json b/parser/testdata/03131_deprecated_functions/ast.json deleted file mode 100644 index cc4e2f3bbc..0000000000 --- a/parser/testdata/03131_deprecated_functions/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "neighbor", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03131_hilbert_coding/ast.json b/parser/testdata/03131_hilbert_coding/ast.json deleted file mode 100644 index 46aa82ec30..0000000000 --- a/parser/testdata/03131_hilbert_coding/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "----- START -----" - } - ] - } - ] -} diff --git a/parser/testdata/03131_rewrite_sum_if_nullable/ast.json b/parser/testdata/03131_rewrite_sum_if_nullable/ast.json deleted file mode 100644 index ae367639ad..0000000000 --- a/parser/testdata/03131_rewrite_sum_if_nullable/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "if", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03132_jit_sort_description_crash_fix/ast.json b/parser/testdata/03132_jit_sort_description_crash_fix/ast.json deleted file mode 100644 index f54ddfeaa9..0000000000 --- a/parser/testdata/03132_jit_sort_description_crash_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_syntax_for_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/ast.json b/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03132_rewrite_aggregate_function_with_if_implicit_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03132_sqlancer_union_all/ast.json b/parser/testdata/03132_sqlancer_union_all/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03132_sqlancer_union_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03141_fetches_errors_stress/ast.json b/parser/testdata/03141_fetches_errors_stress/ast.json deleted file mode 100644 index 7b1d76c6a3..0000000000 --- a/parser/testdata/03141_fetches_errors_stress/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "table": "data_r1", - "columns": [ - { - "name": "key", - "type": { - "name": "Int" - } - }, - { - "name": "value", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "ReplicatedMergeTree", - "parameters": [ - { - "type": "String", - "value": "/tables/{database}/data" - }, - { - "type": "String", - "value": "{table}" - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03142_alter_comment_parameterized_view/ast.json b/parser/testdata/03142_alter_comment_parameterized_view/ast.json deleted file mode 100644 index 542f0704dd..0000000000 --- a/parser/testdata/03142_alter_comment_parameterized_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_comment", - "tables": [ - { - "table": "test_table_comment" - } - ] -} diff --git a/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/ast.json b/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/ast.json deleted file mode 100644 index 2174045282..0000000000 --- a/parser/testdata/03142_skip_ANSI_in_UTF8_compute_width/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "format", - "arguments": [ - { - "type": "String", - "value": "\u001b[38;2;{0};{1};{2}m█\u001b[0m" - }, - { - "type": "Integer", - "value": 255 - }, - { - "type": "Integer", - "value": 128 - }, - { - "type": "Integer", - "value": 128 - } - ], - "alias": "x" - } - ], - "format": { - "parts": [ - "Pretty" - ] - } - } - ] -} diff --git a/parser/testdata/03142_untuple_crash/ast.json b/parser/testdata/03142_untuple_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03142_untuple_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03142_window_function_limit_by/ast.json b/parser/testdata/03142_window_function_limit_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03142_window_function_limit_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03143_asof_join_ddb_long/ast.json b/parser/testdata/03143_asof_join_ddb_long/ast.json deleted file mode 100644 index 885547b352..0000000000 --- a/parser/testdata/03143_asof_join_ddb_long/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "build", - "tables": [ - { - "table": "build" - } - ] -} diff --git a/parser/testdata/03143_cte_scope/ast.json b/parser/testdata/03143_cte_scope/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03143_cte_scope/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03143_group_by_constant_secondary/ast.json b/parser/testdata/03143_group_by_constant_secondary/ast.json deleted file mode 100644 index 1233b3fdf8..0000000000 --- a/parser/testdata/03143_group_by_constant_secondary/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "parts": [ - "test_cluster_two_shards" - ] - }, - { - "parts": [ - "system" - ] - }, - { - "parts": [ - "one" - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "type": "String", - "value": "hi" - } - ], - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "group_by_two_level_threshold_bytes", - "value": { - "type": "Integer", - "value": 33950592 - } - } - ] - } - ] -} diff --git a/parser/testdata/03143_join_filter_push_down_filled_join_fix/ast.json b/parser/testdata/03143_join_filter_push_down_filled_join_fix/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03143_join_filter_push_down_filled_join_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03143_parallel_replicas_mat_view_bug/ast.json b/parser/testdata/03143_parallel_replicas_mat_view_bug/ast.json deleted file mode 100644 index 7ca2c115d1..0000000000 --- a/parser/testdata/03143_parallel_replicas_mat_view_bug/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "mv_table", - "tables": [ - { - "table": "mv_table" - } - ], - "sync": true -} diff --git a/parser/testdata/03143_ttl_in_system_parts_columns_table/ast.json b/parser/testdata/03143_ttl_in_system_parts_columns_table/ast.json deleted file mode 100644 index 0b0cb0111c..0000000000 --- a/parser/testdata/03143_ttl_in_system_parts_columns_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03143", - "tables": [ - { - "table": "test_03143" - } - ] -} diff --git a/parser/testdata/03143_window_functions_qualify_validation/ast.json b/parser/testdata/03143_window_functions_qualify_validation/ast.json deleted file mode 100644 index 70a4a9735e..0000000000 --- a/parser/testdata/03143_window_functions_qualify_validation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uk_price_paid", - "tables": [ - { - "table": "uk_price_paid" - } - ] -} diff --git a/parser/testdata/03144_aggregate_states_with_different_types/ast.json b/parser/testdata/03144_aggregate_states_with_different_types/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03144_aggregate_states_with_different_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03144_alter_column_and_read/ast.json b/parser/testdata/03144_alter_column_and_read/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03144_alter_column_and_read/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03144_asof_join_ddb_doubles/ast.json b/parser/testdata/03144_asof_join_ddb_doubles/ast.json deleted file mode 100644 index 78aa8b9181..0000000000 --- a/parser/testdata/03144_asof_join_ddb_doubles/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "full_sorting_merge" - } - } - ] -} diff --git a/parser/testdata/03144_invalid_filter/ast.json b/parser/testdata/03144_invalid_filter/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03144_invalid_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03145_asof_join_ddb_inequalities/ast.json b/parser/testdata/03145_asof_join_ddb_inequalities/ast.json deleted file mode 100644 index 8a6c4b8de8..0000000000 --- a/parser/testdata/03145_asof_join_ddb_inequalities/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "events0", - "tables": [ - { - "table": "events0" - } - ] -} diff --git a/parser/testdata/03145_unicode_quotes/ast.json b/parser/testdata/03145_unicode_quotes/ast.json deleted file mode 100644 index 339191fdfd..0000000000 --- a/parser/testdata/03145_unicode_quotes/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "This is an example of using English-style Unicode single quotes." - }, - "alias": "curly" - } - ] - } - ] -} diff --git a/parser/testdata/03146_bug47862/ast.json b/parser/testdata/03146_bug47862/ast.json deleted file mode 100644 index 4ab67abacc..0000000000 --- a/parser/testdata/03146_bug47862/ast.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInt64", - "arguments": [ - { - "parts": [ - "lookup_res" - ] - } - ], - "alias": "cast_res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "indexOf", - "arguments": [ - { - "parts": [ - "field_id" - ] - }, - { - "type": "Integer", - "value": 10 - } - ], - "alias": "val_idx" - }, - { - "expr": { - "array": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "110" - } - ] - }, - "index": { - "parts": [ - "val_idx" - ] - } - }, - "alias": "lookup_res" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 15 - } - ] - } - ] - } - ], - "alias": "field_id" - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "val_idx" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "cast_res" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - }, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03146_parameterized_view_with_date/ast.json b/parser/testdata/03146_parameterized_view_with_date/ast.json deleted file mode 100644 index 2f33d73b99..0000000000 --- a/parser/testdata/03146_parameterized_view_with_date/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table_pv", - "tables": [ - { - "table": "table_pv" - } - ] -} diff --git a/parser/testdata/03146_tpc_ds_grouping/ast.json b/parser/testdata/03146_tpc_ds_grouping/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03146_tpc_ds_grouping/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03147_asof_join_ddb_missing/ast.json b/parser/testdata/03147_asof_join_ddb_missing/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03147_asof_join_ddb_missing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03147_datetime64_constant_index_analysis/ast.json b/parser/testdata/03147_datetime64_constant_index_analysis/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03147_datetime64_constant_index_analysis/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03147_parquet_memory_tracking/ast.json b/parser/testdata/03147_parquet_memory_tracking/ast.json deleted file mode 100644 index cc60cb46fd..0000000000 --- a/parser/testdata/03147_parquet_memory_tracking/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "03147_parquet_memory_tracking.parquet" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10000000 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "output_format_parquet_compression_method", - "value": { - "type": "String", - "value": "none" - } - }, - { - "name": "output_format_parquet_row_group_size", - "value": { - "type": "Integer", - "value": 1000000000000 - } - }, - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03147_rows_before_limit_fix/ast.json b/parser/testdata/03147_rows_before_limit_fix/ast.json deleted file mode 100644 index 067d542637..0000000000 --- a/parser/testdata/03147_rows_before_limit_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "exact_rows_before_limit", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03147_table_function_loop/ast.json b/parser/testdata/03147_table_function_loop/ast.json deleted file mode 100644 index b371fb5ffb..0000000000 --- a/parser/testdata/03147_table_function_loop/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "loop", - "arguments": [ - { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03147_table_function_loop_remote_storage/ast.json b/parser/testdata/03147_table_function_loop_remote_storage/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03147_table_function_loop_remote_storage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03148_asof_join_ddb_subquery/ast.json b/parser/testdata/03148_asof_join_ddb_subquery/ast.json deleted file mode 100644 index ce65b30440..0000000000 --- a/parser/testdata/03148_asof_join_ddb_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "events", - "tables": [ - { - "table": "events" - } - ] -} diff --git a/parser/testdata/03148_mutations_virtual_columns/ast.json b/parser/testdata/03148_mutations_virtual_columns/ast.json deleted file mode 100644 index 7783b0dcdd..0000000000 --- a/parser/testdata/03148_mutations_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_mut_virtuals", - "tables": [ - { - "table": "t_mut_virtuals" - } - ] -} diff --git a/parser/testdata/03148_query_log_used_dictionaries/ast.json b/parser/testdata/03148_query_log_used_dictionaries/ast.json deleted file mode 100644 index f0c247f8cf..0000000000 --- a/parser/testdata/03148_query_log_used_dictionaries/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03148_dictionary", - "tables": [ - { - "table": "03148_dictionary" - } - ] -} diff --git a/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/ast.json b/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03148_setting_max_streams_to_max_threads_ratio_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03149_analyzer_join_projection_name/ast.json b/parser/testdata/03149_analyzer_join_projection_name/ast.json deleted file mode 100644 index 297a1b94d4..0000000000 --- a/parser/testdata/03149_analyzer_join_projection_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "groups_dict", - "tables": [ - { - "table": "groups_dict" - } - ] -} diff --git a/parser/testdata/03149_analyzer_join_projection_name_2/ast.json b/parser/testdata/03149_analyzer_join_projection_name_2/ast.json deleted file mode 100644 index 297a1b94d4..0000000000 --- a/parser/testdata/03149_analyzer_join_projection_name_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "groups_dict", - "tables": [ - { - "table": "groups_dict" - } - ] -} diff --git a/parser/testdata/03149_analyzer_window_redefinition/ast.json b/parser/testdata/03149_analyzer_window_redefinition/ast.json deleted file mode 100644 index bfc6c05841..0000000000 --- a/parser/testdata/03149_analyzer_window_redefinition/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03149_asof_join_ddb_timestamps/ast.json b/parser/testdata/03149_asof_join_ddb_timestamps/ast.json deleted file mode 100644 index 8a6c4b8de8..0000000000 --- a/parser/testdata/03149_asof_join_ddb_timestamps/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "events0", - "tables": [ - { - "table": "events0" - } - ] -} diff --git a/parser/testdata/03149_variant_pop_back_typo/ast.json b/parser/testdata/03149_variant_pop_back_typo/ast.json deleted file mode 100644 index e33f9b2f98..0000000000 --- a/parser/testdata/03149_variant_pop_back_typo/ast.json +++ /dev/null @@ -1,84 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Array", - "value": null - }, - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "map", - "arguments": [ - { - "type": "String", - "value": "" - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "" - }, - { - "name": "toUInt128", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03150_dynamic_type_mv_insert/ast.json b/parser/testdata/03150_dynamic_type_mv_insert/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03150_dynamic_type_mv_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03150_grouping_sets_use_nulls_pushdown/ast.json b/parser/testdata/03150_grouping_sets_use_nulls_pushdown/ast.json deleted file mode 100644 index 8b31cd1870..0000000000 --- a/parser/testdata/03150_grouping_sets_use_nulls_pushdown/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_grouping_sets_predicate", - "tables": [ - { - "table": "test_grouping_sets_predicate" - } - ] -} diff --git a/parser/testdata/03150_infer_type_variant/ast.json b/parser/testdata/03150_infer_type_variant/ast.json deleted file mode 100644 index cd2e0a2682..0000000000 --- a/parser/testdata/03150_infer_type_variant/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_try_infer_variants", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03150_trace_log_add_build_id/ast.json b/parser/testdata/03150_trace_log_add_build_id/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/03150_trace_log_add_build_id/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03150_url_hash_non_constant_level/ast.json b/parser/testdata/03150_url_hash_non_constant_level/ast.json deleted file mode 100644 index 4c3b2a6edc..0000000000 --- a/parser/testdata/03150_url_hash_non_constant_level/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "url", - "query": { - "type": "String", - "value": "https://www3.botinok.co.edu.il/~kozlevich/CGI-BIN/WEBSIT~0.DLL?longptr=0xFFFFFFFF\u0026ONERR=CONTINUE#!PGNUM=99" - } - } - ], - "columns": [ - { - "name": "URLHash", - "arguments": [ - { - "parts": [ - "url" - ] - }, - { - "name": "arrayJoin", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03151_analyzer_view_read_only_necessary_columns/ast.json b/parser/testdata/03151_analyzer_view_read_only_necessary_columns/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03151_analyzer_view_read_only_necessary_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03151_dynamic_type_scale_max_types/ast.json b/parser/testdata/03151_dynamic_type_scale_max_types/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03151_dynamic_type_scale_max_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03151_external_cross_join/ast.json b/parser/testdata/03151_external_cross_join/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03151_external_cross_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03151_pmj_join_non_procssed_clash/ast.json b/parser/testdata/03151_pmj_join_non_procssed_clash/ast.json deleted file mode 100644 index ac5c54b4e8..0000000000 --- a/parser/testdata/03151_pmj_join_non_procssed_clash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "partial_merge" - } - } - ] -} diff --git a/parser/testdata/03151_redundant_distinct_with_window/ast.json b/parser/testdata/03151_redundant_distinct_with_window/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03151_redundant_distinct_with_window/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03152_analyzer_columns_list/ast.json b/parser/testdata/03152_analyzer_columns_list/ast.json deleted file mode 100644 index f4766408db..0000000000 --- a/parser/testdata/03152_analyzer_columns_list/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "foo", - "type": { - "name": "String" - } - }, - { - "name": "bar", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "foo" - ] - }, - { - "parts": [ - "bar" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03152_dynamic_type_simple/ast.json b/parser/testdata/03152_dynamic_type_simple/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03152_dynamic_type_simple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03152_join_filter_push_down_equivalent_columns/ast.json b/parser/testdata/03152_join_filter_push_down_equivalent_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03152_join_filter_push_down_equivalent_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/ast.json b/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/ast.json deleted file mode 100644 index 0cdd13346d..0000000000 --- a/parser/testdata/03152_trailing_comma_in_columns_list_in_insert/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt8" - } - }, - { - "name": "b", - "type": { - "name": "UInt8" - } - }, - { - "name": "c", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/03153_dynamic_type_empty/ast.json b/parser/testdata/03153_dynamic_type_empty/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03153_dynamic_type_empty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/ast.json b/parser/testdata/03153_trailing_comma_in_values_list_in_insert/ast.json deleted file mode 100644 index 0cdd13346d..0000000000 --- a/parser/testdata/03153_trailing_comma_in_values_list_in_insert/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt8" - } - }, - { - "name": "b", - "type": { - "name": "UInt8" - } - }, - { - "name": "c", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/03154_recursive_cte_distributed/ast.json b/parser/testdata/03154_recursive_cte_distributed/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03154_recursive_cte_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03155_analyzer_interpolate/ast.json b/parser/testdata/03155_analyzer_interpolate/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03155_analyzer_interpolate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03155_datasketches_ubsan/ast.json b/parser/testdata/03155_datasketches_ubsan/ast.json deleted file mode 100644 index 829663ce07..0000000000 --- a/parser/testdata/03155_datasketches_ubsan/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqTheta", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "uniqTheta distinct" - }, - { - "type": "Integer", - "value": 18 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "where": { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 16 - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03155_explain_current_transaction/ast.json b/parser/testdata/03155_explain_current_transaction/ast.json deleted file mode 100644 index 1f2b9ca42f..0000000000 --- a/parser/testdata/03155_explain_current_transaction/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "explain_type": "CURRENT TRANSACTION", - "statement": null -} diff --git a/parser/testdata/03155_in_nested_subselects/ast.json b/parser/testdata/03155_in_nested_subselects/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03155_in_nested_subselects/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03156_analyzer_array_join_distributed/ast.json b/parser/testdata/03156_analyzer_array_join_distributed/ast.json deleted file mode 100644 index edb362594e..0000000000 --- a/parser/testdata/03156_analyzer_array_join_distributed/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "table": "arrays_test", - "columns": [ - { - "name": "s", - "type": { - "name": "String" - } - }, - { - "name": "arr", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "s" - ] - } - ] -} diff --git a/parser/testdata/03156_group_concat/ast.json b/parser/testdata/03156_group_concat/ast.json deleted file mode 100644 index 33b00b6922..0000000000 --- a/parser/testdata/03156_group_concat/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_groupConcat", - "tables": [ - { - "table": "test_groupConcat" - } - ] -} diff --git a/parser/testdata/03156_nullable_number_tips/ast.json b/parser/testdata/03156_nullable_number_tips/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/03156_nullable_number_tips/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03156_tuple_map_low_cardinality/ast.json b/parser/testdata/03156_tuple_map_low_cardinality/ast.json deleted file mode 100644 index bf20ce088c..0000000000 --- a/parser/testdata/03156_tuple_map_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_map_lc", - "tables": [ - { - "table": "t_map_lc" - } - ] -} diff --git a/parser/testdata/03157_dynamic_type_json/ast.json b/parser/testdata/03157_dynamic_type_json/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03157_dynamic_type_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03157_negative_positional_arguments_ubsan/ast.json b/parser/testdata/03157_negative_positional_arguments_ubsan/ast.json deleted file mode 100644 index 8eb0f0eee1..0000000000 --- a/parser/testdata/03157_negative_positional_arguments_ubsan/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "group_by": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 9223372036854775808 - } - } - ] - } - ] -} diff --git a/parser/testdata/03158_dynamic_type_from_variant/ast.json b/parser/testdata/03158_dynamic_type_from_variant/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03158_dynamic_type_from_variant/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03159_dynamic_type_all_types/ast.json b/parser/testdata/03159_dynamic_type_all_types/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03159_dynamic_type_all_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03160_dynamic_type_agg/ast.json b/parser/testdata/03160_dynamic_type_agg/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03160_dynamic_type_agg/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03161_cnf_reduction/ast.json b/parser/testdata/03161_cnf_reduction/ast.json deleted file mode 100644 index 5e3c3e761f..0000000000 --- a/parser/testdata/03161_cnf_reduction/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03161_table", - "tables": [ - { - "table": "03161_table" - } - ] -} diff --git a/parser/testdata/03161_create_table_as_mv/ast.json b/parser/testdata/03161_create_table_as_mv/ast.json deleted file mode 100644 index 09b86d5724..0000000000 --- a/parser/testdata/03161_create_table_as_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "base_table", - "tables": [ - { - "table": "base_table" - } - ] -} diff --git a/parser/testdata/03161_ipv4_ipv6_equality/ast.json b/parser/testdata/03161_ipv4_ipv6_equality/ast.json deleted file mode 100644 index c2cba78552..0000000000 --- a/parser/testdata/03161_ipv4_ipv6_equality/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toIPv4", - "arguments": [ - { - "type": "String", - "value": "127.0.0.1" - } - ] - }, - "op": "=", - "right": { - "name": "toIPv6", - "arguments": [ - { - "type": "String", - "value": "::ffff:127.0.0.1" - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03161_lightweight_delete_projection/ast.json b/parser/testdata/03161_lightweight_delete_projection/ast.json deleted file mode 100644 index de29dd447d..0000000000 --- a/parser/testdata/03161_lightweight_delete_projection/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "lightweight_deletes_sync", - "value": { - "type": "Integer", - "value": 2 - } - }, - { - "name": "alter_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03162_dynamic_type_nested/ast.json b/parser/testdata/03162_dynamic_type_nested/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03162_dynamic_type_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03163_dynamic_as_supertype/ast.json b/parser/testdata/03163_dynamic_as_supertype/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03163_dynamic_as_supertype/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03164_adapting_parquet_reader_output_size/ast.json b/parser/testdata/03164_adapting_parquet_reader_output_size/ast.json deleted file mode 100644 index fecc18cd74..0000000000 --- a/parser/testdata/03164_adapting_parquet_reader_output_size/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_insert_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03164_analyzer_global_in_alias/ast.json b/parser/testdata/03164_analyzer_global_in_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03164_analyzer_global_in_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/ast.json b/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/ast.json deleted file mode 100644 index 7b5f7a8046..0000000000 --- a/parser/testdata/03164_analyzer_rewrite_aggregate_function_with_if/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countIf", - "arguments": [ - { - "name": "multiIf", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 2 - } - }, - { - "type": "Null", - "value": null - }, - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 4 - } - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03164_analyzer_validate_tree_size/ast.json b/parser/testdata/03164_analyzer_validate_tree_size/ast.json deleted file mode 100644 index 2bbd946c18..0000000000 --- a/parser/testdata/03164_analyzer_validate_tree_size/ast.json +++ /dev/null @@ -1,6008 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "c1", - "type": { - "name": "Int64" - } - }, - { - "name": "c2", - "type": { - "name": "Int64" - } - }, - { - "name": "c3", - "type": { - "name": "Int64" - } - }, - { - "name": "c4", - "type": { - "name": "Int64" - } - }, - { - "name": "c5", - "type": { - "name": "Int64" - } - }, - { - "name": "c6", - "type": { - "name": "Int64" - } - }, - { - "name": "c7", - "type": { - "name": "Int64" - } - }, - { - "name": "c8", - "type": { - "name": "Int64" - } - }, - { - "name": "c9", - "type": { - "name": "Int64" - } - }, - { - "name": "c10", - "type": { - "name": "Int64" - } - }, - { - "name": "c11", - "type": { - "name": "Int64" - } - }, - { - "name": "c12", - "type": { - "name": "Int64" - } - }, - { - "name": "c13", - "type": { - "name": "Int64" - } - }, - { - "name": "c14", - "type": { - "name": "Int64" - } - }, - { - "name": "c15", - "type": { - "name": "Int64" - } - }, - { - "name": "c16", - "type": { - "name": "Int64" - } - }, - { - "name": "c17", - "type": { - "name": "Int64" - } - }, - { - "name": "c18", - "type": { - "name": "Int64" - } - }, - { - "name": "c19", - "type": { - "name": "Int64" - } - }, - { - "name": "c20", - "type": { - "name": "Int64" - } - }, - { - "name": "c21", - "type": { - "name": "Int64" - } - }, - { - "name": "c22", - "type": { - "name": "Int64" - } - }, - { - "name": "c23", - "type": { - "name": "Int64" - } - }, - { - "name": "c24", - "type": { - "name": "Int64" - } - }, - { - "name": "c25", - "type": { - "name": "Int64" - } - }, - { - "name": "c26", - "type": { - "name": "Int64" - } - }, - { - "name": "c27", - "type": { - "name": "Int64" - } - }, - { - "name": "c28", - "type": { - "name": "Int64" - } - }, - { - "name": "c29", - "type": { - "name": "Int64" - } - }, - { - "name": "c30", - "type": { - "name": "Int64" - } - }, - { - "name": "c31", - "type": { - "name": "Int64" - } - }, - { - "name": "c32", - "type": { - "name": "Int64" - } - }, - { - "name": "c33", - "type": { - "name": "Int64" - } - }, - { - "name": "c34", - "type": { - "name": "Int64" - } - }, - { - "name": "c35", - "type": { - "name": "Int64" - } - }, - { - "name": "c36", - "type": { - "name": "Int64" - } - }, - { - "name": "c37", - "type": { - "name": "Int64" - } - }, - { - "name": "c38", - "type": { - "name": "Int64" - } - }, - { - "name": "c39", - "type": { - "name": "Int64" - } - }, - { - "name": "c40", - "type": { - "name": "Int64" - } - }, - { - "name": "c41", - "type": { - "name": "Int64" - } - }, - { - "name": "c42", - "type": { - "name": "Int64" - } - }, - { - "name": "c43", - "type": { - "name": "Int64" - } - }, - { - "name": "c44", - "type": { - "name": "Int64" - } - }, - { - "name": "c45", - "type": { - "name": "Int64" - } - }, - { - "name": "c46", - "type": { - "name": "Int64" - } - }, - { - "name": "c47", - "type": { - "name": "Int64" - } - }, - { - "name": "c48", - "type": { - "name": "Int64" - } - }, - { - "name": "c49", - "type": { - "name": "Int64" - } - }, - { - "name": "c50", - "type": { - "name": "Int64" - } - }, - { - "name": "c51", - "type": { - "name": "Int64" - } - }, - { - "name": "c52", - "type": { - "name": "Int64" - } - }, - { - "name": "c53", - "type": { - "name": "Int64" - } - }, - { - "name": "c54", - "type": { - "name": "Int64" - } - }, - { - "name": "c55", - "type": { - "name": "Int64" - } - }, - { - "name": "c56", - "type": { - "name": "Int64" - } - }, - { - "name": "c57", - "type": { - "name": "Int64" - } - }, - { - "name": "c58", - "type": { - "name": "Int64" - } - }, - { - "name": "c59", - "type": { - "name": "Int64" - } - }, - { - "name": "c60", - "type": { - "name": "Int64" - } - }, - { - "name": "c61", - "type": { - "name": "Int64" - } - }, - { - "name": "c62", - "type": { - "name": "Int64" - } - }, - { - "name": "c63", - "type": { - "name": "Int64" - } - }, - { - "name": "c64", - "type": { - "name": "Int64" - } - }, - { - "name": "c65", - "type": { - "name": "Int64" - } - }, - { - "name": "c66", - "type": { - "name": "Int64" - } - }, - { - "name": "c67", - "type": { - "name": "Int64" - } - }, - { - "name": "c68", - "type": { - "name": "Int64" - } - }, - { - "name": "c69", - "type": { - "name": "Int64" - } - }, - { - "name": "c70", - "type": { - "name": "Int64" - } - }, - { - "name": "c71", - "type": { - "name": "Int64" - } - }, - { - "name": "c72", - "type": { - "name": "Int64" - } - }, - { - "name": "c73", - "type": { - "name": "Int64" - } - }, - { - "name": "c74", - "type": { - "name": "Int64" - } - }, - { - "name": "c75", - "type": { - "name": "Int64" - } - }, - { - "name": "c76", - "type": { - "name": "Int64" - } - }, - { - "name": "c77", - "type": { - "name": "Int64" - } - }, - { - "name": "c78", - "type": { - "name": "Int64" - } - }, - { - "name": "c79", - "type": { - "name": "Int64" - } - }, - { - "name": "c80", - "type": { - "name": "Int64" - } - }, - { - "name": "c81", - "type": { - "name": "Int64" - } - }, - { - "name": "c82", - "type": { - "name": "Int64" - } - }, - { - "name": "c83", - "type": { - "name": "Int64" - } - }, - { - "name": "c84", - "type": { - "name": "Int64" - } - }, - { - "name": "c85", - "type": { - "name": "Int64" - } - }, - { - "name": "c86", - "type": { - "name": "Int64" - } - }, - { - "name": "c87", - "type": { - "name": "Int64" - } - }, - { - "name": "c88", - "type": { - "name": "Int64" - } - }, - { - "name": "c89", - "type": { - "name": "Int64" - } - }, - { - "name": "c90", - "type": { - "name": "Int64" - } - }, - { - "name": "c91", - "type": { - "name": "Int64" - } - }, - { - "name": "c92", - "type": { - "name": "Int64" - } - }, - { - "name": "c93", - "type": { - "name": "Int64" - } - }, - { - "name": "c94", - "type": { - "name": "Int64" - } - }, - { - "name": "c95", - "type": { - "name": "Int64" - } - }, - { - "name": "c96", - "type": { - "name": "Int64" - } - }, - { - "name": "c97", - "type": { - "name": "Int64" - } - }, - { - "name": "c98", - "type": { - "name": "Int64" - } - }, - { - "name": "c99", - "type": { - "name": "Int64" - } - }, - { - "name": "c100", - "type": { - "name": "Int64" - } - }, - { - "name": "c101", - "type": { - "name": "Int64" - } - }, - { - "name": "c102", - "type": { - "name": "Int64" - } - }, - { - "name": "c103", - "type": { - "name": "Int64" - } - }, - { - "name": "c104", - "type": { - "name": "Int64" - } - }, - { - "name": "c105", - "type": { - "name": "Int64" - } - }, - { - "name": "c106", - "type": { - "name": "Int64" - } - }, - { - "name": "c107", - "type": { - "name": "Int64" - } - }, - { - "name": "c108", - "type": { - "name": "Int64" - } - }, - { - "name": "c109", - "type": { - "name": "Int64" - } - }, - { - "name": "c110", - "type": { - "name": "Int64" - } - }, - { - "name": "c111", - "type": { - "name": "Int64" - } - }, - { - "name": "c112", - "type": { - "name": "Int64" - } - }, - { - "name": "c113", - "type": { - "name": "Int64" - } - }, - { - "name": "c114", - "type": { - "name": "Int64" - } - }, - { - "name": "c115", - "type": { - "name": "Int64" - } - }, - { - "name": "c116", - "type": { - "name": "Int64" - } - }, - { - "name": "c117", - "type": { - "name": "Int64" - } - }, - { - "name": "c118", - "type": { - "name": "Int64" - } - }, - { - "name": "c119", - "type": { - "name": "Int64" - } - }, - { - "name": "c120", - "type": { - "name": "Int64" - } - }, - { - "name": "c121", - "type": { - "name": "Int64" - } - }, - { - "name": "c122", - "type": { - "name": "Int64" - } - }, - { - "name": "c123", - "type": { - "name": "Int64" - } - }, - { - "name": "c124", - "type": { - "name": "Int64" - } - }, - { - "name": "c125", - "type": { - "name": "Int64" - } - }, - { - "name": "c126", - "type": { - "name": "Int64" - } - }, - { - "name": "c127", - "type": { - "name": "Int64" - } - }, - { - "name": "c128", - "type": { - "name": "Int64" - } - }, - { - "name": "c129", - "type": { - "name": "Int64" - } - }, - { - "name": "c130", - "type": { - "name": "Int64" - } - }, - { - "name": "c131", - "type": { - "name": "Int64" - } - }, - { - "name": "c132", - "type": { - "name": "Int64" - } - }, - { - "name": "c133", - "type": { - "name": "Int64" - } - }, - { - "name": "c134", - "type": { - "name": "Int64" - } - }, - { - "name": "c135", - "type": { - "name": "Int64" - } - }, - { - "name": "c136", - "type": { - "name": "Int64" - } - }, - { - "name": "c137", - "type": { - "name": "Int64" - } - }, - { - "name": "c138", - "type": { - "name": "Int64" - } - }, - { - "name": "c139", - "type": { - "name": "Int64" - } - }, - { - "name": "c140", - "type": { - "name": "Int64" - } - }, - { - "name": "c141", - "type": { - "name": "Int64" - } - }, - { - "name": "c142", - "type": { - "name": "Int64" - } - }, - { - "name": "c143", - "type": { - "name": "Int64" - } - }, - { - "name": "c144", - "type": { - "name": "Int64" - } - }, - { - "name": "c145", - "type": { - "name": "Int64" - } - }, - { - "name": "c146", - "type": { - "name": "Int64" - } - }, - { - "name": "c147", - "type": { - "name": "Int64" - } - }, - { - "name": "c148", - "type": { - "name": "Int64" - } - }, - { - "name": "c149", - "type": { - "name": "Int64" - } - }, - { - "name": "c150", - "type": { - "name": "Int64" - } - }, - { - "name": "c151", - "type": { - "name": "Int64" - } - }, - { - "name": "c152", - "type": { - "name": "Int64" - } - }, - { - "name": "c153", - "type": { - "name": "Int64" - } - }, - { - "name": "c154", - "type": { - "name": "Int64" - } - }, - { - "name": "c155", - "type": { - "name": "Int64" - } - }, - { - "name": "c156", - "type": { - "name": "Int64" - } - }, - { - "name": "c157", - "type": { - "name": "Int64" - } - }, - { - "name": "c158", - "type": { - "name": "Int64" - } - }, - { - "name": "c159", - "type": { - "name": "Int64" - } - }, - { - "name": "c160", - "type": { - "name": "Int64" - } - }, - { - "name": "c161", - "type": { - "name": "Int64" - } - }, - { - "name": "c162", - "type": { - "name": "Int64" - } - }, - { - "name": "c163", - "type": { - "name": "Int64" - } - }, - { - "name": "c164", - "type": { - "name": "Int64" - } - }, - { - "name": "c165", - "type": { - "name": "Int64" - } - }, - { - "name": "c166", - "type": { - "name": "Int64" - } - }, - { - "name": "c167", - "type": { - "name": "Int64" - } - }, - { - "name": "c168", - "type": { - "name": "Int64" - } - }, - { - "name": "c169", - "type": { - "name": "Int64" - } - }, - { - "name": "c170", - "type": { - "name": "Int64" - } - }, - { - "name": "c171", - "type": { - "name": "Int64" - } - }, - { - "name": "c172", - "type": { - "name": "Int64" - } - }, - { - "name": "c173", - "type": { - "name": "Int64" - } - }, - { - "name": "c174", - "type": { - "name": "Int64" - } - }, - { - "name": "c175", - "type": { - "name": "Int64" - } - }, - { - "name": "c176", - "type": { - "name": "Int64" - } - }, - { - "name": "c177", - "type": { - "name": "Int64" - } - }, - { - "name": "c178", - "type": { - "name": "Int64" - } - }, - { - "name": "c179", - "type": { - "name": "Int64" - } - }, - { - "name": "c180", - "type": { - "name": "Int64" - } - }, - { - "name": "c181", - "type": { - "name": "Int64" - } - }, - { - "name": "c182", - "type": { - "name": "Int64" - } - }, - { - "name": "c183", - "type": { - "name": "Int64" - } - }, - { - "name": "c184", - "type": { - "name": "Int64" - } - }, - { - "name": "c185", - "type": { - "name": "Int64" - } - }, - { - "name": "c186", - "type": { - "name": "Int64" - } - }, - { - "name": "c187", - "type": { - "name": "Int64" - } - }, - { - "name": "c188", - "type": { - "name": "Int64" - } - }, - { - "name": "c189", - "type": { - "name": "Int64" - } - }, - { - "name": "c190", - "type": { - "name": "Int64" - } - }, - { - "name": "c191", - "type": { - "name": "Int64" - } - }, - { - "name": "c192", - "type": { - "name": "Int64" - } - }, - { - "name": "c193", - "type": { - "name": "Int64" - } - }, - { - "name": "c194", - "type": { - "name": "Int64" - } - }, - { - "name": "c195", - "type": { - "name": "Int64" - } - }, - { - "name": "c196", - "type": { - "name": "Int64" - } - }, - { - "name": "c197", - "type": { - "name": "Int64" - } - }, - { - "name": "c198", - "type": { - "name": "Int64" - } - }, - { - "name": "c199", - "type": { - "name": "Int64" - } - }, - { - "name": "c200", - "type": { - "name": "Int64" - } - }, - { - "name": "c201", - "type": { - "name": "Int64" - } - }, - { - "name": "c202", - "type": { - "name": "Int64" - } - }, - { - "name": "c203", - "type": { - "name": "Int64" - } - }, - { - "name": "c204", - "type": { - "name": "Int64" - } - }, - { - "name": "c205", - "type": { - "name": "Int64" - } - }, - { - "name": "c206", - "type": { - "name": "Int64" - } - }, - { - "name": "c207", - "type": { - "name": "Int64" - } - }, - { - "name": "c208", - "type": { - "name": "Int64" - } - }, - { - "name": "c209", - "type": { - "name": "Int64" - } - }, - { - "name": "c210", - "type": { - "name": "Int64" - } - }, - { - "name": "c211", - "type": { - "name": "Int64" - } - }, - { - "name": "c212", - "type": { - "name": "Int64" - } - }, - { - "name": "c213", - "type": { - "name": "Int64" - } - }, - { - "name": "c214", - "type": { - "name": "Int64" - } - }, - { - "name": "c215", - "type": { - "name": "Int64" - } - }, - { - "name": "c216", - "type": { - "name": "Int64" - } - }, - { - "name": "c217", - "type": { - "name": "Int64" - } - }, - { - "name": "c218", - "type": { - "name": "Int64" - } - }, - { - "name": "c219", - "type": { - "name": "Int64" - } - }, - { - "name": "c220", - "type": { - "name": "Int64" - } - }, - { - "name": "c221", - "type": { - "name": "Int64" - } - }, - { - "name": "c222", - "type": { - "name": "Int64" - } - }, - { - "name": "c223", - "type": { - "name": "Int64" - } - }, - { - "name": "c224", - "type": { - "name": "Int64" - } - }, - { - "name": "c225", - "type": { - "name": "Int64" - } - }, - { - "name": "c226", - "type": { - "name": "Int64" - } - }, - { - "name": "c227", - "type": { - "name": "Int64" - } - }, - { - "name": "c228", - "type": { - "name": "Int64" - } - }, - { - "name": "c229", - "type": { - "name": "Int64" - } - }, - { - "name": "c230", - "type": { - "name": "Int64" - } - }, - { - "name": "c231", - "type": { - "name": "Int64" - } - }, - { - "name": "c232", - "type": { - "name": "Int64" - } - }, - { - "name": "c233", - "type": { - "name": "Int64" - } - }, - { - "name": "c234", - "type": { - "name": "Int64" - } - }, - { - "name": "c235", - "type": { - "name": "Int64" - } - }, - { - "name": "c236", - "type": { - "name": "Int64" - } - }, - { - "name": "c237", - "type": { - "name": "Int64" - } - }, - { - "name": "c238", - "type": { - "name": "Int64" - } - }, - { - "name": "c239", - "type": { - "name": "Int64" - } - }, - { - "name": "c240", - "type": { - "name": "Int64" - } - }, - { - "name": "c241", - "type": { - "name": "Int64" - } - }, - { - "name": "c242", - "type": { - "name": "Int64" - } - }, - { - "name": "c243", - "type": { - "name": "Int64" - } - }, - { - "name": "c244", - "type": { - "name": "Int64" - } - }, - { - "name": "c245", - "type": { - "name": "Int64" - } - }, - { - "name": "c246", - "type": { - "name": "Int64" - } - }, - { - "name": "c247", - "type": { - "name": "Int64" - } - }, - { - "name": "c248", - "type": { - "name": "Int64" - } - }, - { - "name": "c249", - "type": { - "name": "Int64" - } - }, - { - "name": "c250", - "type": { - "name": "Int64" - } - }, - { - "name": "c251", - "type": { - "name": "Int64" - } - }, - { - "name": "c252", - "type": { - "name": "Int64" - } - }, - { - "name": "c253", - "type": { - "name": "Int64" - } - }, - { - "name": "c254", - "type": { - "name": "Int64" - } - }, - { - "name": "c255", - "type": { - "name": "Int64" - } - }, - { - "name": "c256", - "type": { - "name": "Int64" - } - }, - { - "name": "c257", - "type": { - "name": "Int64" - } - }, - { - "name": "c258", - "type": { - "name": "Int64" - } - }, - { - "name": "c259", - "type": { - "name": "Int64" - } - }, - { - "name": "c260", - "type": { - "name": "Int64" - } - }, - { - "name": "c261", - "type": { - "name": "Int64" - } - }, - { - "name": "c262", - "type": { - "name": "Int64" - } - }, - { - "name": "c263", - "type": { - "name": "Int64" - } - }, - { - "name": "c264", - "type": { - "name": "Int64" - } - }, - { - "name": "c265", - "type": { - "name": "Int64" - } - }, - { - "name": "c266", - "type": { - "name": "Int64" - } - }, - { - "name": "c267", - "type": { - "name": "Int64" - } - }, - { - "name": "c268", - "type": { - "name": "Int64" - } - }, - { - "name": "c269", - "type": { - "name": "Int64" - } - }, - { - "name": "c270", - "type": { - "name": "Int64" - } - }, - { - "name": "c271", - "type": { - "name": "Int64" - } - }, - { - "name": "c272", - "type": { - "name": "Int64" - } - }, - { - "name": "c273", - "type": { - "name": "Int64" - } - }, - { - "name": "c274", - "type": { - "name": "Int64" - } - }, - { - "name": "c275", - "type": { - "name": "Int64" - } - }, - { - "name": "c276", - "type": { - "name": "Int64" - } - }, - { - "name": "c277", - "type": { - "name": "Int64" - } - }, - { - "name": "c278", - "type": { - "name": "Int64" - } - }, - { - "name": "c279", - "type": { - "name": "Int64" - } - }, - { - "name": "c280", - "type": { - "name": "Int64" - } - }, - { - "name": "c281", - "type": { - "name": "Int64" - } - }, - { - "name": "c282", - "type": { - "name": "Int64" - } - }, - { - "name": "c283", - "type": { - "name": "Int64" - } - }, - { - "name": "c284", - "type": { - "name": "Int64" - } - }, - { - "name": "c285", - "type": { - "name": "Int64" - } - }, - { - "name": "c286", - "type": { - "name": "Int64" - } - }, - { - "name": "c287", - "type": { - "name": "Int64" - } - }, - { - "name": "c288", - "type": { - "name": "Int64" - } - }, - { - "name": "c289", - "type": { - "name": "Int64" - } - }, - { - "name": "c290", - "type": { - "name": "Int64" - } - }, - { - "name": "c291", - "type": { - "name": "Int64" - } - }, - { - "name": "c292", - "type": { - "name": "Int64" - } - }, - { - "name": "c293", - "type": { - "name": "Int64" - } - }, - { - "name": "c294", - "type": { - "name": "Int64" - } - }, - { - "name": "c295", - "type": { - "name": "Int64" - } - }, - { - "name": "c296", - "type": { - "name": "Int64" - } - }, - { - "name": "c297", - "type": { - "name": "Int64" - } - }, - { - "name": "c298", - "type": { - "name": "Int64" - } - }, - { - "name": "c299", - "type": { - "name": "Int64" - } - }, - { - "name": "c300", - "type": { - "name": "Int64" - } - }, - { - "name": "c301", - "type": { - "name": "Int64" - } - }, - { - "name": "c302", - "type": { - "name": "Int64" - } - }, - { - "name": "c303", - "type": { - "name": "Int64" - } - }, - { - "name": "c304", - "type": { - "name": "Int64" - } - }, - { - "name": "c305", - "type": { - "name": "Int64" - } - }, - { - "name": "c306", - "type": { - "name": "Int64" - } - }, - { - "name": "c307", - "type": { - "name": "Int64" - } - }, - { - "name": "c308", - "type": { - "name": "Int64" - } - }, - { - "name": "c309", - "type": { - "name": "Int64" - } - }, - { - "name": "c310", - "type": { - "name": "Int64" - } - }, - { - "name": "c311", - "type": { - "name": "Int64" - } - }, - { - "name": "c312", - "type": { - "name": "Int64" - } - }, - { - "name": "c313", - "type": { - "name": "Int64" - } - }, - { - "name": "c314", - "type": { - "name": "Int64" - } - }, - { - "name": "c315", - "type": { - "name": "Int64" - } - }, - { - "name": "c316", - "type": { - "name": "Int64" - } - }, - { - "name": "c317", - "type": { - "name": "Int64" - } - }, - { - "name": "c318", - "type": { - "name": "Int64" - } - }, - { - "name": "c319", - "type": { - "name": "Int64" - } - }, - { - "name": "c320", - "type": { - "name": "Int64" - } - }, - { - "name": "c321", - "type": { - "name": "Int64" - } - }, - { - "name": "c322", - "type": { - "name": "Int64" - } - }, - { - "name": "c323", - "type": { - "name": "Int64" - } - }, - { - "name": "c324", - "type": { - "name": "Int64" - } - }, - { - "name": "c325", - "type": { - "name": "Int64" - } - }, - { - "name": "c326", - "type": { - "name": "Int64" - } - }, - { - "name": "c327", - "type": { - "name": "Int64" - } - }, - { - "name": "c328", - "type": { - "name": "Int64" - } - }, - { - "name": "c329", - "type": { - "name": "Int64" - } - }, - { - "name": "c330", - "type": { - "name": "Int64" - } - }, - { - "name": "c331", - "type": { - "name": "Int64" - } - }, - { - "name": "c332", - "type": { - "name": "Int64" - } - }, - { - "name": "c333", - "type": { - "name": "Int64" - } - }, - { - "name": "c334", - "type": { - "name": "Int64" - } - }, - { - "name": "c335", - "type": { - "name": "Int64" - } - }, - { - "name": "c336", - "type": { - "name": "Int64" - } - }, - { - "name": "c337", - "type": { - "name": "Int64" - } - }, - { - "name": "c338", - "type": { - "name": "Int64" - } - }, - { - "name": "c339", - "type": { - "name": "Int64" - } - }, - { - "name": "c340", - "type": { - "name": "Int64" - } - }, - { - "name": "c341", - "type": { - "name": "Int64" - } - }, - { - "name": "c342", - "type": { - "name": "Int64" - } - }, - { - "name": "c343", - "type": { - "name": "Int64" - } - }, - { - "name": "c344", - "type": { - "name": "Int64" - } - }, - { - "name": "c345", - "type": { - "name": "Int64" - } - }, - { - "name": "c346", - "type": { - "name": "Int64" - } - }, - { - "name": "c347", - "type": { - "name": "Int64" - } - }, - { - "name": "c348", - "type": { - "name": "Int64" - } - }, - { - "name": "c349", - "type": { - "name": "Int64" - } - }, - { - "name": "c350", - "type": { - "name": "Int64" - } - }, - { - "name": "c351", - "type": { - "name": "Int64" - } - }, - { - "name": "c352", - "type": { - "name": "Int64" - } - }, - { - "name": "c353", - "type": { - "name": "Int64" - } - }, - { - "name": "c354", - "type": { - "name": "Int64" - } - }, - { - "name": "c355", - "type": { - "name": "Int64" - } - }, - { - "name": "c356", - "type": { - "name": "Int64" - } - }, - { - "name": "c357", - "type": { - "name": "Int64" - } - }, - { - "name": "c358", - "type": { - "name": "Int64" - } - }, - { - "name": "c359", - "type": { - "name": "Int64" - } - }, - { - "name": "c360", - "type": { - "name": "Int64" - } - }, - { - "name": "c361", - "type": { - "name": "Int64" - } - }, - { - "name": "c362", - "type": { - "name": "Int64" - } - }, - { - "name": "c363", - "type": { - "name": "Int64" - } - }, - { - "name": "c364", - "type": { - "name": "Int64" - } - }, - { - "name": "c365", - "type": { - "name": "Int64" - } - }, - { - "name": "c366", - "type": { - "name": "Int64" - } - }, - { - "name": "c367", - "type": { - "name": "Int64" - } - }, - { - "name": "c368", - "type": { - "name": "Int64" - } - }, - { - "name": "c369", - "type": { - "name": "Int64" - } - }, - { - "name": "c370", - "type": { - "name": "Int64" - } - }, - { - "name": "c371", - "type": { - "name": "Int64" - } - }, - { - "name": "c372", - "type": { - "name": "Int64" - } - }, - { - "name": "c373", - "type": { - "name": "Int64" - } - }, - { - "name": "c374", - "type": { - "name": "Int64" - } - }, - { - "name": "c375", - "type": { - "name": "Int64" - } - }, - { - "name": "c376", - "type": { - "name": "Int64" - } - }, - { - "name": "c377", - "type": { - "name": "Int64" - } - }, - { - "name": "c378", - "type": { - "name": "Int64" - } - }, - { - "name": "c379", - "type": { - "name": "Int64" - } - }, - { - "name": "c380", - "type": { - "name": "Int64" - } - }, - { - "name": "c381", - "type": { - "name": "Int64" - } - }, - { - "name": "c382", - "type": { - "name": "Int64" - } - }, - { - "name": "c383", - "type": { - "name": "Int64" - } - }, - { - "name": "c384", - "type": { - "name": "Int64" - } - }, - { - "name": "c385", - "type": { - "name": "Int64" - } - }, - { - "name": "c386", - "type": { - "name": "Int64" - } - }, - { - "name": "c387", - "type": { - "name": "Int64" - } - }, - { - "name": "c388", - "type": { - "name": "Int64" - } - }, - { - "name": "c389", - "type": { - "name": "Int64" - } - }, - { - "name": "c390", - "type": { - "name": "Int64" - } - }, - { - "name": "c391", - "type": { - "name": "Int64" - } - }, - { - "name": "c392", - "type": { - "name": "Int64" - } - }, - { - "name": "c393", - "type": { - "name": "Int64" - } - }, - { - "name": "c394", - "type": { - "name": "Int64" - } - }, - { - "name": "c395", - "type": { - "name": "Int64" - } - }, - { - "name": "c396", - "type": { - "name": "Int64" - } - }, - { - "name": "c397", - "type": { - "name": "Int64" - } - }, - { - "name": "c398", - "type": { - "name": "Int64" - } - }, - { - "name": "c399", - "type": { - "name": "Int64" - } - }, - { - "name": "c400", - "type": { - "name": "Int64" - } - }, - { - "name": "c401", - "type": { - "name": "Int64" - } - }, - { - "name": "c402", - "type": { - "name": "Int64" - } - }, - { - "name": "c403", - "type": { - "name": "Int64" - } - }, - { - "name": "c404", - "type": { - "name": "Int64" - } - }, - { - "name": "c405", - "type": { - "name": "Int64" - } - }, - { - "name": "c406", - "type": { - "name": "Int64" - } - }, - { - "name": "c407", - "type": { - "name": "Int64" - } - }, - { - "name": "c408", - "type": { - "name": "Int64" - } - }, - { - "name": "c409", - "type": { - "name": "Int64" - } - }, - { - "name": "c410", - "type": { - "name": "Int64" - } - }, - { - "name": "c411", - "type": { - "name": "Int64" - } - }, - { - "name": "c412", - "type": { - "name": "Int64" - } - }, - { - "name": "c413", - "type": { - "name": "Int64" - } - }, - { - "name": "c414", - "type": { - "name": "Int64" - } - }, - { - "name": "c415", - "type": { - "name": "Int64" - } - }, - { - "name": "c416", - "type": { - "name": "Int64" - } - }, - { - "name": "c417", - "type": { - "name": "Int64" - } - }, - { - "name": "c418", - "type": { - "name": "Int64" - } - }, - { - "name": "c419", - "type": { - "name": "Int64" - } - }, - { - "name": "c420", - "type": { - "name": "Int64" - } - }, - { - "name": "c421", - "type": { - "name": "Int64" - } - }, - { - "name": "c422", - "type": { - "name": "Int64" - } - }, - { - "name": "c423", - "type": { - "name": "Int64" - } - }, - { - "name": "c424", - "type": { - "name": "Int64" - } - }, - { - "name": "c425", - "type": { - "name": "Int64" - } - }, - { - "name": "c426", - "type": { - "name": "Int64" - } - }, - { - "name": "c427", - "type": { - "name": "Int64" - } - }, - { - "name": "c428", - "type": { - "name": "Int64" - } - }, - { - "name": "c429", - "type": { - "name": "Int64" - } - }, - { - "name": "c430", - "type": { - "name": "Int64" - } - }, - { - "name": "c431", - "type": { - "name": "Int64" - } - }, - { - "name": "c432", - "type": { - "name": "Int64" - } - }, - { - "name": "c433", - "type": { - "name": "Int64" - } - }, - { - "name": "c434", - "type": { - "name": "Int64" - } - }, - { - "name": "c435", - "type": { - "name": "Int64" - } - }, - { - "name": "c436", - "type": { - "name": "Int64" - } - }, - { - "name": "c437", - "type": { - "name": "Int64" - } - }, - { - "name": "c438", - "type": { - "name": "Int64" - } - }, - { - "name": "c439", - "type": { - "name": "Int64" - } - }, - { - "name": "c440", - "type": { - "name": "Int64" - } - }, - { - "name": "c441", - "type": { - "name": "Int64" - } - }, - { - "name": "c442", - "type": { - "name": "Int64" - } - }, - { - "name": "c443", - "type": { - "name": "Int64" - } - }, - { - "name": "c444", - "type": { - "name": "Int64" - } - }, - { - "name": "c445", - "type": { - "name": "Int64" - } - }, - { - "name": "c446", - "type": { - "name": "Int64" - } - }, - { - "name": "c447", - "type": { - "name": "Int64" - } - }, - { - "name": "c448", - "type": { - "name": "Int64" - } - }, - { - "name": "c449", - "type": { - "name": "Int64" - } - }, - { - "name": "c450", - "type": { - "name": "Int64" - } - }, - { - "name": "c451", - "type": { - "name": "Int64" - } - }, - { - "name": "c452", - "type": { - "name": "Int64" - } - }, - { - "name": "c453", - "type": { - "name": "Int64" - } - }, - { - "name": "c454", - "type": { - "name": "Int64" - } - }, - { - "name": "c455", - "type": { - "name": "Int64" - } - }, - { - "name": "c456", - "type": { - "name": "Int64" - } - }, - { - "name": "c457", - "type": { - "name": "Int64" - } - }, - { - "name": "c458", - "type": { - "name": "Int64" - } - }, - { - "name": "c459", - "type": { - "name": "Int64" - } - }, - { - "name": "c460", - "type": { - "name": "Int64" - } - }, - { - "name": "c461", - "type": { - "name": "Int64" - } - }, - { - "name": "c462", - "type": { - "name": "Int64" - } - }, - { - "name": "c463", - "type": { - "name": "Int64" - } - }, - { - "name": "c464", - "type": { - "name": "Int64" - } - }, - { - "name": "c465", - "type": { - "name": "Int64" - } - }, - { - "name": "c466", - "type": { - "name": "Int64" - } - }, - { - "name": "c467", - "type": { - "name": "Int64" - } - }, - { - "name": "c468", - "type": { - "name": "Int64" - } - }, - { - "name": "c469", - "type": { - "name": "Int64" - } - }, - { - "name": "c470", - "type": { - "name": "Int64" - } - }, - { - "name": "c471", - "type": { - "name": "Int64" - } - }, - { - "name": "c472", - "type": { - "name": "Int64" - } - }, - { - "name": "c473", - "type": { - "name": "Int64" - } - }, - { - "name": "c474", - "type": { - "name": "Int64" - } - }, - { - "name": "c475", - "type": { - "name": "Int64" - } - }, - { - "name": "c476", - "type": { - "name": "Int64" - } - }, - { - "name": "c477", - "type": { - "name": "Int64" - } - }, - { - "name": "c478", - "type": { - "name": "Int64" - } - }, - { - "name": "c479", - "type": { - "name": "Int64" - } - }, - { - "name": "c480", - "type": { - "name": "Int64" - } - }, - { - "name": "c481", - "type": { - "name": "Int64" - } - }, - { - "name": "c482", - "type": { - "name": "Int64" - } - }, - { - "name": "c483", - "type": { - "name": "Int64" - } - }, - { - "name": "c484", - "type": { - "name": "Int64" - } - }, - { - "name": "c485", - "type": { - "name": "Int64" - } - }, - { - "name": "c486", - "type": { - "name": "Int64" - } - }, - { - "name": "c487", - "type": { - "name": "Int64" - } - }, - { - "name": "c488", - "type": { - "name": "Int64" - } - }, - { - "name": "c489", - "type": { - "name": "Int64" - } - }, - { - "name": "c490", - "type": { - "name": "Int64" - } - }, - { - "name": "c491", - "type": { - "name": "Int64" - } - }, - { - "name": "c492", - "type": { - "name": "Int64" - } - }, - { - "name": "c493", - "type": { - "name": "Int64" - } - }, - { - "name": "c494", - "type": { - "name": "Int64" - } - }, - { - "name": "c495", - "type": { - "name": "Int64" - } - }, - { - "name": "c496", - "type": { - "name": "Int64" - } - }, - { - "name": "c497", - "type": { - "name": "Int64" - } - }, - { - "name": "c498", - "type": { - "name": "Int64" - } - }, - { - "name": "c499", - "type": { - "name": "Int64" - } - }, - { - "name": "c500", - "type": { - "name": "Int64" - } - }, - { - "name": "b1", - "type": { - "name": "Int64" - } - }, - { - "name": "b2", - "type": { - "name": "Int64" - } - }, - { - "name": "b3", - "type": { - "name": "Int64" - } - }, - { - "name": "b4", - "type": { - "name": "Int64" - } - }, - { - "name": "b5", - "type": { - "name": "Int64" - } - }, - { - "name": "b6", - "type": { - "name": "Int64" - } - }, - { - "name": "b7", - "type": { - "name": "Int64" - } - }, - { - "name": "b8", - "type": { - "name": "Int64" - } - }, - { - "name": "b9", - "type": { - "name": "Int64" - } - }, - { - "name": "b10", - "type": { - "name": "Int64" - } - }, - { - "name": "b11", - "type": { - "name": "Int64" - } - }, - { - "name": "b12", - "type": { - "name": "Int64" - } - }, - { - "name": "b13", - "type": { - "name": "Int64" - } - }, - { - "name": "b14", - "type": { - "name": "Int64" - } - }, - { - "name": "b15", - "type": { - "name": "Int64" - } - }, - { - "name": "b16", - "type": { - "name": "Int64" - } - }, - { - "name": "b17", - "type": { - "name": "Int64" - } - }, - { - "name": "b18", - "type": { - "name": "Int64" - } - }, - { - "name": "b19", - "type": { - "name": "Int64" - } - }, - { - "name": "b20", - "type": { - "name": "Int64" - } - }, - { - "name": "b21", - "type": { - "name": "Int64" - } - }, - { - "name": "b22", - "type": { - "name": "Int64" - } - }, - { - "name": "b23", - "type": { - "name": "Int64" - } - }, - { - "name": "b24", - "type": { - "name": "Int64" - } - }, - { - "name": "b25", - "type": { - "name": "Int64" - } - }, - { - "name": "b26", - "type": { - "name": "Int64" - } - }, - { - "name": "b27", - "type": { - "name": "Int64" - } - }, - { - "name": "b28", - "type": { - "name": "Int64" - } - }, - { - "name": "b29", - "type": { - "name": "Int64" - } - }, - { - "name": "b30", - "type": { - "name": "Int64" - } - }, - { - "name": "b31", - "type": { - "name": "Int64" - } - }, - { - "name": "b32", - "type": { - "name": "Int64" - } - }, - { - "name": "b33", - "type": { - "name": "Int64" - } - }, - { - "name": "b34", - "type": { - "name": "Int64" - } - }, - { - "name": "b35", - "type": { - "name": "Int64" - } - }, - { - "name": "b36", - "type": { - "name": "Int64" - } - }, - { - "name": "b37", - "type": { - "name": "Int64" - } - }, - { - "name": "b38", - "type": { - "name": "Int64" - } - }, - { - "name": "b39", - "type": { - "name": "Int64" - } - }, - { - "name": "b40", - "type": { - "name": "Int64" - } - }, - { - "name": "b41", - "type": { - "name": "Int64" - } - }, - { - "name": "b42", - "type": { - "name": "Int64" - } - }, - { - "name": "b43", - "type": { - "name": "Int64" - } - }, - { - "name": "b44", - "type": { - "name": "Int64" - } - }, - { - "name": "b45", - "type": { - "name": "Int64" - } - }, - { - "name": "b46", - "type": { - "name": "Int64" - } - }, - { - "name": "b47", - "type": { - "name": "Int64" - } - }, - { - "name": "b48", - "type": { - "name": "Int64" - } - }, - { - "name": "b49", - "type": { - "name": "Int64" - } - }, - { - "name": "b50", - "type": { - "name": "Int64" - } - }, - { - "name": "b51", - "type": { - "name": "Int64" - } - }, - { - "name": "b52", - "type": { - "name": "Int64" - } - }, - { - "name": "b53", - "type": { - "name": "Int64" - } - }, - { - "name": "b54", - "type": { - "name": "Int64" - } - }, - { - "name": "b55", - "type": { - "name": "Int64" - } - }, - { - "name": "b56", - "type": { - "name": "Int64" - } - }, - { - "name": "b57", - "type": { - "name": "Int64" - } - }, - { - "name": "b58", - "type": { - "name": "Int64" - } - }, - { - "name": "b59", - "type": { - "name": "Int64" - } - }, - { - "name": "b60", - "type": { - "name": "Int64" - } - }, - { - "name": "b61", - "type": { - "name": "Int64" - } - }, - { - "name": "b62", - "type": { - "name": "Int64" - } - }, - { - "name": "b63", - "type": { - "name": "Int64" - } - }, - { - "name": "b64", - "type": { - "name": "Int64" - } - }, - { - "name": "b65", - "type": { - "name": "Int64" - } - }, - { - "name": "b66", - "type": { - "name": "Int64" - } - }, - { - "name": "b67", - "type": { - "name": "Int64" - } - }, - { - "name": "b68", - "type": { - "name": "Int64" - } - }, - { - "name": "b69", - "type": { - "name": "Int64" - } - }, - { - "name": "b70", - "type": { - "name": "Int64" - } - }, - { - "name": "b71", - "type": { - "name": "Int64" - } - }, - { - "name": "b72", - "type": { - "name": "Int64" - } - }, - { - "name": "b73", - "type": { - "name": "Int64" - } - }, - { - "name": "b74", - "type": { - "name": "Int64" - } - }, - { - "name": "b75", - "type": { - "name": "Int64" - } - }, - { - "name": "b76", - "type": { - "name": "Int64" - } - }, - { - "name": "b77", - "type": { - "name": "Int64" - } - }, - { - "name": "b78", - "type": { - "name": "Int64" - } - }, - { - "name": "b79", - "type": { - "name": "Int64" - } - }, - { - "name": "b80", - "type": { - "name": "Int64" - } - }, - { - "name": "b81", - "type": { - "name": "Int64" - } - }, - { - "name": "b82", - "type": { - "name": "Int64" - } - }, - { - "name": "b83", - "type": { - "name": "Int64" - } - }, - { - "name": "b84", - "type": { - "name": "Int64" - } - }, - { - "name": "b85", - "type": { - "name": "Int64" - } - }, - { - "name": "b86", - "type": { - "name": "Int64" - } - }, - { - "name": "b87", - "type": { - "name": "Int64" - } - }, - { - "name": "b88", - "type": { - "name": "Int64" - } - }, - { - "name": "b89", - "type": { - "name": "Int64" - } - }, - { - "name": "b90", - "type": { - "name": "Int64" - } - }, - { - "name": "b91", - "type": { - "name": "Int64" - } - }, - { - "name": "b92", - "type": { - "name": "Int64" - } - }, - { - "name": "b93", - "type": { - "name": "Int64" - } - }, - { - "name": "b94", - "type": { - "name": "Int64" - } - }, - { - "name": "b95", - "type": { - "name": "Int64" - } - }, - { - "name": "b96", - "type": { - "name": "Int64" - } - }, - { - "name": "b97", - "type": { - "name": "Int64" - } - }, - { - "name": "b98", - "type": { - "name": "Int64" - } - }, - { - "name": "b99", - "type": { - "name": "Int64" - } - }, - { - "name": "b100", - "type": { - "name": "Int64" - } - }, - { - "name": "b101", - "type": { - "name": "Int64" - } - }, - { - "name": "b102", - "type": { - "name": "Int64" - } - }, - { - "name": "b103", - "type": { - "name": "Int64" - } - }, - { - "name": "b104", - "type": { - "name": "Int64" - } - }, - { - "name": "b105", - "type": { - "name": "Int64" - } - }, - { - "name": "b106", - "type": { - "name": "Int64" - } - }, - { - "name": "b107", - "type": { - "name": "Int64" - } - }, - { - "name": "b108", - "type": { - "name": "Int64" - } - }, - { - "name": "b109", - "type": { - "name": "Int64" - } - }, - { - "name": "b110", - "type": { - "name": "Int64" - } - }, - { - "name": "b111", - "type": { - "name": "Int64" - } - }, - { - "name": "b112", - "type": { - "name": "Int64" - } - }, - { - "name": "b113", - "type": { - "name": "Int64" - } - }, - { - "name": "b114", - "type": { - "name": "Int64" - } - }, - { - "name": "b115", - "type": { - "name": "Int64" - } - }, - { - "name": "b116", - "type": { - "name": "Int64" - } - }, - { - "name": "b117", - "type": { - "name": "Int64" - } - }, - { - "name": "b118", - "type": { - "name": "Int64" - } - }, - { - "name": "b119", - "type": { - "name": "Int64" - } - }, - { - "name": "b120", - "type": { - "name": "Int64" - } - }, - { - "name": "b121", - "type": { - "name": "Int64" - } - }, - { - "name": "b122", - "type": { - "name": "Int64" - } - }, - { - "name": "b123", - "type": { - "name": "Int64" - } - }, - { - "name": "b124", - "type": { - "name": "Int64" - } - }, - { - "name": "b125", - "type": { - "name": "Int64" - } - }, - { - "name": "b126", - "type": { - "name": "Int64" - } - }, - { - "name": "b127", - "type": { - "name": "Int64" - } - }, - { - "name": "b128", - "type": { - "name": "Int64" - } - }, - { - "name": "b129", - "type": { - "name": "Int64" - } - }, - { - "name": "b130", - "type": { - "name": "Int64" - } - }, - { - "name": "b131", - "type": { - "name": "Int64" - } - }, - { - "name": "b132", - "type": { - "name": "Int64" - } - }, - { - "name": "b133", - "type": { - "name": "Int64" - } - }, - { - "name": "b134", - "type": { - "name": "Int64" - } - }, - { - "name": "b135", - "type": { - "name": "Int64" - } - }, - { - "name": "b136", - "type": { - "name": "Int64" - } - }, - { - "name": "b137", - "type": { - "name": "Int64" - } - }, - { - "name": "b138", - "type": { - "name": "Int64" - } - }, - { - "name": "b139", - "type": { - "name": "Int64" - } - }, - { - "name": "b140", - "type": { - "name": "Int64" - } - }, - { - "name": "b141", - "type": { - "name": "Int64" - } - }, - { - "name": "b142", - "type": { - "name": "Int64" - } - }, - { - "name": "b143", - "type": { - "name": "Int64" - } - }, - { - "name": "b144", - "type": { - "name": "Int64" - } - }, - { - "name": "b145", - "type": { - "name": "Int64" - } - }, - { - "name": "b146", - "type": { - "name": "Int64" - } - }, - { - "name": "b147", - "type": { - "name": "Int64" - } - }, - { - "name": "b148", - "type": { - "name": "Int64" - } - }, - { - "name": "b149", - "type": { - "name": "Int64" - } - }, - { - "name": "b150", - "type": { - "name": "Int64" - } - }, - { - "name": "b151", - "type": { - "name": "Int64" - } - }, - { - "name": "b152", - "type": { - "name": "Int64" - } - }, - { - "name": "b153", - "type": { - "name": "Int64" - } - }, - { - "name": "b154", - "type": { - "name": "Int64" - } - }, - { - "name": "b155", - "type": { - "name": "Int64" - } - }, - { - "name": "b156", - "type": { - "name": "Int64" - } - }, - { - "name": "b157", - "type": { - "name": "Int64" - } - }, - { - "name": "b158", - "type": { - "name": "Int64" - } - }, - { - "name": "b159", - "type": { - "name": "Int64" - } - }, - { - "name": "b160", - "type": { - "name": "Int64" - } - }, - { - "name": "b161", - "type": { - "name": "Int64" - } - }, - { - "name": "b162", - "type": { - "name": "Int64" - } - }, - { - "name": "b163", - "type": { - "name": "Int64" - } - }, - { - "name": "b164", - "type": { - "name": "Int64" - } - }, - { - "name": "b165", - "type": { - "name": "Int64" - } - }, - { - "name": "b166", - "type": { - "name": "Int64" - } - }, - { - "name": "b167", - "type": { - "name": "Int64" - } - }, - { - "name": "b168", - "type": { - "name": "Int64" - } - }, - { - "name": "b169", - "type": { - "name": "Int64" - } - }, - { - "name": "b170", - "type": { - "name": "Int64" - } - }, - { - "name": "b171", - "type": { - "name": "Int64" - } - }, - { - "name": "b172", - "type": { - "name": "Int64" - } - }, - { - "name": "b173", - "type": { - "name": "Int64" - } - }, - { - "name": "b174", - "type": { - "name": "Int64" - } - }, - { - "name": "b175", - "type": { - "name": "Int64" - } - }, - { - "name": "b176", - "type": { - "name": "Int64" - } - }, - { - "name": "b177", - "type": { - "name": "Int64" - } - }, - { - "name": "b178", - "type": { - "name": "Int64" - } - }, - { - "name": "b179", - "type": { - "name": "Int64" - } - }, - { - "name": "b180", - "type": { - "name": "Int64" - } - }, - { - "name": "b181", - "type": { - "name": "Int64" - } - }, - { - "name": "b182", - "type": { - "name": "Int64" - } - }, - { - "name": "b183", - "type": { - "name": "Int64" - } - }, - { - "name": "b184", - "type": { - "name": "Int64" - } - }, - { - "name": "b185", - "type": { - "name": "Int64" - } - }, - { - "name": "b186", - "type": { - "name": "Int64" - } - }, - { - "name": "b187", - "type": { - "name": "Int64" - } - }, - { - "name": "b188", - "type": { - "name": "Int64" - } - }, - { - "name": "b189", - "type": { - "name": "Int64" - } - }, - { - "name": "b190", - "type": { - "name": "Int64" - } - }, - { - "name": "b191", - "type": { - "name": "Int64" - } - }, - { - "name": "b192", - "type": { - "name": "Int64" - } - }, - { - "name": "b193", - "type": { - "name": "Int64" - } - }, - { - "name": "b194", - "type": { - "name": "Int64" - } - }, - { - "name": "b195", - "type": { - "name": "Int64" - } - }, - { - "name": "b196", - "type": { - "name": "Int64" - } - }, - { - "name": "b197", - "type": { - "name": "Int64" - } - }, - { - "name": "b198", - "type": { - "name": "Int64" - } - }, - { - "name": "b199", - "type": { - "name": "Int64" - } - }, - { - "name": "b200", - "type": { - "name": "Int64" - } - }, - { - "name": "b201", - "type": { - "name": "Int64" - } - }, - { - "name": "b202", - "type": { - "name": "Int64" - } - }, - { - "name": "b203", - "type": { - "name": "Int64" - } - }, - { - "name": "b204", - "type": { - "name": "Int64" - } - }, - { - "name": "b205", - "type": { - "name": "Int64" - } - }, - { - "name": "b206", - "type": { - "name": "Int64" - } - }, - { - "name": "b207", - "type": { - "name": "Int64" - } - }, - { - "name": "b208", - "type": { - "name": "Int64" - } - }, - { - "name": "b209", - "type": { - "name": "Int64" - } - }, - { - "name": "b210", - "type": { - "name": "Int64" - } - }, - { - "name": "b211", - "type": { - "name": "Int64" - } - }, - { - "name": "b212", - "type": { - "name": "Int64" - } - }, - { - "name": "b213", - "type": { - "name": "Int64" - } - }, - { - "name": "b214", - "type": { - "name": "Int64" - } - }, - { - "name": "b215", - "type": { - "name": "Int64" - } - }, - { - "name": "b216", - "type": { - "name": "Int64" - } - }, - { - "name": "b217", - "type": { - "name": "Int64" - } - }, - { - "name": "b218", - "type": { - "name": "Int64" - } - }, - { - "name": "b219", - "type": { - "name": "Int64" - } - }, - { - "name": "b220", - "type": { - "name": "Int64" - } - }, - { - "name": "b221", - "type": { - "name": "Int64" - } - }, - { - "name": "b222", - "type": { - "name": "Int64" - } - }, - { - "name": "b223", - "type": { - "name": "Int64" - } - }, - { - "name": "b224", - "type": { - "name": "Int64" - } - }, - { - "name": "b225", - "type": { - "name": "Int64" - } - }, - { - "name": "b226", - "type": { - "name": "Int64" - } - }, - { - "name": "b227", - "type": { - "name": "Int64" - } - }, - { - "name": "b228", - "type": { - "name": "Int64" - } - }, - { - "name": "b229", - "type": { - "name": "Int64" - } - }, - { - "name": "b230", - "type": { - "name": "Int64" - } - }, - { - "name": "b231", - "type": { - "name": "Int64" - } - }, - { - "name": "b232", - "type": { - "name": "Int64" - } - }, - { - "name": "b233", - "type": { - "name": "Int64" - } - }, - { - "name": "b234", - "type": { - "name": "Int64" - } - }, - { - "name": "b235", - "type": { - "name": "Int64" - } - }, - { - "name": "b236", - "type": { - "name": "Int64" - } - }, - { - "name": "b237", - "type": { - "name": "Int64" - } - }, - { - "name": "b238", - "type": { - "name": "Int64" - } - }, - { - "name": "b239", - "type": { - "name": "Int64" - } - }, - { - "name": "b240", - "type": { - "name": "Int64" - } - }, - { - "name": "b241", - "type": { - "name": "Int64" - } - }, - { - "name": "b242", - "type": { - "name": "Int64" - } - }, - { - "name": "b243", - "type": { - "name": "Int64" - } - }, - { - "name": "b244", - "type": { - "name": "Int64" - } - }, - { - "name": "b245", - "type": { - "name": "Int64" - } - }, - { - "name": "b246", - "type": { - "name": "Int64" - } - }, - { - "name": "b247", - "type": { - "name": "Int64" - } - }, - { - "name": "b248", - "type": { - "name": "Int64" - } - }, - { - "name": "b249", - "type": { - "name": "Int64" - } - }, - { - "name": "b250", - "type": { - "name": "Int64" - } - }, - { - "name": "b251", - "type": { - "name": "Int64" - } - }, - { - "name": "b252", - "type": { - "name": "Int64" - } - }, - { - "name": "b253", - "type": { - "name": "Int64" - } - }, - { - "name": "b254", - "type": { - "name": "Int64" - } - }, - { - "name": "b255", - "type": { - "name": "Int64" - } - }, - { - "name": "b256", - "type": { - "name": "Int64" - } - }, - { - "name": "b257", - "type": { - "name": "Int64" - } - }, - { - "name": "b258", - "type": { - "name": "Int64" - } - }, - { - "name": "b259", - "type": { - "name": "Int64" - } - }, - { - "name": "b260", - "type": { - "name": "Int64" - } - }, - { - "name": "b261", - "type": { - "name": "Int64" - } - }, - { - "name": "b262", - "type": { - "name": "Int64" - } - }, - { - "name": "b263", - "type": { - "name": "Int64" - } - }, - { - "name": "b264", - "type": { - "name": "Int64" - } - }, - { - "name": "b265", - "type": { - "name": "Int64" - } - }, - { - "name": "b266", - "type": { - "name": "Int64" - } - }, - { - "name": "b267", - "type": { - "name": "Int64" - } - }, - { - "name": "b268", - "type": { - "name": "Int64" - } - }, - { - "name": "b269", - "type": { - "name": "Int64" - } - }, - { - "name": "b270", - "type": { - "name": "Int64" - } - }, - { - "name": "b271", - "type": { - "name": "Int64" - } - }, - { - "name": "b272", - "type": { - "name": "Int64" - } - }, - { - "name": "b273", - "type": { - "name": "Int64" - } - }, - { - "name": "b274", - "type": { - "name": "Int64" - } - }, - { - "name": "b275", - "type": { - "name": "Int64" - } - }, - { - "name": "b276", - "type": { - "name": "Int64" - } - }, - { - "name": "b277", - "type": { - "name": "Int64" - } - }, - { - "name": "b278", - "type": { - "name": "Int64" - } - }, - { - "name": "b279", - "type": { - "name": "Int64" - } - }, - { - "name": "b280", - "type": { - "name": "Int64" - } - }, - { - "name": "b281", - "type": { - "name": "Int64" - } - }, - { - "name": "b282", - "type": { - "name": "Int64" - } - }, - { - "name": "b283", - "type": { - "name": "Int64" - } - }, - { - "name": "b284", - "type": { - "name": "Int64" - } - }, - { - "name": "b285", - "type": { - "name": "Int64" - } - }, - { - "name": "b286", - "type": { - "name": "Int64" - } - }, - { - "name": "b287", - "type": { - "name": "Int64" - } - }, - { - "name": "b288", - "type": { - "name": "Int64" - } - }, - { - "name": "b289", - "type": { - "name": "Int64" - } - }, - { - "name": "b290", - "type": { - "name": "Int64" - } - }, - { - "name": "b291", - "type": { - "name": "Int64" - } - }, - { - "name": "b292", - "type": { - "name": "Int64" - } - }, - { - "name": "b293", - "type": { - "name": "Int64" - } - }, - { - "name": "b294", - "type": { - "name": "Int64" - } - }, - { - "name": "b295", - "type": { - "name": "Int64" - } - }, - { - "name": "b296", - "type": { - "name": "Int64" - } - }, - { - "name": "b297", - "type": { - "name": "Int64" - } - }, - { - "name": "b298", - "type": { - "name": "Int64" - } - }, - { - "name": "b299", - "type": { - "name": "Int64" - } - }, - { - "name": "b300", - "type": { - "name": "Int64" - } - }, - { - "name": "b301", - "type": { - "name": "Int64" - } - }, - { - "name": "b302", - "type": { - "name": "Int64" - } - }, - { - "name": "b303", - "type": { - "name": "Int64" - } - }, - { - "name": "b304", - "type": { - "name": "Int64" - } - }, - { - "name": "b305", - "type": { - "name": "Int64" - } - }, - { - "name": "b306", - "type": { - "name": "Int64" - } - }, - { - "name": "b307", - "type": { - "name": "Int64" - } - }, - { - "name": "b308", - "type": { - "name": "Int64" - } - }, - { - "name": "b309", - "type": { - "name": "Int64" - } - }, - { - "name": "b310", - "type": { - "name": "Int64" - } - }, - { - "name": "b311", - "type": { - "name": "Int64" - } - }, - { - "name": "b312", - "type": { - "name": "Int64" - } - }, - { - "name": "b313", - "type": { - "name": "Int64" - } - }, - { - "name": "b314", - "type": { - "name": "Int64" - } - }, - { - "name": "b315", - "type": { - "name": "Int64" - } - }, - { - "name": "b316", - "type": { - "name": "Int64" - } - }, - { - "name": "b317", - "type": { - "name": "Int64" - } - }, - { - "name": "b318", - "type": { - "name": "Int64" - } - }, - { - "name": "b319", - "type": { - "name": "Int64" - } - }, - { - "name": "b320", - "type": { - "name": "Int64" - } - }, - { - "name": "b321", - "type": { - "name": "Int64" - } - }, - { - "name": "b322", - "type": { - "name": "Int64" - } - }, - { - "name": "b323", - "type": { - "name": "Int64" - } - }, - { - "name": "b324", - "type": { - "name": "Int64" - } - }, - { - "name": "b325", - "type": { - "name": "Int64" - } - }, - { - "name": "b326", - "type": { - "name": "Int64" - } - }, - { - "name": "b327", - "type": { - "name": "Int64" - } - }, - { - "name": "b328", - "type": { - "name": "Int64" - } - }, - { - "name": "b329", - "type": { - "name": "Int64" - } - }, - { - "name": "b330", - "type": { - "name": "Int64" - } - }, - { - "name": "b331", - "type": { - "name": "Int64" - } - }, - { - "name": "b332", - "type": { - "name": "Int64" - } - }, - { - "name": "b333", - "type": { - "name": "Int64" - } - }, - { - "name": "b334", - "type": { - "name": "Int64" - } - }, - { - "name": "b335", - "type": { - "name": "Int64" - } - }, - { - "name": "b336", - "type": { - "name": "Int64" - } - }, - { - "name": "b337", - "type": { - "name": "Int64" - } - }, - { - "name": "b338", - "type": { - "name": "Int64" - } - }, - { - "name": "b339", - "type": { - "name": "Int64" - } - }, - { - "name": "b340", - "type": { - "name": "Int64" - } - }, - { - "name": "b341", - "type": { - "name": "Int64" - } - }, - { - "name": "b342", - "type": { - "name": "Int64" - } - }, - { - "name": "b343", - "type": { - "name": "Int64" - } - }, - { - "name": "b344", - "type": { - "name": "Int64" - } - }, - { - "name": "b345", - "type": { - "name": "Int64" - } - }, - { - "name": "b346", - "type": { - "name": "Int64" - } - }, - { - "name": "b347", - "type": { - "name": "Int64" - } - }, - { - "name": "b348", - "type": { - "name": "Int64" - } - }, - { - "name": "b349", - "type": { - "name": "Int64" - } - }, - { - "name": "b350", - "type": { - "name": "Int64" - } - }, - { - "name": "b351", - "type": { - "name": "Int64" - } - }, - { - "name": "b352", - "type": { - "name": "Int64" - } - }, - { - "name": "b353", - "type": { - "name": "Int64" - } - }, - { - "name": "b354", - "type": { - "name": "Int64" - } - }, - { - "name": "b355", - "type": { - "name": "Int64" - } - }, - { - "name": "b356", - "type": { - "name": "Int64" - } - }, - { - "name": "b357", - "type": { - "name": "Int64" - } - }, - { - "name": "b358", - "type": { - "name": "Int64" - } - }, - { - "name": "b359", - "type": { - "name": "Int64" - } - }, - { - "name": "b360", - "type": { - "name": "Int64" - } - }, - { - "name": "b361", - "type": { - "name": "Int64" - } - }, - { - "name": "b362", - "type": { - "name": "Int64" - } - }, - { - "name": "b363", - "type": { - "name": "Int64" - } - }, - { - "name": "b364", - "type": { - "name": "Int64" - } - }, - { - "name": "b365", - "type": { - "name": "Int64" - } - }, - { - "name": "b366", - "type": { - "name": "Int64" - } - }, - { - "name": "b367", - "type": { - "name": "Int64" - } - }, - { - "name": "b368", - "type": { - "name": "Int64" - } - }, - { - "name": "b369", - "type": { - "name": "Int64" - } - }, - { - "name": "b370", - "type": { - "name": "Int64" - } - }, - { - "name": "b371", - "type": { - "name": "Int64" - } - }, - { - "name": "b372", - "type": { - "name": "Int64" - } - }, - { - "name": "b373", - "type": { - "name": "Int64" - } - }, - { - "name": "b374", - "type": { - "name": "Int64" - } - }, - { - "name": "b375", - "type": { - "name": "Int64" - } - }, - { - "name": "b376", - "type": { - "name": "Int64" - } - }, - { - "name": "b377", - "type": { - "name": "Int64" - } - }, - { - "name": "b378", - "type": { - "name": "Int64" - } - }, - { - "name": "b379", - "type": { - "name": "Int64" - } - }, - { - "name": "b380", - "type": { - "name": "Int64" - } - }, - { - "name": "b381", - "type": { - "name": "Int64" - } - }, - { - "name": "b382", - "type": { - "name": "Int64" - } - }, - { - "name": "b383", - "type": { - "name": "Int64" - } - }, - { - "name": "b384", - "type": { - "name": "Int64" - } - }, - { - "name": "b385", - "type": { - "name": "Int64" - } - }, - { - "name": "b386", - "type": { - "name": "Int64" - } - }, - { - "name": "b387", - "type": { - "name": "Int64" - } - }, - { - "name": "b388", - "type": { - "name": "Int64" - } - }, - { - "name": "b389", - "type": { - "name": "Int64" - } - }, - { - "name": "b390", - "type": { - "name": "Int64" - } - }, - { - "name": "b391", - "type": { - "name": "Int64" - } - }, - { - "name": "b392", - "type": { - "name": "Int64" - } - }, - { - "name": "b393", - "type": { - "name": "Int64" - } - }, - { - "name": "b394", - "type": { - "name": "Int64" - } - }, - { - "name": "b395", - "type": { - "name": "Int64" - } - }, - { - "name": "b396", - "type": { - "name": "Int64" - } - }, - { - "name": "b397", - "type": { - "name": "Int64" - } - }, - { - "name": "b398", - "type": { - "name": "Int64" - } - }, - { - "name": "b399", - "type": { - "name": "Int64" - } - }, - { - "name": "b400", - "type": { - "name": "Int64" - } - }, - { - "name": "b401", - "type": { - "name": "Int64" - } - }, - { - "name": "b402", - "type": { - "name": "Int64" - } - }, - { - "name": "b403", - "type": { - "name": "Int64" - } - }, - { - "name": "b404", - "type": { - "name": "Int64" - } - }, - { - "name": "b405", - "type": { - "name": "Int64" - } - }, - { - "name": "b406", - "type": { - "name": "Int64" - } - }, - { - "name": "b407", - "type": { - "name": "Int64" - } - }, - { - "name": "b408", - "type": { - "name": "Int64" - } - }, - { - "name": "b409", - "type": { - "name": "Int64" - } - }, - { - "name": "b410", - "type": { - "name": "Int64" - } - }, - { - "name": "b411", - "type": { - "name": "Int64" - } - }, - { - "name": "b412", - "type": { - "name": "Int64" - } - }, - { - "name": "b413", - "type": { - "name": "Int64" - } - }, - { - "name": "b414", - "type": { - "name": "Int64" - } - }, - { - "name": "b415", - "type": { - "name": "Int64" - } - }, - { - "name": "b416", - "type": { - "name": "Int64" - } - }, - { - "name": "b417", - "type": { - "name": "Int64" - } - }, - { - "name": "b418", - "type": { - "name": "Int64" - } - }, - { - "name": "b419", - "type": { - "name": "Int64" - } - }, - { - "name": "b420", - "type": { - "name": "Int64" - } - }, - { - "name": "b421", - "type": { - "name": "Int64" - } - }, - { - "name": "b422", - "type": { - "name": "Int64" - } - }, - { - "name": "b423", - "type": { - "name": "Int64" - } - }, - { - "name": "b424", - "type": { - "name": "Int64" - } - }, - { - "name": "b425", - "type": { - "name": "Int64" - } - }, - { - "name": "b426", - "type": { - "name": "Int64" - } - }, - { - "name": "b427", - "type": { - "name": "Int64" - } - }, - { - "name": "b428", - "type": { - "name": "Int64" - } - }, - { - "name": "b429", - "type": { - "name": "Int64" - } - }, - { - "name": "b430", - "type": { - "name": "Int64" - } - }, - { - "name": "b431", - "type": { - "name": "Int64" - } - }, - { - "name": "b432", - "type": { - "name": "Int64" - } - }, - { - "name": "b433", - "type": { - "name": "Int64" - } - }, - { - "name": "b434", - "type": { - "name": "Int64" - } - }, - { - "name": "b435", - "type": { - "name": "Int64" - } - }, - { - "name": "b436", - "type": { - "name": "Int64" - } - }, - { - "name": "b437", - "type": { - "name": "Int64" - } - }, - { - "name": "b438", - "type": { - "name": "Int64" - } - }, - { - "name": "b439", - "type": { - "name": "Int64" - } - }, - { - "name": "b440", - "type": { - "name": "Int64" - } - }, - { - "name": "b441", - "type": { - "name": "Int64" - } - }, - { - "name": "b442", - "type": { - "name": "Int64" - } - }, - { - "name": "b443", - "type": { - "name": "Int64" - } - }, - { - "name": "b444", - "type": { - "name": "Int64" - } - }, - { - "name": "b445", - "type": { - "name": "Int64" - } - }, - { - "name": "b446", - "type": { - "name": "Int64" - } - }, - { - "name": "b447", - "type": { - "name": "Int64" - } - }, - { - "name": "b448", - "type": { - "name": "Int64" - } - }, - { - "name": "b449", - "type": { - "name": "Int64" - } - }, - { - "name": "b450", - "type": { - "name": "Int64" - } - }, - { - "name": "b451", - "type": { - "name": "Int64" - } - }, - { - "name": "b452", - "type": { - "name": "Int64" - } - }, - { - "name": "b453", - "type": { - "name": "Int64" - } - }, - { - "name": "b454", - "type": { - "name": "Int64" - } - }, - { - "name": "b455", - "type": { - "name": "Int64" - } - }, - { - "name": "b456", - "type": { - "name": "Int64" - } - }, - { - "name": "b457", - "type": { - "name": "Int64" - } - }, - { - "name": "b458", - "type": { - "name": "Int64" - } - }, - { - "name": "b459", - "type": { - "name": "Int64" - } - }, - { - "name": "b460", - "type": { - "name": "Int64" - } - }, - { - "name": "b461", - "type": { - "name": "Int64" - } - }, - { - "name": "b462", - "type": { - "name": "Int64" - } - }, - { - "name": "b463", - "type": { - "name": "Int64" - } - }, - { - "name": "b464", - "type": { - "name": "Int64" - } - }, - { - "name": "b465", - "type": { - "name": "Int64" - } - }, - { - "name": "b466", - "type": { - "name": "Int64" - } - }, - { - "name": "b467", - "type": { - "name": "Int64" - } - }, - { - "name": "b468", - "type": { - "name": "Int64" - } - }, - { - "name": "b469", - "type": { - "name": "Int64" - } - }, - { - "name": "b470", - "type": { - "name": "Int64" - } - }, - { - "name": "b471", - "type": { - "name": "Int64" - } - }, - { - "name": "b472", - "type": { - "name": "Int64" - } - }, - { - "name": "b473", - "type": { - "name": "Int64" - } - }, - { - "name": "b474", - "type": { - "name": "Int64" - } - }, - { - "name": "b475", - "type": { - "name": "Int64" - } - }, - { - "name": "b476", - "type": { - "name": "Int64" - } - }, - { - "name": "b477", - "type": { - "name": "Int64" - } - }, - { - "name": "b478", - "type": { - "name": "Int64" - } - }, - { - "name": "b479", - "type": { - "name": "Int64" - } - }, - { - "name": "b480", - "type": { - "name": "Int64" - } - }, - { - "name": "b481", - "type": { - "name": "Int64" - } - }, - { - "name": "b482", - "type": { - "name": "Int64" - } - }, - { - "name": "b483", - "type": { - "name": "Int64" - } - }, - { - "name": "b484", - "type": { - "name": "Int64" - } - }, - { - "name": "b485", - "type": { - "name": "Int64" - } - }, - { - "name": "b486", - "type": { - "name": "Int64" - } - }, - { - "name": "b487", - "type": { - "name": "Int64" - } - }, - { - "name": "b488", - "type": { - "name": "Int64" - } - }, - { - "name": "b489", - "type": { - "name": "Int64" - } - }, - { - "name": "b490", - "type": { - "name": "Int64" - } - }, - { - "name": "b491", - "type": { - "name": "Int64" - } - }, - { - "name": "b492", - "type": { - "name": "Int64" - } - }, - { - "name": "b493", - "type": { - "name": "Int64" - } - }, - { - "name": "b494", - "type": { - "name": "Int64" - } - }, - { - "name": "b495", - "type": { - "name": "Int64" - } - }, - { - "name": "b496", - "type": { - "name": "Int64" - } - }, - { - "name": "b497", - "type": { - "name": "Int64" - } - }, - { - "name": "b498", - "type": { - "name": "Int64" - } - }, - { - "name": "b499", - "type": { - "name": "Int64" - } - }, - { - "name": "b500", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03164_create_as_default/ast.json b/parser/testdata/03164_create_as_default/ast.json deleted file mode 100644 index 84d9f19838..0000000000 --- a/parser/testdata/03164_create_as_default/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src_table", - "tables": [ - { - "table": "src_table" - } - ] -} diff --git a/parser/testdata/03164_early_constant_folding_analyzer/ast.json b/parser/testdata/03164_early_constant_folding_analyzer/ast.json deleted file mode 100644 index 67c77eb78e..0000000000 --- a/parser/testdata/03164_early_constant_folding_analyzer/ast.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "table": "checks", - "columns": [ - { - "name": "pull_request_number", - "type": { - "name": "UInt32" - } - }, - { - "name": "commit_sha", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "check_name", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "check_status", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "check_duration_ms", - "type": { - "name": "UInt64" - } - }, - { - "name": "check_start_time", - "type": { - "name": "DateTime" - } - }, - { - "name": "test_name", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "test_status", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "test_duration_ms", - "type": { - "name": "UInt64" - } - }, - { - "name": "report_url", - "type": { - "name": "String" - } - }, - { - "name": "pull_request_url", - "type": { - "name": "String" - } - }, - { - "name": "commit_url", - "type": { - "name": "String" - } - }, - { - "name": "task_url", - "type": { - "name": "String" - } - }, - { - "name": "base_ref", - "type": { - "name": "String" - } - }, - { - "name": "base_repo", - "type": { - "name": "String" - } - }, - { - "name": "head_ref", - "type": { - "name": "String" - } - }, - { - "name": "head_repo", - "type": { - "name": "String" - } - }, - { - "name": "test_context_raw", - "type": { - "name": "String" - } - }, - { - "name": "instance_type", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "instance_id", - "type": { - "name": "String" - } - }, - { - "name": "date", - "type": { - "name": "Date" - }, - "default": { - "name": "toDate", - "arguments": [ - { - "parts": [ - "check_start_time" - ] - } - ] - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "date" - ] - }, - { - "parts": [ - "pull_request_number" - ] - }, - { - "parts": [ - "commit_sha" - ] - }, - { - "parts": [ - "check_name" - ] - }, - { - "parts": [ - "test_name" - ] - }, - { - "parts": [ - "check_start_time" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03164_linestring_geometry/ast.json b/parser/testdata/03164_linestring_geometry/ast.json deleted file mode 100644 index 4f366118b6..0000000000 --- a/parser/testdata/03164_linestring_geometry/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "readWKTLineString", - "arguments": [ - { - "type": "String", - "value": "LINESTRING (1 1, 2 2, 3 3, 1 1)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03164_materialize_skip_index/ast.json b/parser/testdata/03164_materialize_skip_index/ast.json deleted file mode 100644 index 6547cc66a6..0000000000 --- a/parser/testdata/03164_materialize_skip_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_skip_index_insert", - "tables": [ - { - "table": "t_skip_index_insert" - } - ] -} diff --git a/parser/testdata/03164_materialize_skip_index_on_merge/ast.json b/parser/testdata/03164_materialize_skip_index_on_merge/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03164_materialize_skip_index_on_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03164_optimize_read_in_order_nullable/ast.json b/parser/testdata/03164_optimize_read_in_order_nullable/ast.json deleted file mode 100644 index 5c371e8ec7..0000000000 --- a/parser/testdata/03164_optimize_read_in_order_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03164_users", - "tables": [ - { - "table": "03164_users" - } - ] -} diff --git a/parser/testdata/03164_orc_signedness/ast.json b/parser/testdata/03164_orc_signedness/ast.json deleted file mode 100644 index b23038753d..0000000000 --- a/parser/testdata/03164_orc_signedness/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_orc_filter_push_down", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03164_parallel_replicas_range_filter_min_max/ast.json b/parser/testdata/03164_parallel_replicas_range_filter_min_max/ast.json deleted file mode 100644 index 0a81a8837e..0000000000 --- a/parser/testdata/03164_parallel_replicas_range_filter_min_max/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "range_filter_custom_range_test", - "tables": [ - { - "table": "range_filter_custom_range_test" - } - ] -} diff --git a/parser/testdata/03164_s3_settings_for_queries_and_merges/ast.json b/parser/testdata/03164_s3_settings_for_queries_and_merges/ast.json deleted file mode 100644 index 8afe5a73f5..0000000000 --- a/parser/testdata/03164_s3_settings_for_queries_and_merges/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_prefetched_read_pool_for_remote_filesystem", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03165_distinct_with_window_func_crash/ast.json b/parser/testdata/03165_distinct_with_window_func_crash/ast.json deleted file mode 100644 index e8458063c0..0000000000 --- a/parser/testdata/03165_distinct_with_window_func_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "atable", - "tables": [ - { - "table": "atable" - } - ] -} diff --git a/parser/testdata/03165_order_by_duplicate/ast.json b/parser/testdata/03165_order_by_duplicate/ast.json deleted file mode 100644 index 8a2f871a3e..0000000000 --- a/parser/testdata/03165_order_by_duplicate/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "test", - "engine": { - "name": "ReplacingMergeTree" - }, - "primary_key": [ - { - "parts": [ - "id" - ] - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "id" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/03165_parseReadableSize/ast.json b/parser/testdata/03165_parseReadableSize/ast.json deleted file mode 100644 index 340460f9db..0000000000 --- a/parser/testdata/03165_parseReadableSize/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatReadableSize", - "arguments": [ - { - "name": "parseReadableSize", - "arguments": [ - { - "type": "String", - "value": "1 B" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03165_round_scale_as_column/ast.json b/parser/testdata/03165_round_scale_as_column/ast.json deleted file mode 100644 index 07189f7394..0000000000 --- a/parser/testdata/03165_round_scale_as_column/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toUInt8", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - }, - { - "name": "round", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "roundBankers", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "floor", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "ceil", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "name": "trunc", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 20 - } - } - ] -} diff --git a/parser/testdata/03165_storage_merge_view_prewhere/ast.json b/parser/testdata/03165_storage_merge_view_prewhere/ast.json deleted file mode 100644 index 12cb61b1df..0000000000 --- a/parser/testdata/03165_storage_merge_view_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ids", - "tables": [ - { - "table": "ids" - } - ] -} diff --git a/parser/testdata/03165_string_functions_with_token_text_indexes/ast.json b/parser/testdata/03165_string_functions_with_token_text_indexes/ast.json deleted file mode 100644 index 29e6e0f9a2..0000000000 --- a/parser/testdata/03165_string_functions_with_token_text_indexes/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-------- Bloom filter --------" - } - ] - } - ] -} diff --git a/parser/testdata/03166_mv_prewhere_duplicating_name_bug/ast.json b/parser/testdata/03166_mv_prewhere_duplicating_name_bug/ast.json deleted file mode 100644 index db06aadcfe..0000000000 --- a/parser/testdata/03166_mv_prewhere_duplicating_name_bug/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "src", - "columns": [ - { - "name": "x", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "Log" - } -} diff --git a/parser/testdata/03166_optimize_row_order_during_insert/ast.json b/parser/testdata/03166_optimize_row_order_during_insert/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/03166_optimize_row_order_during_insert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_1/ast.json b/parser/testdata/03166_skip_indexes_vertical_merge_1/ast.json deleted file mode 100644 index 4cf6b39734..0000000000 --- a/parser/testdata/03166_skip_indexes_vertical_merge_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_ind_merge_1", - "tables": [ - { - "table": "t_ind_merge_1" - } - ] -} diff --git a/parser/testdata/03166_skip_indexes_vertical_merge_2/ast.json b/parser/testdata/03166_skip_indexes_vertical_merge_2/ast.json deleted file mode 100644 index 1874d36dc7..0000000000 --- a/parser/testdata/03166_skip_indexes_vertical_merge_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_ind_merge_2", - "tables": [ - { - "table": "t_ind_merge_2" - } - ] -} diff --git a/parser/testdata/03167_base64_url_functions/ast.json b/parser/testdata/03167_base64_url_functions/ast.json deleted file mode 100644 index 39385dc62a..0000000000 --- a/parser/testdata/03167_base64_url_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base64URLEncode" - } - ] - } - ] -} diff --git a/parser/testdata/03167_empty_tuple_concat/ast.json b/parser/testdata/03167_empty_tuple_concat/ast.json deleted file mode 100644 index 8f750f6715..0000000000 --- a/parser/testdata/03167_empty_tuple_concat/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Tuple", - "value": [] - }, - "op": "||", - "right": { - "type": "Tuple", - "value": [] - } - } - ] - } - ] -} diff --git a/parser/testdata/03167_fancy_quotes_off_by_one/ast.json b/parser/testdata/03167_fancy_quotes_off_by_one/ast.json deleted file mode 100644 index 356639a3f3..0000000000 --- a/parser/testdata/03167_fancy_quotes_off_by_one/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "test" - }, - "alias": "column" - } - ] - } - ] -} diff --git a/parser/testdata/03167_parametrized_view_with_cte/ast.json b/parser/testdata/03167_parametrized_view_with_cte/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03167_parametrized_view_with_cte/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03167_transactions_are_really_disabled/ast.json b/parser/testdata/03167_transactions_are_really_disabled/ast.json deleted file mode 100644 index c7d8ea8320..0000000000 --- a/parser/testdata/03167_transactions_are_really_disabled/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv_table", - "tables": [ - { - "table": "mv_table" - } - ] -} diff --git a/parser/testdata/03168_attach_as_replicated_materialized_view/ast.json b/parser/testdata/03168_attach_as_replicated_materialized_view/ast.json deleted file mode 100644 index 46d781b72b..0000000000 --- a/parser/testdata/03168_attach_as_replicated_materialized_view/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "table": "hourly_data", - "columns": [ - { - "name": "domain_name", - "type": { - "name": "String" - } - }, - { - "name": "event_time", - "type": { - "name": "DateTime" - } - }, - { - "name": "count_views", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "domain_name" - ] - }, - { - "parts": [ - "event_time" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03168_cld2_tsan/ast.json b/parser/testdata/03168_cld2_tsan/ast.json deleted file mode 100644 index 80c7d07080..0000000000 --- a/parser/testdata/03168_cld2_tsan/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "detectLanguageMixed", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "二兎を追う者は一兎をも得ず二兎を追う者は一兎をも得ず A vaincre sans peril, on triomphe sans gloire." - } - ] - } - ] - } - ], - "group_by": [ - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "name": "stringToH3", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "85283473ffffff" - }, - { - "type": "Integer", - "value": 14 - } - ] - }, - { - "type": "Integer", - "value": 14 - } - ] - } - ] - } - ], - "settings": [ - { - "name": "allow_experimental_nlp_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03168_loop_engine_with_parallel_replicas/ast.json b/parser/testdata/03168_loop_engine_with_parallel_replicas/ast.json deleted file mode 100644 index c57d3c67c4..0000000000 --- a/parser/testdata/03168_loop_engine_with_parallel_replicas/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "03147_db", - "drop_database": true -} diff --git a/parser/testdata/03168_read_in_order_buffering_1/ast.json b/parser/testdata/03168_read_in_order_buffering_1/ast.json deleted file mode 100644 index b7a2dc6373..0000000000 --- a/parser/testdata/03168_read_in_order_buffering_1/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_read_in_order_1", - "tables": [ - { - "table": "t_read_in_order_1" - } - ] -} diff --git a/parser/testdata/03168_read_in_order_buffering_2/ast.json b/parser/testdata/03168_read_in_order_buffering_2/ast.json deleted file mode 100644 index ded7bbdae6..0000000000 --- a/parser/testdata/03168_read_in_order_buffering_2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_read_in_order_2", - "tables": [ - { - "table": "t_read_in_order_2" - } - ] -} diff --git a/parser/testdata/03169_cache_complex_dict_short_circuit_bug/ast.json b/parser/testdata/03169_cache_complex_dict_short_circuit_bug/ast.json deleted file mode 100644 index a19cb0c204..0000000000 --- a/parser/testdata/03169_cache_complex_dict_short_circuit_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "complex_key_simple_attributes_source_short_circuit_table", - "tables": [ - { - "table": "complex_key_simple_attributes_source_short_circuit_table" - } - ] -} diff --git a/parser/testdata/03169_display_column_names_in_footer/ast.json b/parser/testdata/03169_display_column_names_in_footer/ast.json deleted file mode 100644 index 1c69a447f5..0000000000 --- a/parser/testdata/03169_display_column_names_in_footer/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {}, - { - "name": "toTypeName", - "arguments": [ - {} - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 49 - } - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Pretty" - ] - } - } - ] -} diff --git a/parser/testdata/03169_modify_column_data_loss/ast.json b/parser/testdata/03169_modify_column_data_loss/ast.json deleted file mode 100644 index a7892c088a..0000000000 --- a/parser/testdata/03169_modify_column_data_loss/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "column_modify_test", - "tables": [ - { - "table": "column_modify_test" - } - ] -} diff --git a/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/ast.json b/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/ast.json deleted file mode 100644 index 955918700e..0000000000 --- a/parser/testdata/03169_optimize_injective_functions_inside_uniq_crash/ast.json +++ /dev/null @@ -1,128 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "u" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "intDiv", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 4096 - } - ], - "alias": "k" - }, - { - "name": "uniqCombined", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 16 - } - ] - } - ] - } - ] - } - ] - } - ], - "alias": "u" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 4096 - }, - "op": "*", - "right": { - "type": "Integer", - "value": 100 - } - } - ] - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "k" - ] - } - ] - } - ] - } - } - } - } - ] - }, - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "optimize_injective_functions_inside_uniq", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03170_part_offset_as_table_column/ast.json b/parser/testdata/03170_part_offset_as_table_column/ast.json deleted file mode 100644 index 444ca012b7..0000000000 --- a/parser/testdata/03170_part_offset_as_table_column/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt32" - } - }, - { - "name": "_part_offset", - "type": null, - "default": { - "type": "Integer", - "value": 0 - }, - "default_kind": "DEFAULT" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03171_condition_pushdown/ast.json b/parser/testdata/03171_condition_pushdown/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03171_condition_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03171_direct_dict_short_circuit_bug/ast.json b/parser/testdata/03171_direct_dict_short_circuit_bug/ast.json deleted file mode 100644 index 3bc0ac5b84..0000000000 --- a/parser/testdata/03171_direct_dict_short_circuit_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "short_circuit_function_evaluation", - "value": { - "type": "String", - "value": "enable" - } - } - ] -} diff --git a/parser/testdata/03171_function_to_subcolumns_fuzzer/ast.json b/parser/testdata/03171_function_to_subcolumns_fuzzer/ast.json deleted file mode 100644 index 5db256c789..0000000000 --- a/parser/testdata/03171_function_to_subcolumns_fuzzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_functions_to_subcolumns", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/ast.json b/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/ast.json deleted file mode 100644 index 8ba9daae0d..0000000000 --- a/parser/testdata/03171_hashed_dictionary_short_circuit_bug_fix/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "x", - "columns": [ - { - "name": "hash_id", - "type": { - "name": "UInt64" - } - }, - { - "name": "user_result", - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 2 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03171_indexing_by_hilbert_curve/ast.json b/parser/testdata/03171_indexing_by_hilbert_curve/ast.json deleted file mode 100644 index 6508ea1025..0000000000 --- a/parser/testdata/03171_indexing_by_hilbert_curve/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_index_analysis_only_on_coordinator", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03172_bcrypt_validation/ast.json b/parser/testdata/03172_bcrypt_validation/ast.json deleted file mode 100644 index d3077b12ed..0000000000 --- a/parser/testdata/03172_bcrypt_validation/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "03172_user_invalid_bcrypt_hash" -} diff --git a/parser/testdata/03172_format_settings_clauses/ast.json b/parser/testdata/03172_format_settings_clauses/ast.json deleted file mode 100644 index 18631e6645..0000000000 --- a/parser/testdata/03172_format_settings_clauses/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03172_system_detached_tables_no_loop/ast.json b/parser/testdata/03172_system_detached_tables_no_loop/ast.json deleted file mode 100644 index 50ff97ac26..0000000000 --- a/parser/testdata/03172_system_detached_tables_no_loop/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-----------------------" - } - ] - } - ] -} diff --git a/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/ast.json b/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03173_check_cyclic_dependencies_on_create_and_rename/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03173_distinct_combinator_alignment/ast.json b/parser/testdata/03173_distinct_combinator_alignment/ast.json deleted file mode 100644 index 97ff7a74b6..0000000000 --- a/parser/testdata/03173_distinct_combinator_alignment/ast.json +++ /dev/null @@ -1,172 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "topKDistinctState", - "parameters": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ], - "arguments": [ - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "name": "map", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "type": "Integer", - "value": 5 - } - ] - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - }, - { - "name": "map", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Integer", - "value": 4 - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 4 - } - ] - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - ], - "with_cube": true, - "with_totals": true, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03173_forbid_qualify/ast.json b/parser/testdata/03173_forbid_qualify/ast.json deleted file mode 100644 index ce2dc01470..0000000000 --- a/parser/testdata/03173_forbid_qualify/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_qualify", - "tables": [ - { - "table": "test_qualify" - } - ] -} diff --git a/parser/testdata/03173_set_transformed_partition_pruning/ast.json b/parser/testdata/03173_set_transformed_partition_pruning/ast.json deleted file mode 100644 index e8f831bbf8..0000000000 --- a/parser/testdata/03173_set_transformed_partition_pruning/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Single partition by function" - } - ] - } - ] -} diff --git a/parser/testdata/03174_exact_rows_before_aggregation/ast.json b/parser/testdata/03174_exact_rows_before_aggregation/ast.json deleted file mode 100644 index 8ca7e9ed12..0000000000 --- a/parser/testdata/03174_exact_rows_before_aggregation/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "settings": [ - { - "name": "rows_before_aggregation", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "exact_rows_before_limit", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/03174_least_greatest_ignore_null_input_values/ast.json b/parser/testdata/03174_least_greatest_ignore_null_input_values/ast.json deleted file mode 100644 index d721caa7fe..0000000000 --- a/parser/testdata/03174_least_greatest_ignore_null_input_values/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test with default NULL behavior" - } - ] - } - ] -} diff --git a/parser/testdata/03174_merge_join_bug/ast.json b/parser/testdata/03174_merge_join_bug/ast.json deleted file mode 100644 index a75b224ca1..0000000000 --- a/parser/testdata/03174_merge_join_bug/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "full_sorting_merge" - } - } - ] -} diff --git a/parser/testdata/03174_projection_deduplicate/ast.json b/parser/testdata/03174_projection_deduplicate/ast.json deleted file mode 100644 index 0b6c5bb154..0000000000 --- a/parser/testdata/03174_projection_deduplicate/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_projection_deduplicate", - "tables": [ - { - "table": "test_projection_deduplicate" - } - ] -} diff --git a/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/ast.json b/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/ast.json deleted file mode 100644 index 75d0a84541..0000000000 --- a/parser/testdata/03174_split_parts_ranges_into_intersecting_and_non_intersecting_final_and_read-in-order_bug/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "y", - "type": { - "name": "UInt32" - } - }, - { - "name": "v", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "ReplacingMergeTree", - "parameters": [ - { - "parts": [ - "v" - ] - } - ], - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03175_sparse_and_skip_index/ast.json b/parser/testdata/03175_sparse_and_skip_index/ast.json deleted file mode 100644 index 13953eb260..0000000000 --- a/parser/testdata/03175_sparse_and_skip_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_bloom_filter", - "tables": [ - { - "table": "t_bloom_filter" - } - ] -} diff --git a/parser/testdata/03176_check_timeout_in_index_analysis/ast.json b/parser/testdata/03176_check_timeout_in_index_analysis/ast.json deleted file mode 100644 index 8067b594fc..0000000000 --- a/parser/testdata/03176_check_timeout_in_index_analysis/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "t_03176", - "columns": [ - { - "name": "k", - "type": { - "name": "UInt64" - } - }, - { - "name": "v", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "k" - ] - } - ], - "partition_by": { - "parts": [ - "k" - ] - } -} diff --git a/parser/testdata/03195_group_concat_deserialization_fix/ast.json b/parser/testdata/03195_group_concat_deserialization_fix/ast.json deleted file mode 100644 index d5827341ed..0000000000 --- a/parser/testdata/03195_group_concat_deserialization_fix/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_serialization", - "tables": [ - { - "table": "test_serialization" - } - ] -} diff --git a/parser/testdata/03196_max_intersections_arena_crash/ast.json b/parser/testdata/03196_max_intersections_arena_crash/ast.json deleted file mode 100644 index 25ff8ead41..0000000000 --- a/parser/testdata/03196_max_intersections_arena_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "my_events", - "tables": [ - { - "table": "my_events" - } - ] -} diff --git a/parser/testdata/03197_fix_parse_mysql_iso_date/ast.json b/parser/testdata/03197_fix_parse_mysql_iso_date/ast.json deleted file mode 100644 index 87952a8b19..0000000000 --- a/parser/testdata/03197_fix_parse_mysql_iso_date/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTime", - "arguments": [ - { - "type": "String", - "value": "2024-06-20" - }, - { - "type": "String", - "value": "%F" - }, - { - "type": "String", - "value": "UTC" - } - ], - "alias": "x" - } - ] - } - ] -} diff --git a/parser/testdata/03197_storage_join_strictness_type_restriction/ast.json b/parser/testdata/03197_storage_join_strictness_type_restriction/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03197_storage_join_strictness_type_restriction/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/ast.json b/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/ast.json deleted file mode 100644 index db58ffa4ee..0000000000 --- a/parser/testdata/03198_bit_shift_throws_error_for_out_of_bounds/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- bitShiftRight" - } - ] - } - ] -} diff --git a/parser/testdata/03198_dynamic_read_subcolumns/ast.json b/parser/testdata/03198_dynamic_read_subcolumns/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03198_dynamic_read_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03198_group_array_intersect/ast.json b/parser/testdata/03198_group_array_intersect/ast.json deleted file mode 100644 index 624e00b7e2..0000000000 --- a/parser/testdata/03198_group_array_intersect/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_numbers__fuzz_29", - "tables": [ - { - "table": "test_numbers__fuzz_29" - } - ] -} diff --git a/parser/testdata/03198_json_extract_more_types/ast.json b/parser/testdata/03198_json_extract_more_types/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03198_json_extract_more_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03198_table_function_directory_path/ast.json b/parser/testdata/03198_table_function_directory_path/ast.json deleted file mode 100644 index 51c3c53ba2..0000000000 --- a/parser/testdata/03198_table_function_directory_path/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "data_03198_table_function_directory_path.csv" - }, - { - "type": "String", - "value": "csv" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "1.csv" - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03199_fix_auc_tie_handling/ast.json b/parser/testdata/03199_fix_auc_tie_handling/ast.json deleted file mode 100644 index 401aafb0c2..0000000000 --- a/parser/testdata/03199_fix_auc_tie_handling/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "table": "labels_unordered", - "columns": [ - { - "name": "idx", - "type": { - "name": "Int64" - } - }, - { - "name": "score", - "type": { - "name": "Float64" - } - }, - { - "name": "label", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "idx" - ] - } - ], - "primary_key": [ - { - "parts": [ - "idx" - ] - } - ] -} diff --git a/parser/testdata/03199_has_lc_fixed_string/ast.json b/parser/testdata/03199_has_lc_fixed_string/ast.json deleted file mode 100644 index 0bc3e63c38..0000000000 --- a/parser/testdata/03199_has_lc_fixed_string/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03199_fixedstring_array", - "tables": [ - { - "table": "03199_fixedstring_array" - } - ] -} diff --git a/parser/testdata/03199_join_with_materialized_column/ast.json b/parser/testdata/03199_join_with_materialized_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03199_join_with_materialized_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03199_json_extract_dynamic/ast.json b/parser/testdata/03199_json_extract_dynamic/ast.json deleted file mode 100644 index 0a95182900..0000000000 --- a/parser/testdata/03199_json_extract_dynamic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03199_merge_filters_bug/ast.json b/parser/testdata/03199_merge_filters_bug/ast.json deleted file mode 100644 index db7335af62..0000000000 --- a/parser/testdata/03199_merge_filters_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_reorder_prewhere_conditions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03199_queries_with_new_analyzer/ast.json b/parser/testdata/03199_queries_with_new_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03199_queries_with_new_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03200_memory_engine_alter_dynamic/ast.json b/parser/testdata/03200_memory_engine_alter_dynamic/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03200_memory_engine_alter_dynamic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03200_subcolumns_join_use_nulls/ast.json b/parser/testdata/03200_subcolumns_join_use_nulls/ast.json deleted file mode 100644 index 0c52f16d4a..0000000000 --- a/parser/testdata/03200_subcolumns_join_use_nulls/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_subcolumns_join", - "tables": [ - { - "table": "t_subcolumns_join" - } - ] -} diff --git a/parser/testdata/03201_analyzer_resolve_in_parent_scope/ast.json b/parser/testdata/03201_analyzer_resolve_in_parent_scope/ast.json deleted file mode 100644 index a9122b7782..0000000000 --- a/parser/testdata/03201_analyzer_resolve_in_parent_scope/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "view": "fake", - "as_select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "table" - ] - }, - { - "parts": [ - "database" - ] - }, - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "name": "currentDatabase" - } - } - } - ] - } -} diff --git a/parser/testdata/03201_sumIf_to_countIf_return_type/ast.json b/parser/testdata/03201_sumIf_to_countIf_return_type/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03201_sumIf_to_countIf_return_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03202_enum_json_cast/ast.json b/parser/testdata/03202_enum_json_cast/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03202_enum_json_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03202_system_load_primary_key/ast.json b/parser/testdata/03202_system_load_primary_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03202_system_load_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03203_count_with_non_deterministic_function/ast.json b/parser/testdata/03203_count_with_non_deterministic_function/ast.json deleted file mode 100644 index 5e1b2fc951..0000000000 --- a/parser/testdata/03203_count_with_non_deterministic_function/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "p", - "type": { - "name": "UInt8" - } - }, - { - "name": "x", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ], - "partition_by": { - "parts": [ - "p" - ] - } -} diff --git a/parser/testdata/03203_drop_detached_partition_all/ast.json b/parser/testdata/03203_drop_detached_partition_all/ast.json deleted file mode 100644 index 7d41f96ba0..0000000000 --- a/parser/testdata/03203_drop_detached_partition_all/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_03203", - "tables": [ - { - "table": "t_03203" - } - ] -} diff --git a/parser/testdata/03203_fill_missed_subcolumns/ast.json b/parser/testdata/03203_fill_missed_subcolumns/ast.json deleted file mode 100644 index bd6432b704..0000000000 --- a/parser/testdata/03203_fill_missed_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_missed_subcolumns", - "tables": [ - { - "table": "t_missed_subcolumns" - } - ] -} diff --git a/parser/testdata/03203_function_printf/ast.json b/parser/testdata/03203_function_printf/ast.json deleted file mode 100644 index 49f7ff4b71..0000000000 --- a/parser/testdata/03203_function_printf/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_fallback_to_vertical", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/ast.json b/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/ast.json deleted file mode 100644 index b628e62240..0000000000 --- a/parser/testdata/03203_multiif_and_where_2_conditions_old_analyzer_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bugcheck1", - "tables": [ - { - "table": "bugcheck1" - } - ] -} diff --git a/parser/testdata/03203_optimize_disjunctions_chain_to_in/ast.json b/parser/testdata/03203_optimize_disjunctions_chain_to_in/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03203_optimize_disjunctions_chain_to_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03203_system_numbers_limit_and_offset_simple/ast.json b/parser/testdata/03203_system_numbers_limit_and_offset_simple/ast.json deleted file mode 100644 index 9d4cd92231..0000000000 --- a/parser/testdata/03203_system_numbers_limit_and_offset_simple/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "case 1" - } - ] - } - ] -} diff --git a/parser/testdata/03203_variant_convert_field_to_type_bug/ast.json b/parser/testdata/03203_variant_convert_field_to_type_bug/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03203_variant_convert_field_to_type_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03204_distributed_with_scalar_subquery/ast.json b/parser/testdata/03204_distributed_with_scalar_subquery/ast.json deleted file mode 100644 index 1f3b8230ff..0000000000 --- a/parser/testdata/03204_distributed_with_scalar_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_c3oollc8r", - "tables": [ - { - "table": "t_c3oollc8r" - } - ] -} diff --git a/parser/testdata/03204_index_hint_fuzzer/ast.json b/parser/testdata/03204_index_hint_fuzzer/ast.json deleted file mode 100644 index 778d54c1fc..0000000000 --- a/parser/testdata/03204_index_hint_fuzzer/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "tuple", - "arguments": [ - { - "name": "indexHint", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "aaa" - } - ] - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03204_storage_join_optimize/ast.json b/parser/testdata/03204_storage_join_optimize/ast.json deleted file mode 100644 index 520b6de55e..0000000000 --- a/parser/testdata/03204_storage_join_optimize/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "table": "dict_03204", - "columns": [ - { - "name": "k", - "type": { - "name": "UInt64" - } - }, - { - "name": "v", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Join", - "parameters": [ - { - "parts": [ - "ANY" - ] - }, - { - "parts": [ - "LEFT" - ] - }, - { - "parts": [ - "k" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03205_hashing_empty_tuples/ast.json b/parser/testdata/03205_hashing_empty_tuples/ast.json deleted file mode 100644 index 68e6ada498..0000000000 --- a/parser/testdata/03205_hashing_empty_tuples/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sipHash64", - "arguments": [ - { - "type": "Tuple", - "value": [] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03205_json_cast_from_string/ast.json b/parser/testdata/03205_json_cast_from_string/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03205_json_cast_from_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03205_json_syntax/ast.json b/parser/testdata/03205_json_syntax/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03205_json_syntax/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03205_overlay/ast.json b/parser/testdata/03205_overlay/ast.json deleted file mode 100644 index 336ac5b89b..0000000000 --- a/parser/testdata/03205_overlay/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative test of overlay" - } - ] - } - ] -} diff --git a/parser/testdata/03205_parallel_replicas_alter_select_ubsan/ast.json b/parser/testdata/03205_parallel_replicas_alter_select_ubsan/ast.json deleted file mode 100644 index 44521e2438..0000000000 --- a/parser/testdata/03205_parallel_replicas_alter_select_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "alter_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/ast.json b/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/ast.json deleted file mode 100644 index 117381c59b..0000000000 --- a/parser/testdata/03205_parallel_window_finctions_and_column_sparse_bug/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "c", - "type": { - "name": "Int32" - } - }, - { - "name": "d", - "type": { - "name": "Bool" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "c" - ] - } - ] -} diff --git a/parser/testdata/03205_system_sync_replica_format/ast.json b/parser/testdata/03205_system_sync_replica_format/ast.json deleted file mode 100644 index c95738138d..0000000000 --- a/parser/testdata/03205_system_sync_replica_format/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatQuery", - "arguments": [ - { - "type": "String", - "value": "SYSTEM SYNC REPLICA db.table LIGHTWEIGHT" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/ast.json b/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/ast.json deleted file mode 100644 index 0bb910f781..0000000000 --- a/parser/testdata/03206_is_null_constant_result_old_analyzer_bug/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "table": "left", - "columns": [ - { - "name": "x", - "type": { - "name": "UUID" - } - } - ], - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03206_projection_merge_special_mergetree/ast.json b/parser/testdata/03206_projection_merge_special_mergetree/ast.json deleted file mode 100644 index 1e0f923590..0000000000 --- a/parser/testdata/03206_projection_merge_special_mergetree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp", - "tables": [ - { - "table": "tp" - } - ] -} diff --git a/parser/testdata/03206_projection_merge_special_mergetree_ignore/ast.json b/parser/testdata/03206_projection_merge_special_mergetree_ignore/ast.json deleted file mode 100644 index 1e0f923590..0000000000 --- a/parser/testdata/03206_projection_merge_special_mergetree_ignore/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tp", - "tables": [ - { - "table": "tp" - } - ] -} diff --git a/parser/testdata/03206_replication_lag_metric/ast.json b/parser/testdata/03206_replication_lag_metric/ast.json deleted file mode 100644 index 36035bacde..0000000000 --- a/parser/testdata/03206_replication_lag_metric/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "database": "rdb1", - "engine": { - "name": "Replicated", - "parameters": [ - { - "type": "String", - "value": "/test/test_replication_lag_metric" - }, - { - "type": "String", - "value": "shard1" - }, - { - "type": "String", - "value": "replica1" - } - ], - "has_parentheses": true - }, - "create_database": true -} diff --git a/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/ast.json b/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03207_composite_expressions_lambda_consistent_formatting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03207_json_read_subcolumns_1_memory/ast.json b/parser/testdata/03207_json_read_subcolumns_1_memory/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03207_json_read_subcolumns_1_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03207_json_read_subcolumns_2_memory/ast.json b/parser/testdata/03207_json_read_subcolumns_2_memory/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03207_json_read_subcolumns_2_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/ast.json b/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03208_array_of_json_read_subcolumns_2_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03208_buffer_over_distributed_type_mismatch/ast.json b/parser/testdata/03208_buffer_over_distributed_type_mismatch/ast.json deleted file mode 100644 index ab13d89b54..0000000000 --- a/parser/testdata/03208_buffer_over_distributed_type_mismatch/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "realtimedrep", - "tables": [ - { - "table": "realtimedrep" - } - ] -} diff --git a/parser/testdata/03208_groupArrayIntersect_serialization/ast.json b/parser/testdata/03208_groupArrayIntersect_serialization/ast.json deleted file mode 100644 index be8949fd3b..0000000000 --- a/parser/testdata/03208_groupArrayIntersect_serialization/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "groupArrayIntersectState", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "alias": "a" - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03208_multiple_joins_with_storage_join/ast.json b/parser/testdata/03208_multiple_joins_with_storage_join/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03208_multiple_joins_with_storage_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03208_numbers_total_rows_approx/ast.json b/parser/testdata/03208_numbers_total_rows_approx/ast.json deleted file mode 100644 index 8cf0525cd9..0000000000 --- a/parser/testdata/03208_numbers_total_rows_approx/ast.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 10 - } - } - ] - } - ] -} diff --git a/parser/testdata/03208_uniq_with_empty_tuple/ast.json b/parser/testdata/03208_uniq_with_empty_tuple/ast.json deleted file mode 100644 index 49f7c3cf26..0000000000 --- a/parser/testdata/03208_uniq_with_empty_tuple/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqTheta", - "arguments": [ - { - "name": "tuple" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03209_functions_json_msan_fuzzer_issue/ast.json b/parser/testdata/03209_functions_json_msan_fuzzer_issue/ast.json deleted file mode 100644 index 8e0dad973a..0000000000 --- a/parser/testdata/03209_functions_json_msan_fuzzer_issue/ast.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "raw", - "query": { - "type": "String", - "value": "{ \"v\":1.1}" - } - } - ], - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "parts": [ - "raw" - ] - }, - { - "type": "String", - "value": "float" - } - ], - "alias": "float32_1" - }, - { - "name": "JSONExtract", - "arguments": [ - { - "name": "concat", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "String", - "value": "1970-01-05" - }, - { - "type": "Integer", - "value": 10 - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - }, - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Integer", - "value": 10 - }, - { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - ] - }, - { - "type": "String", - "value": ", " - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 2 - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - }, - { - "parts": [ - "raw" - ] - }, - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "String", - "value": "v" - } - ] - }, - { - "type": "String", - "value": "Float32" - } - ], - "alias": "float32_2" - }, - { - "name": "JSONExtractFloat", - "arguments": [ - { - "parts": [ - "raw" - ] - } - ], - "alias": "float64_1" - }, - { - "name": "JSONExtract", - "arguments": [ - { - "parts": [ - "raw" - ] - }, - { - "type": "String", - "value": "v" - }, - { - "type": "String", - "value": "double" - } - ], - "alias": "float64_2" - } - ] - } - ] -} diff --git a/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/ast.json b/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/ast.json deleted file mode 100644 index 9fa61f8371..0000000000 --- a/parser/testdata/03209_parallel_replicas_lost_decimal_conversion/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_03209", - "tables": [ - { - "table": "t_03209" - } - ], - "sync": true -} diff --git a/parser/testdata/03209_parallel_replicas_order_by_all/ast.json b/parser/testdata/03209_parallel_replicas_order_by_all/ast.json deleted file mode 100644 index 8ef28244bb..0000000000 --- a/parser/testdata/03209_parallel_replicas_order_by_all/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "order_by_all", - "tables": [ - { - "table": "order_by_all" - } - ], - "sync": true -} diff --git a/parser/testdata/03209_parameterized_view_with_non_literal_params/ast.json b/parser/testdata/03209_parameterized_view_with_non_literal_params/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03209_parameterized_view_with_non_literal_params/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/ast.json b/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/ast.json deleted file mode 100644 index 0007067f1f..0000000000 --- a/parser/testdata/03210_convert_outer_join_to_inner_join_any_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "user_country", - "tables": [ - { - "table": "user_country" - } - ] -} diff --git a/parser/testdata/03210_dynamic_squashing/ast.json b/parser/testdata/03210_dynamic_squashing/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03210_dynamic_squashing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03210_empty_tuple_lhs_of_in/ast.json b/parser/testdata/03210_empty_tuple_lhs_of_in/ast.json deleted file mode 100644 index b312e92a1d..0000000000 --- a/parser/testdata/03210_empty_tuple_lhs_of_in/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "tuple" - }, - "list": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ], - "settings": [ - { - "name": "allow_experimental_map_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03210_nested_short_circuit_functions_bug/ast.json b/parser/testdata/03210_nested_short_circuit_functions_bug/ast.json deleted file mode 100644 index dc2f582e86..0000000000 --- a/parser/testdata/03210_nested_short_circuit_functions_bug/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "name": "equals", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "abc" - } - ] - }, - { - "type": "String", - "value": "aws.lambda.duration" - } - ] - }, - { - "name": "if", - "arguments": [ - { - "left": { - "name": "toFloat64", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "x86_74" - } - ] - } - ] - }, - "op": "\u003c", - "right": { - "type": "Float", - "value": 50 - } - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "settings": [ - { - "name": "short_circuit_function_evaluation", - "value": { - "type": "String", - "value": "enable" - } - } - ] - } - ] -} diff --git a/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/ast.json b/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03210_optimize_rewrite_aggregate_function_with_if_return_type_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03210_variant_with_aggregate_function_type/ast.json b/parser/testdata/03210_variant_with_aggregate_function_type/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03210_variant_with_aggregate_function_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/ast.json b/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03211_convert_outer_join_to_inner_join_anti_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03212_optimize_with_constraints_logical_error/ast.json b/parser/testdata/03212_optimize_with_constraints_logical_error/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03212_optimize_with_constraints_logical_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03212_variant_dynamic_cast_or_default/ast.json b/parser/testdata/03212_variant_dynamic_cast_or_default/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03212_variant_dynamic_cast_or_default/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03213_array_element_msan/ast.json b/parser/testdata/03213_array_element_msan/ast.json deleted file mode 100644 index 9c7b307adc..0000000000 --- a/parser/testdata/03213_array_element_msan/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "type": "Array", - "value": [ - { - "array": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 13 - }, - { - "type": "Integer", - "value": 15 - } - ] - }, - "index": { - "name": "toNullable", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - }, - "index": { - "name": "materialize", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03213_deep_json/ast.json b/parser/testdata/03213_deep_json/ast.json deleted file mode 100644 index a09b4a365a..0000000000 --- a/parser/testdata/03213_deep_json/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "JSONCompactEachRow" - ] - }, - { - "type": "String", - "value": "x UInt32, y UInt32" - }, - { - "name": "REPEAT", - "arguments": [ - { - "type": "String", - "value": "[1,1," - }, - { - "type": "Integer", - "value": 100000 - } - ] - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "input_format_json_compact_allow_variable_number_of_columns", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03213_denseRank_percentRank_alias/ast.json b/parser/testdata/03213_denseRank_percentRank_alias/ast.json deleted file mode 100644 index ed79c0419c..0000000000 --- a/parser/testdata/03213_denseRank_percentRank_alias/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "---- denseRank() ----" - } - ] - } - ] -} diff --git a/parser/testdata/03213_distributed_analyzer/ast.json b/parser/testdata/03213_distributed_analyzer/ast.json deleted file mode 100644 index f3a8480211..0000000000 --- a/parser/testdata/03213_distributed_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 8 - } - } - ] -} diff --git a/parser/testdata/03214_bitslice_argument_evaluation/ast.json b/parser/testdata/03214_bitslice_argument_evaluation/ast.json deleted file mode 100644 index d853c48f36..0000000000 --- a/parser/testdata/03214_bitslice_argument_evaluation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bitSlice" - } - ] - } - ] -} diff --git a/parser/testdata/03214_count_distinct_null_key_memory_leak/ast.json b/parser/testdata/03214_count_distinct_null_key_memory_leak/ast.json deleted file mode 100644 index 84f5da9014..0000000000 --- a/parser/testdata/03214_count_distinct_null_key_memory_leak/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "testnull", - "tables": [ - { - "table": "testnull" - } - ] -} diff --git a/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/ast.json b/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/03214_join_on_tuple_comparison_elimination_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/03214_json_typed_dynamic_path/ast.json b/parser/testdata/03214_json_typed_dynamic_path/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03214_json_typed_dynamic_path/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03215_analyzer_materialized_constants_bug/ast.json b/parser/testdata/03215_analyzer_materialized_constants_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03215_analyzer_materialized_constants_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03215_analyzer_replace_with_dummy_tables/ast.json b/parser/testdata/03215_analyzer_replace_with_dummy_tables/ast.json deleted file mode 100644 index 28a6c9e722..0000000000 --- a/parser/testdata/03215_analyzer_replace_with_dummy_tables/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "number", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "number" - ] - } - ] -} diff --git a/parser/testdata/03215_fix_get_index_in_tuple/ast.json b/parser/testdata/03215_fix_get_index_in_tuple/ast.json deleted file mode 100644 index 56201cfadd..0000000000 --- a/parser/testdata/03215_fix_get_index_in_tuple/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "if_not_exists": true, - "table": "dummy_table_03215", - "columns": [ - { - "name": "id_col", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "date_col", - "type": { - "name": "Date" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "date_col" - ] - } - ] -} diff --git a/parser/testdata/03215_key_condition_bug/ast.json b/parser/testdata/03215_key_condition_bug/ast.json deleted file mode 100644 index 71a0d6f33d..0000000000 --- a/parser/testdata/03215_key_condition_bug/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "x", - "type": { - "name": "Int8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03215_multilinestring_geometry/ast.json b/parser/testdata/03215_multilinestring_geometry/ast.json deleted file mode 100644 index 8a7ca84d60..0000000000 --- a/parser/testdata/03215_multilinestring_geometry/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "readWKTMultiLineString", - "arguments": [ - { - "type": "String", - "value": "MULTILINESTRING ((1 1, 2 2, 3 3, 1 1))" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03215_parquet_index/ast.json b/parser/testdata/03215_parquet_index/ast.json deleted file mode 100644 index 4993f0a9f0..0000000000 --- a/parser/testdata/03215_parquet_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_parquet", - "tables": [ - { - "table": "test_parquet" - } - ] -} diff --git a/parser/testdata/03215_parsing_archive_name_s3/ast.json b/parser/testdata/03215_parsing_archive_name_s3/ast.json deleted file mode 100644 index 391b853e73..0000000000 --- a/parser/testdata/03215_parsing_archive_name_s3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "s3_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03215_partition_in_tuple/ast.json b/parser/testdata/03215_partition_in_tuple/ast.json deleted file mode 100644 index aeede6e27e..0000000000 --- a/parser/testdata/03215_partition_in_tuple/ast.json +++ /dev/null @@ -1,109 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "a", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - }, - { - "name": "b", - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 6 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ], - "partition_by": { - "name": "toStartOfDay", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - }, - "as_select": { - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "2023-01-01 00:00:00.000" - }, - { - "type": "String", - "value": "fd4c03" - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "String", - "value": "2023-01-01 00:00:00.000" - }, - { - "type": "String", - "value": "123456" - } - ] - } - ] - } - } - } - ] - } - } - ] - } -} diff --git a/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/ast.json b/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/ast.json deleted file mode 100644 index 5f8d9ac1bc..0000000000 --- a/parser/testdata/03215_toStartOfWeek_with_dateTime64_fix/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfWeek", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "1970-01-01" - }, - { - "type": "Integer", - "value": 6 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03215_udf_with_union/ast.json b/parser/testdata/03215_udf_with_union/ast.json deleted file mode 100644 index 39b9aab4cb..0000000000 --- a/parser/testdata/03215_udf_with_union/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "function": "03215_udf_with_union" -} diff --git a/parser/testdata/03215_validate_type_in_alter_add_modify_column/ast.json b/parser/testdata/03215_validate_type_in_alter_add_modify_column/ast.json deleted file mode 100644 index bd27d8c850..0000000000 --- a/parser/testdata/03215_validate_type_in_alter_add_modify_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03215_varian_as_common_type_integers/ast.json b/parser/testdata/03215_varian_as_common_type_integers/ast.json deleted file mode 100644 index a6557bf51f..0000000000 --- a/parser/testdata/03215_varian_as_common_type_integers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03215_varian_as_common_type_tuple_map/ast.json b/parser/testdata/03215_varian_as_common_type_tuple_map/ast.json deleted file mode 100644 index a6557bf51f..0000000000 --- a/parser/testdata/03215_varian_as_common_type_tuple_map/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03215_view_with_recursive/ast.json b/parser/testdata/03215_view_with_recursive/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03215_view_with_recursive/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03216_arrayWithConstant_limits/ast.json b/parser/testdata/03216_arrayWithConstant_limits/ast.json deleted file mode 100644 index 019ec00691..0000000000 --- a/parser/testdata/03216_arrayWithConstant_limits/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayWithConstant", - "arguments": [ - { - "type": "Integer", - "value": 96142475 - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "qMUF" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03217_datetime64_constant_to_ast/ast.json b/parser/testdata/03217_datetime64_constant_to_ast/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03217_datetime64_constant_to_ast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03217_filtering_in_system_tables/ast.json b/parser/testdata/03217_filtering_in_system_tables/ast.json deleted file mode 100644 index 2f4c70ca35..0000000000 --- a/parser/testdata/03217_filtering_in_system_tables/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "database" - ] - }, - { - "parts": [ - "table" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "information_schema" - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "table" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "tables" - } - } - } - } - ] -} diff --git a/parser/testdata/03217_fliter_pushdown_no_keys/ast.json b/parser/testdata/03217_fliter_pushdown_no_keys/ast.json deleted file mode 100644 index 9aea215eb4..0000000000 --- a/parser/testdata/03217_fliter_pushdown_no_keys/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "last_seen" - ] - } - ], - "alias": "dates_seen" - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ], - "alias": "last_seen" - } - ] - } - ] - } - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "last_seen" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 2 - } - } - } - ] -} diff --git a/parser/testdata/03217_json_merge_patch_stack_overflow/ast.json b/parser/testdata/03217_json_merge_patch_stack_overflow/ast.json deleted file mode 100644 index b025da7e7d..0000000000 --- a/parser/testdata/03217_json_merge_patch_stack_overflow/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONMergePatch", - "arguments": [ - { - "name": "REPEAT", - "arguments": [ - { - "type": "String", - "value": "{\"c\":" - }, - { - "type": "Integer", - "value": 1000000 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03217_primary_index_memory_leak/ast.json b/parser/testdata/03217_primary_index_memory_leak/ast.json deleted file mode 100644 index 3f17cae776..0000000000 --- a/parser/testdata/03217_primary_index_memory_leak/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_primary_index_memory", - "tables": [ - { - "table": "t_primary_index_memory" - } - ] -} diff --git a/parser/testdata/03218_materialize_msan/ast.json b/parser/testdata/03218_materialize_msan/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03218_materialize_msan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03221_create_if_not_exists_setting/ast.json b/parser/testdata/03221_create_if_not_exists_setting/ast.json deleted file mode 100644 index 3d1b7fa44d..0000000000 --- a/parser/testdata/03221_create_if_not_exists_setting/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "create_if_not_exists", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03221_incomplete_utf8_sequence/ast.json b/parser/testdata/03221_incomplete_utf8_sequence/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/03221_incomplete_utf8_sequence/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03221_key_condition_bug/ast.json b/parser/testdata/03221_key_condition_bug/ast.json deleted file mode 100644 index e66611d787..0000000000 --- a/parser/testdata/03221_key_condition_bug/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "if_not_exists": true, - "table": "report_metrics_v2", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/03221_merge_profile_events/ast.json b/parser/testdata/03221_merge_profile_events/ast.json deleted file mode 100644 index 5135765b94..0000000000 --- a/parser/testdata/03221_merge_profile_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_merge_profile_events_1", - "tables": [ - { - "table": "t_merge_profile_events_1" - } - ] -} diff --git a/parser/testdata/03221_variant_logical_error/ast.json b/parser/testdata/03221_variant_logical_error/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03221_variant_logical_error/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03222_create_timeseries_table/ast.json b/parser/testdata/03222_create_timeseries_table/ast.json deleted file mode 100644 index fc290b5f59..0000000000 --- a/parser/testdata/03222_create_timeseries_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_time_series_table", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03222_date_time_inference/ast.json b/parser/testdata/03222_date_time_inference/ast.json deleted file mode 100644 index 0fa915047e..0000000000 --- a/parser/testdata/03222_date_time_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_try_infer_datetimes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03222_datetime64_small_value_const/ast.json b/parser/testdata/03222_datetime64_small_value_const/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03222_datetime64_small_value_const/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03222_json_empty_as_default/ast.json b/parser/testdata/03222_json_empty_as_default/ast.json deleted file mode 100644 index 9d002d9180..0000000000 --- a/parser/testdata/03222_json_empty_as_default/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_json_empty_as_default", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03222_json_squashing/ast.json b/parser/testdata/03222_json_squashing/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03222_json_squashing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03222_parallel_replicas_final_in_subquery/ast.json b/parser/testdata/03222_parallel_replicas_final_in_subquery/ast.json deleted file mode 100644 index cca17a4f6b..0000000000 --- a/parser/testdata/03222_parallel_replicas_final_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_00808", - "tables": [ - { - "table": "test_00808" - } - ] -} diff --git a/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/ast.json b/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/ast.json deleted file mode 100644 index e4475cb120..0000000000 --- a/parser/testdata/03222_parallel_replicas_min_marks_to_read_overflow/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test__fuzz_22", - "tables": [ - { - "table": "test__fuzz_22" - } - ], - "sync": true -} diff --git a/parser/testdata/03222_pr_asan_index_granularity/ast.json b/parser/testdata/03222_pr_asan_index_granularity/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03222_pr_asan_index_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03223_analyzer_with_cube_fuzz/ast.json b/parser/testdata/03223_analyzer_with_cube_fuzz/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03223_analyzer_with_cube_fuzz/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03223_interval_data_type_comparison/ast.json b/parser/testdata/03223_interval_data_type_comparison/ast.json deleted file mode 100644 index 0681511a04..0000000000 --- a/parser/testdata/03223_interval_data_type_comparison/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Comparing nanoseconds" - } - ] - } - ] -} diff --git a/parser/testdata/03223_nested_json_in_shared_data_merges/ast.json b/parser/testdata/03223_nested_json_in_shared_data_merges/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03223_nested_json_in_shared_data_merges/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03223_system_tables_set_not_ready/ast.json b/parser/testdata/03223_system_tables_set_not_ready/ast.json deleted file mode 100644 index 792df73008..0000000000 --- a/parser/testdata/03223_system_tables_set_not_ready/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "null", - "tables": [ - { - "table": "null" - } - ] -} diff --git a/parser/testdata/03224_arrayUnion/ast.json b/parser/testdata/03224_arrayUnion/ast.json deleted file mode 100644 index 29cbfe826c..0000000000 --- a/parser/testdata/03224_arrayUnion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array_union", - "tables": [ - { - "table": "array_union" - } - ] -} diff --git a/parser/testdata/03224_invalid_alter/ast.json b/parser/testdata/03224_invalid_alter/ast.json deleted file mode 100644 index 90bd6d06e7..0000000000 --- a/parser/testdata/03224_invalid_alter/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "str", - "type": { - "name": "String" - } - }, - { - "name": "column_with_codec", - "type": { - "name": "String" - }, - "codec": { - "codecs": [ - { - "name": "ZSTD" - } - ] - } - }, - { - "name": "column_with_alias", - "type": { - "name": "String" - }, - "default": { - "name": "concat", - "arguments": [ - { - "parts": [ - "str" - ] - }, - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "a" - } - ] - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03224_json_merges_new_type_in_shared_data/ast.json b/parser/testdata/03224_json_merges_new_type_in_shared_data/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03224_json_merges_new_type_in_shared_data/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/ast.json b/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03224_nested_json_merges_new_type_in_shared_data/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03224_tuple_element_identifier/ast.json b/parser/testdata/03224_tuple_element_identifier/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03224_tuple_element_identifier/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03225_const_prewhere_non_ataptive/ast.json b/parser/testdata/03225_const_prewhere_non_ataptive/ast.json deleted file mode 100644 index a1b6f50df5..0000000000 --- a/parser/testdata/03225_const_prewhere_non_ataptive/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_const_prewhere", - "tables": [ - { - "table": "t_const_prewhere" - } - ] -} diff --git a/parser/testdata/03227_distinct_dynamic_types_json_paths/ast.json b/parser/testdata/03227_distinct_dynamic_types_json_paths/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03227_distinct_dynamic_types_json_paths/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/ast.json b/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03227_dynamic_subcolumns_enumerate_streams/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03227_implicit_select/ast.json b/parser/testdata/03227_implicit_select/ast.json deleted file mode 100644 index 0f6e2e5e18..0000000000 --- a/parser/testdata/03227_implicit_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "implicit_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03227_json_invalid_regexp/ast.json b/parser/testdata/03227_json_invalid_regexp/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03227_json_invalid_regexp/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03227_test_sample_n/ast.json b/parser/testdata/03227_test_sample_n/ast.json deleted file mode 100644 index b091ffa291..0000000000 --- a/parser/testdata/03227_test_sample_n/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "if_not_exists": true, - "table": "table_name", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "cityHash64", - "arguments": [ - { - "parts": [ - "id" - ] - } - ] - } - ], - "sample_by": { - "name": "cityHash64", - "arguments": [ - { - "parts": [ - "id" - ] - } - ] - } -} diff --git a/parser/testdata/03228_async_insert_query_params_bad_type/ast.json b/parser/testdata/03228_async_insert_query_params_bad_type/ast.json deleted file mode 100644 index 36ba760f12..0000000000 --- a/parser/testdata/03228_async_insert_query_params_bad_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_async_insert_params", - "tables": [ - { - "table": "t_async_insert_params" - } - ] -} diff --git a/parser/testdata/03228_dynamic_serializations_uninitialized_value/ast.json b/parser/testdata/03228_dynamic_serializations_uninitialized_value/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03228_dynamic_serializations_uninitialized_value/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03228_dynamic_subcolumns_from_subquery/ast.json b/parser/testdata/03228_dynamic_subcolumns_from_subquery/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03228_dynamic_subcolumns_from_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03228_join_to_rerange_right_table/ast.json b/parser/testdata/03228_join_to_rerange_right_table/ast.json deleted file mode 100644 index 2f871df705..0000000000 --- a/parser/testdata/03228_join_to_rerange_right_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_left", - "tables": [ - { - "table": "test_left" - } - ] -} diff --git a/parser/testdata/03228_pr_subquery_view_order_by/ast.json b/parser/testdata/03228_pr_subquery_view_order_by/ast.json deleted file mode 100644 index 8ec30a2edf..0000000000 --- a/parser/testdata/03228_pr_subquery_view_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view1", - "tables": [ - { - "table": "view1" - } - ] -} diff --git a/parser/testdata/03228_variant_permutation_issue/ast.json b/parser/testdata/03228_variant_permutation_issue/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03228_variant_permutation_issue/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03228_virtual_column_merge_dist/ast.json b/parser/testdata/03228_virtual_column_merge_dist/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03228_virtual_column_merge_dist/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_async_insert_alter/ast.json b/parser/testdata/03229_async_insert_alter/ast.json deleted file mode 100644 index 1ed9237a46..0000000000 --- a/parser/testdata/03229_async_insert_alter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "wait_for_async_insert", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03229_empty_tuple_in_array/ast.json b/parser/testdata/03229_empty_tuple_in_array/ast.json deleted file mode 100644 index 3c54ae279e..0000000000 --- a/parser/testdata/03229_empty_tuple_in_array/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "array": { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [] - } - ] - }, - "index": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03229_json_null_as_default_for_tuple/ast.json b/parser/testdata/03229_json_null_as_default_for_tuple/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03229_json_null_as_default_for_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_json_structure_comparison/ast.json b/parser/testdata/03229_json_structure_comparison/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03229_json_structure_comparison/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_drop_cache/ast.json b/parser/testdata/03229_query_condition_cache_drop_cache/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_drop_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_final/ast.json b/parser/testdata/03229_query_condition_cache_final/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_final/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_in_operator/ast.json b/parser/testdata/03229_query_condition_cache_in_operator/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_in_operator/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/ast.json b/parser/testdata/03229_query_condition_cache_nondeterministic_functions/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_nondeterministic_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_plaintext_condition/ast.json b/parser/testdata/03229_query_condition_cache_plaintext_condition/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_plaintext_condition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_profile_events/ast.json b/parser/testdata/03229_query_condition_cache_profile_events/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03229_query_condition_cache_profile_events/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_recursive_cte/ast.json b/parser/testdata/03229_query_condition_cache_recursive_cte/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_recursive_cte/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03229_query_condition_cache_system_table/ast.json b/parser/testdata/03229_query_condition_cache_system_table/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03229_query_condition_cache_system_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/ast.json b/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/ast.json deleted file mode 100644 index a19600d7a7..0000000000 --- a/parser/testdata/03230_alter_with_mixed_mutations_and_remove_materialized/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ], - "sync": true -} diff --git a/parser/testdata/03230_anyHeavy_merge/ast.json b/parser/testdata/03230_anyHeavy_merge/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03230_anyHeavy_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03230_array_zip_unaligned/ast.json b/parser/testdata/03230_array_zip_unaligned/ast.json deleted file mode 100644 index b4dda971ac..0000000000 --- a/parser/testdata/03230_array_zip_unaligned/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayZipUnaligned", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "b" - }, - { - "type": "String", - "value": "c" - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "d" - }, - { - "type": "String", - "value": "e" - }, - { - "type": "String", - "value": "f" - } - ] - } - ], - "alias": "x" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/ast.json b/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/ast.json deleted file mode 100644 index 5de324ef3d..0000000000 --- a/parser/testdata/03230_date_trunc_and_to_start_of_interval_on_date32/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfInterval", - "arguments": [ - { - "name": "toDate32", - "arguments": [ - { - "type": "String", - "value": "2022-09-16" - } - ] - }, - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "YEAR" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03230_show_create_query_identifier_quoting_style/ast.json b/parser/testdata/03230_show_create_query_identifier_quoting_style/ast.json deleted file mode 100644 index fa60477daa..0000000000 --- a/parser/testdata/03230_show_create_query_identifier_quoting_style/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uk_mortgage_rates_dict", - "tables": [ - { - "table": "uk_mortgage_rates_dict" - } - ] -} diff --git a/parser/testdata/03230_subcolumns_mv/ast.json b/parser/testdata/03230_subcolumns_mv/ast.json deleted file mode 100644 index 095e212b68..0000000000 --- a/parser/testdata/03230_subcolumns_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rawtable", - "tables": [ - { - "table": "rawtable" - } - ] -} diff --git a/parser/testdata/03230_system_projections/ast.json b/parser/testdata/03230_system_projections/ast.json deleted file mode 100644 index 68acd715ca..0000000000 --- a/parser/testdata/03230_system_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "projections", - "tables": [ - { - "table": "projections" - } - ] -} diff --git a/parser/testdata/03231_create_with_clone_as/ast.json b/parser/testdata/03231_create_with_clone_as/ast.json deleted file mode 100644 index 71d149d2ea..0000000000 --- a/parser/testdata/03231_create_with_clone_as/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo_memory", - "tables": [ - { - "table": "foo_memory" - } - ] -} diff --git a/parser/testdata/03231_csv_dont_infer_bool_from_string/ast.json b/parser/testdata/03231_csv_dont_infer_bool_from_string/ast.json deleted file mode 100644 index 0e2a1109c0..0000000000 --- a/parser/testdata/03231_csv_dont_infer_bool_from_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_csv_try_infer_numbers_from_strings", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/ast.json b/parser/testdata/03231_dynamic_incomplete_type_insert_bug/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03231_dynamic_incomplete_type_insert_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03231_dynamic_uniq_group_by/ast.json b/parser/testdata/03231_dynamic_uniq_group_by/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03231_dynamic_uniq_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03231_dynamic_variant_in_order_by_group_by/ast.json b/parser/testdata/03231_dynamic_variant_in_order_by_group_by/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03231_dynamic_variant_in_order_by_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03231_pr_duplicate_announcement/ast.json b/parser/testdata/03231_pr_duplicate_announcement/ast.json deleted file mode 100644 index e285dbfac6..0000000000 --- a/parser/testdata/03231_pr_duplicate_announcement/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ], - "sync": true -} diff --git a/parser/testdata/03231_pr_duplicate_announcement_2/ast.json b/parser/testdata/03231_pr_duplicate_announcement_2/ast.json deleted file mode 100644 index bc4ca75255..0000000000 --- a/parser/testdata/03231_pr_duplicate_announcement_2/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "ANIMAL", - "tables": [ - { - "table": "ANIMAL" - } - ], - "sync": true -} diff --git a/parser/testdata/03231_pr_reverse_in_order/ast.json b/parser/testdata/03231_pr_reverse_in_order/ast.json deleted file mode 100644 index b98b73d2b7..0000000000 --- a/parser/testdata/03231_pr_reverse_in_order/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "checks", - "tables": [ - { - "table": "checks" - } - ], - "sync": true -} diff --git a/parser/testdata/03231_prewhere_conditions_order/ast.json b/parser/testdata/03231_prewhere_conditions_order/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03231_prewhere_conditions_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/ast.json b/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03231_values_respect_format_settings_in_fields_conversion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03232_json_uniq_group_by/ast.json b/parser/testdata/03232_json_uniq_group_by/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03232_json_uniq_group_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03232_pr_not_ready_set/ast.json b/parser/testdata/03232_pr_not_ready_set/ast.json deleted file mode 100644 index 35d11677b7..0000000000 --- a/parser/testdata/03232_pr_not_ready_set/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "FLUSH LOGS query_log" -} diff --git a/parser/testdata/03233_dynamic_in_functions/ast.json b/parser/testdata/03233_dynamic_in_functions/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03233_dynamic_in_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03234_enable_secure_identifiers/ast.json b/parser/testdata/03234_enable_secure_identifiers/ast.json deleted file mode 100644 index 5864d38ba2..0000000000 --- a/parser/testdata/03234_enable_secure_identifiers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_foo_#", - "tables": [ - { - "table": "test_foo_#" - } - ] -} diff --git a/parser/testdata/03234_get_setting_or_default/ast.json b/parser/testdata/03234_get_setting_or_default/ast.json deleted file mode 100644 index d1af210b35..0000000000 --- a/parser/testdata/03234_get_setting_or_default/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "custom_a", - "value": { - "type": "String", - "value": "value_a" - } - } - ] -} diff --git a/parser/testdata/03235_groupArray_string_consistency/ast.json b/parser/testdata/03235_groupArray_string_consistency/ast.json deleted file mode 100644 index 5152d79043..0000000000 --- a/parser/testdata/03235_groupArray_string_consistency/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "st", - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 54 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": null - } - ] -} diff --git a/parser/testdata/03236_create_query_ttl_where/ast.json b/parser/testdata/03236_create_query_ttl_where/ast.json deleted file mode 100644 index 463cbbb397..0000000000 --- a/parser/testdata/03236_create_query_ttl_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl", - "tables": [ - { - "table": "ttl" - } - ] -} diff --git a/parser/testdata/03236_keeper_map_engine_parameters/ast.json b/parser/testdata/03236_keeper_map_engine_parameters/ast.json deleted file mode 100644 index 69a36ca499..0000000000 --- a/parser/testdata/03236_keeper_map_engine_parameters/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03236_keeper_map_engine_parameters", - "tables": [ - { - "table": "03236_keeper_map_engine_parameters" - } - ] -} diff --git a/parser/testdata/03236_squashing_high_memory/ast.json b/parser/testdata/03236_squashing_high_memory/ast.json deleted file mode 100644 index c929da90fe..0000000000 --- a/parser/testdata/03236_squashing_high_memory/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "String", - "value": "501G" - } - } - ] -} diff --git a/parser/testdata/03236_test_zero_field_decimal/ast.json b/parser/testdata/03236_test_zero_field_decimal/ast.json deleted file mode 100644 index ff8f3215d8..0000000000 --- a/parser/testdata/03236_test_zero_field_decimal/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users_03236_zero", - "tables": [ - { - "table": "users_03236_zero" - } - ] -} diff --git a/parser/testdata/03237_create_table_select_as_with_recursive/ast.json b/parser/testdata/03237_create_table_select_as_with_recursive/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03237_create_table_select_as_with_recursive/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03237_max_map_state_decimal_serialization/ast.json b/parser/testdata/03237_max_map_state_decimal_serialization/ast.json deleted file mode 100644 index 99f1e2f1ae..0000000000 --- a/parser/testdata/03237_max_map_state_decimal_serialization/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "maxMapState", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ], - "alias": "x" - } - ], - "format": { - "parts": [ - "JSONEachRow" - ] - } - } - ] -} diff --git a/parser/testdata/03238_analyzer_unknown_function/ast.json b/parser/testdata/03238_analyzer_unknown_function/ast.json deleted file mode 100644 index b27e5ec0e9..0000000000 --- a/parser/testdata/03238_analyzer_unknown_function/ast.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "source", - "count" - ], - "alias": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "count", - "arguments": [ - {} - ], - "alias": "count" - }, - { - "parts": [ - "key" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "alias": "key" - } - ] - } - ] - } - }, - "alias": "source" - } - }, - { - "table": { - "table": { - "database": "system", - "table": "one" - }, - "alias": "r" - }, - "join": { - "type": "RIGHT", - "on": { - "left": { - "parts": [ - "source", - "key" - ] - }, - "op": "=", - "right": { - "parts": [ - "r", - "dummy" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03239_if_constant_folding/ast.json b/parser/testdata/03239_if_constant_folding/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03239_if_constant_folding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03240_array_element_or_null/ast.json b/parser/testdata/03240_array_element_or_null/ast.json deleted file mode 100644 index 25145d3e50..0000000000 --- a/parser/testdata/03240_array_element_or_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "array_element_or_null_test", - "tables": [ - { - "table": "array_element_or_null_test" - } - ] -} diff --git a/parser/testdata/03240_array_element_or_null_for_map/ast.json b/parser/testdata/03240_array_element_or_null_for_map/ast.json deleted file mode 100644 index bb6b3252ff..0000000000 --- a/parser/testdata/03240_array_element_or_null_for_map/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "...const maps..." - } - ] - } - ] -} diff --git a/parser/testdata/03240_cte_in_subquery/ast.json b/parser/testdata/03240_cte_in_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03240_cte_in_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03240_insert_select_named_tuple/ast.json b/parser/testdata/03240_insert_select_named_tuple/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03240_insert_select_named_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03240_quantile_exact_weighted_interpolated/ast.json b/parser/testdata/03240_quantile_exact_weighted_interpolated/ast.json deleted file mode 100644 index de91dfd5d9..0000000000 --- a/parser/testdata/03240_quantile_exact_weighted_interpolated/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal", - "tables": [ - { - "table": "decimal" - } - ] -} diff --git a/parser/testdata/03241_orc_dictionary_encode/ast.json b/parser/testdata/03241_orc_dictionary_encode/ast.json deleted file mode 100644 index 7354f3338d..0000000000 --- a/parser/testdata/03241_orc_dictionary_encode/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_orc_use_fast_decoder", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03241_view_block_structure/ast.json b/parser/testdata/03241_view_block_structure/ast.json deleted file mode 100644 index 0b6f1850e9..0000000000 --- a/parser/testdata/03241_view_block_structure/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "foo", - "tables": [ - { - "table": "foo" - } - ] -} diff --git a/parser/testdata/03242_view_block_structure/ast.json b/parser/testdata/03242_view_block_structure/ast.json deleted file mode 100644 index 3b335b9fce..0000000000 --- a/parser/testdata/03242_view_block_structure/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "a", - "tables": [ - { - "table": "a" - } - ] -} diff --git a/parser/testdata/03243_array_join_lambda/ast.json b/parser/testdata/03243_array_join_lambda/ast.json deleted file mode 100644 index 5928d762cd..0000000000 --- a/parser/testdata/03243_array_join_lambda/ast.json +++ /dev/null @@ -1,85 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "name": "length", - "arguments": [ - { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "arrayMap", - "arguments": [ - { - "parameters": [ - "y" - ], - "body": { - "left": { - "parts": [ - "y" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ] - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03243_check_for_nullable_nothing_in_alter/ast.json b/parser/testdata/03243_check_for_nullable_nothing_in_alter/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/03243_check_for_nullable_nothing_in_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/03243_cluster_not_found_column/ast.json b/parser/testdata/03243_cluster_not_found_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03243_cluster_not_found_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03243_compatibility_setting_with_alias/ast.json b/parser/testdata/03243_compatibility_setting_with_alias/ast.json deleted file mode 100644 index d2ae3a655a..0000000000 --- a/parser/testdata/03243_compatibility_setting_with_alias/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "parts": [ - "DEFAULT" - ] - } - } - ] -} diff --git a/parser/testdata/03243_create_or_replace_view_dependency_check/ast.json b/parser/testdata/03243_create_or_replace_view_dependency_check/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03243_create_or_replace_view_dependency_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03243_lower_utf8_msan/ast.json b/parser/testdata/03243_lower_utf8_msan/ast.json deleted file mode 100644 index cb59b2c316..0000000000 --- a/parser/testdata/03243_lower_utf8_msan/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ignore", - "arguments": [ - { - "name": "lengthUTF8", - "arguments": [ - { - "name": "lowerUTF8", - "arguments": [ - { - "name": "randomStringUTF8", - "arguments": [ - { - "type": "Integer", - "value": 99 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03243_to_start_of_interval_aliases/ast.json b/parser/testdata/03243_to_start_of_interval_aliases/ast.json deleted file mode 100644 index 19af1234de..0000000000 --- a/parser/testdata/03243_to_start_of_interval_aliases/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "date_bin", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2023-10-09" - } - ] - }, - { - "name": "toIntervalYear", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2022-02-01" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/ast.json b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/ast.json deleted file mode 100644 index f1ede05f4e..0000000000 --- a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/ast.json b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/ast.json deleted file mode 100644 index 0acaf89672..0000000000 --- a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_basic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data_02201", - "tables": [ - { - "table": "data_02201" - } - ] -} diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/ast.json b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/ast.json deleted file mode 100644 index f1ede05f4e..0000000000 --- a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_extremes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/ast.json b/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/ast.json deleted file mode 100644 index f1ede05f4e..0000000000 --- a/parser/testdata/03244_skip_index_in_final_query_with_pk_rescan_no_final_mark/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03245_ripemd160/ast.json b/parser/testdata/03245_ripemd160/ast.json deleted file mode 100644 index 601b0fbb80..0000000000 --- a/parser/testdata/03245_ripemd160/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "HEX", - "arguments": [ - { - "name": "RIPEMD160", - "arguments": [ - { - "type": "String", - "value": "The quick brown fox jumps over the lazy dog" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03245_views_and_filter_push_down_bug/ast.json b/parser/testdata/03245_views_and_filter_push_down_bug/ast.json deleted file mode 100644 index 21bc5ad81f..0000000000 --- a/parser/testdata/03245_views_and_filter_push_down_bug/ast.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "id" - ] - }, - { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "date" - ] - } - ], - "alias": "date" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "id" - }, - { - "expr": { - "type": "String", - "value": "2024-05-02" - }, - "alias": "date" - } - ] - } - ] - } - } - ] - } - } - } - ] - } - } - ] - } - } - ] - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "date" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "2024-05-02" - } - } - } - ] -} diff --git a/parser/testdata/03246_alter_update_dynamic_hung/ast.json b/parser/testdata/03246_alter_update_dynamic_hung/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03246_alter_update_dynamic_hung/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03246_join_on_asterisk/ast.json b/parser/testdata/03246_join_on_asterisk/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03246_join_on_asterisk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03246_json_subcolumn_correct_type/ast.json b/parser/testdata/03246_json_subcolumn_correct_type/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03246_json_subcolumn_correct_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03246_json_tuple_decompress_race/ast.json b/parser/testdata/03246_json_tuple_decompress_race/ast.json deleted file mode 100644 index 07f632542b..0000000000 --- a/parser/testdata/03246_json_tuple_decompress_race/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "type_json_skip_duplicated_paths", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_simdjson", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03246_range_literal_replacement_works/ast.json b/parser/testdata/03246_range_literal_replacement_works/ast.json deleted file mode 100644 index 7621f2f63f..0000000000 --- a/parser/testdata/03246_range_literal_replacement_works/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_values_interpret_expressions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03246_toStartOfInterval_date_timezone_bug/ast.json b/parser/testdata/03246_toStartOfInterval_date_timezone_bug/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/03246_toStartOfInterval_date_timezone_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/ast.json b/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/ast.json deleted file mode 100644 index 24f97051f0..0000000000 --- a/parser/testdata/03247_generic_arrayMin_arrayMax_fixes/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayMax", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "." - }, - { - "type": "Integer", - "value": 1 - } - ] - } - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03247_json_extract_lc_nullable/ast.json b/parser/testdata/03247_json_extract_lc_nullable/ast.json deleted file mode 100644 index 11e6881b60..0000000000 --- a/parser/testdata/03247_json_extract_lc_nullable/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "JSONExtract", - "arguments": [ - { - "type": "String", - "value": "{\"a\" : 128}" - }, - { - "type": "String", - "value": "a" - }, - { - "type": "String", - "value": "LowCardinality(Nullable(Int128))" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03247_object_column_copy/ast.json b/parser/testdata/03247_object_column_copy/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03247_object_column_copy/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03247_pr_local_plan_non_constant_in_source/ast.json b/parser/testdata/03247_pr_local_plan_non_constant_in_source/ast.json deleted file mode 100644 index 48ac2d2528..0000000000 --- a/parser/testdata/03247_pr_local_plan_non_constant_in_source/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "table_3", - "tables": [ - { - "table": "table_3" - } - ], - "sync": true -} diff --git a/parser/testdata/03248_max_parts_to_move/ast.json b/parser/testdata/03248_max_parts_to_move/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03248_max_parts_to_move/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03248_with_fill_string_crash/ast.json b/parser/testdata/03248_with_fill_string_crash/ast.json deleted file mode 100644 index bb017d9306..0000000000 --- a/parser/testdata/03248_with_fill_string_crash/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "date", - "type": { - "name": "DateTime" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "date" - ] - } - ] -} diff --git a/parser/testdata/03248_with_insert/ast.json b/parser/testdata/03248_with_insert/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/03248_with_insert/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/03249_dynamic_alter_consistency/ast.json b/parser/testdata/03249_dynamic_alter_consistency/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03249_dynamic_alter_consistency/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03250_avoid_prefetch_empty_parts/ast.json b/parser/testdata/03250_avoid_prefetch_empty_parts/ast.json deleted file mode 100644 index 56c0b57dce..0000000000 --- a/parser/testdata/03250_avoid_prefetch_empty_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03250_avoid_prefetch", - "tables": [ - { - "table": "03250_avoid_prefetch" - } - ] -} diff --git a/parser/testdata/03250_ephemeral_comment/ast.json b/parser/testdata/03250_ephemeral_comment/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03250_ephemeral_comment/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03250_json_group_by_sub_object_subcolumn/ast.json b/parser/testdata/03250_json_group_by_sub_object_subcolumn/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03250_json_group_by_sub_object_subcolumn/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03251_unaligned_window_function_state/ast.json b/parser/testdata/03251_unaligned_window_function_state/ast.json deleted file mode 100644 index 0f9e6607d0..0000000000 --- a/parser/testdata/03251_unaligned_window_function_state/ast.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "anyLast", - "arguments": [ - { - "parts": [ - "id" - ] - } - ] - }, - { - "name": "anyLast", - "arguments": [ - { - "parts": [ - "time" - ] - } - ] - }, - { - "name": "exponentialTimeDecayedAvg", - "parameters": [ - { - "type": "Integer", - "value": 10 - } - ], - "arguments": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "time" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "values", - "arguments": [ - { - "type": "String", - "value": "id Int8, time DateTime" - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03252_check_number_of_arguments_for_dynamic/ast.json b/parser/testdata/03252_check_number_of_arguments_for_dynamic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03252_check_number_of_arguments_for_dynamic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03252_fill_missed_arrays/ast.json b/parser/testdata/03252_fill_missed_arrays/ast.json deleted file mode 100644 index ad620ceebe..0000000000 --- a/parser/testdata/03252_fill_missed_arrays/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_fill_arrays", - "tables": [ - { - "table": "t_fill_arrays" - } - ] -} diff --git a/parser/testdata/03252_merge_tree_min_bytes_to_seek/ast.json b/parser/testdata/03252_merge_tree_min_bytes_to_seek/ast.json deleted file mode 100644 index 93f88f1b20..0000000000 --- a/parser/testdata/03252_merge_tree_min_bytes_to_seek/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_query_condition_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03253_getMaxTableNameLength/ast.json b/parser/testdata/03253_getMaxTableNameLength/ast.json deleted file mode 100644 index a5b0984805..0000000000 --- a/parser/testdata/03253_getMaxTableNameLength/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "getMaxTableNameLengthForDatabase", - "arguments": [ - { - "type": "String", - "value": "default" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03254_attach_part_order/ast.json b/parser/testdata/03254_attach_part_order/ast.json deleted file mode 100644 index e2fce4cafb..0000000000 --- a/parser/testdata/03254_attach_part_order/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "dt", - "type": { - "name": "DateTime" - } - }, - { - "name": "id", - "type": { - "name": "UInt32" - } - }, - { - "name": "url", - "type": { - "name": "String" - } - }, - { - "name": "visits", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "ReplacingMergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "dt" - ] - }, - { - "parts": [ - "id" - ] - } - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "dt" - ] - } - ] - } -} diff --git a/parser/testdata/03254_last_2_samples_aggregate_function/ast.json b/parser/testdata/03254_last_2_samples_aggregate_function/ast.json deleted file mode 100644 index 8b187b46ad..0000000000 --- a/parser/testdata/03254_last_2_samples_aggregate_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_ts_to_grid_aggregate_function", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03254_last_2_samples_aggregate_function_simple/ast.json b/parser/testdata/03254_last_2_samples_aggregate_function_simple/ast.json deleted file mode 100644 index 8b187b46ad..0000000000 --- a/parser/testdata/03254_last_2_samples_aggregate_function_simple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_ts_to_grid_aggregate_function", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03254_merge_source_parts/ast.json b/parser/testdata/03254_merge_source_parts/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03254_merge_source_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/ast.json b/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03254_normalize_aggregate_states_with_named_tuple_args/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03254_part_log_partition_column_is_set/ast.json b/parser/testdata/03254_part_log_partition_column_is_set/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03254_part_log_partition_column_is_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03254_pr_join_on_dups/ast.json b/parser/testdata/03254_pr_join_on_dups/ast.json deleted file mode 100644 index 32b6360d79..0000000000 --- a/parser/testdata/03254_pr_join_on_dups/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "X", - "tables": [ - { - "table": "X" - } - ], - "sync": true -} diff --git a/parser/testdata/03254_prewarm_mark_cache_columns/ast.json b/parser/testdata/03254_prewarm_mark_cache_columns/ast.json deleted file mode 100644 index 564844da9e..0000000000 --- a/parser/testdata/03254_prewarm_mark_cache_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_prewarm_columns", - "tables": [ - { - "table": "t_prewarm_columns" - } - ] -} diff --git a/parser/testdata/03254_prewarm_mark_cache_rmt/ast.json b/parser/testdata/03254_prewarm_mark_cache_rmt/ast.json deleted file mode 100644 index a95570b70b..0000000000 --- a/parser/testdata/03254_prewarm_mark_cache_rmt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_prewarm_cache_rmt_1", - "tables": [ - { - "table": "t_prewarm_cache_rmt_1" - } - ] -} diff --git a/parser/testdata/03254_project_lwd_respects_row_exists/ast.json b/parser/testdata/03254_project_lwd_respects_row_exists/ast.json deleted file mode 100644 index 50f04df496..0000000000 --- a/parser/testdata/03254_project_lwd_respects_row_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users_compact", - "tables": [ - { - "table": "users_compact" - } - ] -} diff --git a/parser/testdata/03254_system_prewarm_mark_cache/ast.json b/parser/testdata/03254_system_prewarm_mark_cache/ast.json deleted file mode 100644 index 150b8d0d88..0000000000 --- a/parser/testdata/03254_system_prewarm_mark_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_prewarm_cache", - "tables": [ - { - "table": "t_prewarm_cache" - } - ] -} diff --git a/parser/testdata/03254_timeseries_functions/ast.json b/parser/testdata/03254_timeseries_functions/ast.json deleted file mode 100644 index 261a005fd4..0000000000 --- a/parser/testdata/03254_timeseries_functions/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "ts_raw_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "timestamp" - ] - } - ] -} diff --git a/parser/testdata/03254_timeseries_functions_various_arguments/ast.json b/parser/testdata/03254_timeseries_functions_various_arguments/ast.json deleted file mode 100644 index 582606eae5..0000000000 --- a/parser/testdata/03254_timeseries_functions_various_arguments/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "ts_data", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "timestamps", - "type": { - "name": "Array", - "parameters": [ - { - "name": "DateTime" - } - ], - "has_parentheses": true - } - }, - { - "name": "values", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Float64" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03254_timeseries_group_array/ast.json b/parser/testdata/03254_timeseries_group_array/ast.json deleted file mode 100644 index 261a005fd4..0000000000 --- a/parser/testdata/03254_timeseries_group_array/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "ts_raw_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "timestamp" - ] - } - ] -} diff --git a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/ast.json b/parser/testdata/03254_timeseries_instant_value_aggregate_functions/ast.json deleted file mode 100644 index 8b187b46ad..0000000000 --- a/parser/testdata/03254_timeseries_instant_value_aggregate_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_ts_to_grid_aggregate_function", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03254_timeseries_range/ast.json b/parser/testdata/03254_timeseries_range/ast.json deleted file mode 100644 index d6bc32c3b3..0000000000 --- a/parser/testdata/03254_timeseries_range/ast.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "timeSeriesRange", - "arguments": [ - { - "expr": { - "type": "String", - "value": "2025-06-01 00:00:00" - }, - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - { - "expr": { - "type": "String", - "value": "2025-06-01 00:01:30.000" - }, - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - { - "type": "Integer", - "value": 30 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function/ast.json b/parser/testdata/03254_timeseries_to_grid_aggregate_function/ast.json deleted file mode 100644 index 644caee019..0000000000 --- a/parser/testdata/03254_timeseries_to_grid_aggregate_function/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "ts_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/ast.json b/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/ast.json deleted file mode 100644 index 644caee019..0000000000 --- a/parser/testdata/03254_timeseries_to_grid_aggregate_function_sparse/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "ts_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/ast.json b/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03255_merge_mutation_start_entry_in_the_part_log/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03256_invalid_mutation_query/ast.json b/parser/testdata/03256_invalid_mutation_query/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03256_invalid_mutation_query/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03257_json_escape_file_names/ast.json b/parser/testdata/03257_json_escape_file_names/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03257_json_escape_file_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03257_reverse_sorting_key/ast.json b/parser/testdata/03257_reverse_sorting_key/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/03257_reverse_sorting_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03257_reverse_sorting_key_simple/ast.json b/parser/testdata/03257_reverse_sorting_key_simple/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/03257_reverse_sorting_key_simple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03257_reverse_sorting_key_zookeeper/ast.json b/parser/testdata/03257_reverse_sorting_key_zookeeper/ast.json deleted file mode 100644 index cd1010d0fa..0000000000 --- a/parser/testdata/03257_reverse_sorting_key_zookeeper/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x1", - "tables": [ - { - "table": "x1" - } - ] -} diff --git a/parser/testdata/03257_setting_tiers/ast.json b/parser/testdata/03257_setting_tiers/ast.json deleted file mode 100644 index 588317ab9c..0000000000 --- a/parser/testdata/03257_setting_tiers/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "tier" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Production" - } - } - } - ] -} diff --git a/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/ast.json b/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03258_dynamic_in_functions_weak_ptr_exception/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03258_multiple_array_joins/ast.json b/parser/testdata/03258_multiple_array_joins/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03258_multiple_array_joins/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03258_quantile_exact_weighted_issue/ast.json b/parser/testdata/03258_quantile_exact_weighted_issue/ast.json deleted file mode 100644 index 0546766fc0..0000000000 --- a/parser/testdata/03258_quantile_exact_weighted_issue/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "name": "quantilesExactWeightedState", - "parameters": [ - { - "type": "Float", - "value": 0.2 - }, - { - "type": "Float", - "value": 0.4 - }, - { - "type": "Float", - "value": 0.6 - }, - { - "type": "Float", - "value": 0.8 - } - ], - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - { - "type": "Integer", - "value": 1 - } - ], - "alias": "x" - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 49999 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03259_grouping_sets_aliases/ast.json b/parser/testdata/03259_grouping_sets_aliases/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/03259_grouping_sets_aliases/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/03259_join_condition_executed_block_bug/ast.json b/parser/testdata/03259_join_condition_executed_block_bug/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03259_join_condition_executed_block_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03259_negate_key_overflow/ast.json b/parser/testdata/03259_negate_key_overflow/ast.json deleted file mode 100644 index 7f9317aa51..0000000000 --- a/parser/testdata/03259_negate_key_overflow/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "a", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03259_orc_date_out_of_range/ast.json b/parser/testdata/03259_orc_date_out_of_range/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03259_orc_date_out_of_range/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03260_dynamic_low_cardinality_dict_bug/ast.json b/parser/testdata/03260_dynamic_low_cardinality_dict_bug/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03260_dynamic_low_cardinality_dict_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03261_any_respect_camelCase_aliases/ast.json b/parser/testdata/03261_any_respect_camelCase_aliases/ast.json deleted file mode 100644 index 07c0539634..0000000000 --- a/parser/testdata/03261_any_respect_camelCase_aliases/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "anyRespectNulls" - } - ] - } - ] -} diff --git a/parser/testdata/03261_delayed_streams_memory/ast.json b/parser/testdata/03261_delayed_streams_memory/ast.json deleted file mode 100644 index 4e361571e7..0000000000 --- a/parser/testdata/03261_delayed_streams_memory/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_100_columns", - "tables": [ - { - "table": "t_100_columns" - } - ] -} diff --git a/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/ast.json b/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/ast.json deleted file mode 100644 index f2be4e7a1e..0000000000 --- a/parser/testdata/03261_low_cardinality_nullable_to_dynamic_cast/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03261_minmax_indices_by_default/ast.json b/parser/testdata/03261_minmax_indices_by_default/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/03261_minmax_indices_by_default/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03261_minmax_indices_by_default_table_copy/ast.json b/parser/testdata/03261_minmax_indices_by_default_table_copy/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/03261_minmax_indices_by_default_table_copy/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/03261_mongodb_argumetns_crash/ast.json b/parser/testdata/03261_mongodb_argumetns_crash/ast.json deleted file mode 100644 index f8c26b074a..0000000000 --- a/parser/testdata/03261_mongodb_argumetns_crash/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "mongodb", - "arguments": [ - { - "type": "String", - "value": "mongodb://some-cluster:27017/?retryWrites=false" - }, - { - "type": "Null", - "value": null - }, - { - "type": "String", - "value": "my_collection" - }, - { - "type": "String", - "value": "test_user" - }, - { - "type": "String", - "value": "password" - }, - { - "type": "String", - "value": "x Int32" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/ast.json b/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/ast.json deleted file mode 100644 index 6750c95709..0000000000 --- a/parser/testdata/03261_optimize_rewrite_array_exists_to_has_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "rewrite", - "tables": [ - { - "table": "rewrite" - } - ] -} diff --git a/parser/testdata/03261_pr_semi_anti_join/ast.json b/parser/testdata/03261_pr_semi_anti_join/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/03261_pr_semi_anti_join/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/03261_sort_cursor_crash/ast.json b/parser/testdata/03261_sort_cursor_crash/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03261_sort_cursor_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03261_tuple_map_to_json_cast/ast.json b/parser/testdata/03261_tuple_map_to_json_cast/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03261_tuple_map_to_json_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03261_variant_permutation_bug/ast.json b/parser/testdata/03261_variant_permutation_bug/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03261_variant_permutation_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03262_analyzer_materialized_view_in_with_cte/ast.json b/parser/testdata/03262_analyzer_materialized_view_in_with_cte/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03262_analyzer_materialized_view_in_with_cte/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03262_column_sizes_with_dynamic_structure/ast.json b/parser/testdata/03262_column_sizes_with_dynamic_structure/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03262_column_sizes_with_dynamic_structure/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03262_common_expression_optimization/ast.json b/parser/testdata/03262_common_expression_optimization/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03262_common_expression_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03262_const_adaptive_index_granularity/ast.json b/parser/testdata/03262_const_adaptive_index_granularity/ast.json deleted file mode 100644 index 31207b9f0a..0000000000 --- a/parser/testdata/03262_const_adaptive_index_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_granularity", - "tables": [ - { - "table": "t_index_granularity" - } - ] -} diff --git a/parser/testdata/03262_filter_push_down_view/ast.json b/parser/testdata/03262_filter_push_down_view/ast.json deleted file mode 100644 index 67395104b8..0000000000 --- a/parser/testdata/03262_filter_push_down_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alpha", - "tables": [ - { - "table": "alpha" - } - ] -} diff --git a/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/ast.json b/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/ast.json deleted file mode 100644 index c448223d36..0000000000 --- a/parser/testdata/03262_system_functions_should_not_fill_query_log_functions/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "functions" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "bitShiftLeft" - } - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03263_analyzer_materialized_view_cte_nested/ast.json b/parser/testdata/03263_analyzer_materialized_view_cte_nested/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03263_analyzer_materialized_view_cte_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03263_forbid_materialize_sort_key/ast.json b/parser/testdata/03263_forbid_materialize_sort_key/ast.json deleted file mode 100644 index 8a36b6c1ed..0000000000 --- a/parser/testdata/03263_forbid_materialize_sort_key/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "if_not_exists": true, - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/03263_parquet_write_bloom_filter/ast.json b/parser/testdata/03263_parquet_write_bloom_filter/ast.json deleted file mode 100644 index e3084a94b6..0000000000 --- a/parser/testdata/03263_parquet_write_bloom_filter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03266_lowcardinality_string_monotonicity/ast.json b/parser/testdata/03266_lowcardinality_string_monotonicity/ast.json deleted file mode 100644 index f2b1aad411..0000000000 --- a/parser/testdata/03266_lowcardinality_string_monotonicity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_lc_pk", - "tables": [ - { - "table": "test_lc_pk" - } - ] -} diff --git a/parser/testdata/03266_with_fill_staleness/ast.json b/parser/testdata/03266_with_fill_staleness/ast.json deleted file mode 100644 index ab079427e8..0000000000 --- a/parser/testdata/03266_with_fill_staleness/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Europe/Amsterdam" - } - } - ] -} diff --git a/parser/testdata/03266_with_fill_staleness_cases/ast.json b/parser/testdata/03266_with_fill_staleness_cases/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03266_with_fill_staleness_cases/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03266_with_fill_staleness_errors/ast.json b/parser/testdata/03266_with_fill_staleness_errors/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03266_with_fill_staleness_errors/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03267_join_swap_bug/ast.json b/parser/testdata/03267_join_swap_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03267_join_swap_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03268_empty_tuple_update/ast.json b/parser/testdata/03268_empty_tuple_update/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03268_empty_tuple_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03268_nested_analyzer/ast.json b/parser/testdata/03268_nested_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03268_nested_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03268_system_parts_index_granularity/ast.json b/parser/testdata/03268_system_parts_index_granularity/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03268_system_parts_index_granularity/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03268_vertical_pretty_numbers/ast.json b/parser/testdata/03268_vertical_pretty_numbers/ast.json deleted file mode 100644 index ce6dd7b723..0000000000 --- a/parser/testdata/03268_vertical_pretty_numbers/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_highlight_digit_groups", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_single_large_number_tip_threshold", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03269_partition_key_not_in_set/ast.json b/parser/testdata/03269_partition_key_not_in_set/ast.json deleted file mode 100644 index 3aa5e55ce3..0000000000 --- a/parser/testdata/03269_partition_key_not_in_set/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03269_filters", - "tables": [ - { - "table": "03269_filters" - } - ] -} diff --git a/parser/testdata/03270_empty_tuple_in_array_intersect/ast.json b/parser/testdata/03270_empty_tuple_in_array_intersect/ast.json deleted file mode 100644 index c3a1adc9f5..0000000000 --- a/parser/testdata/03270_empty_tuple_in_array_intersect/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayIntersect", - "arguments": [ - { - "type": "Array", - "value": [ - { - "name": "tuple" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03270_fix_column_modifier_write_order/ast.json b/parser/testdata/03270_fix_column_modifier_write_order/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03270_fix_column_modifier_write_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/ast.json b/parser/testdata/03270_max_bytes_ratio_before_external_group_by/ast.json deleted file mode 100644 index a919a227a8..0000000000 --- a/parser/testdata/03270_max_bytes_ratio_before_external_group_by/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqExact", - "arguments": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "String" - }, - "operator_syntax": true - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 10000000 - } - ] - } - } - } - ] - }, - "group_by": [ - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 100 - } - }, - "type": { - "name": "String" - }, - "operator_syntax": true - } - ], - "settings": [ - { - "name": "max_bytes_ratio_before_external_group_by", - "value": { - "op": "-", - "operand": { - "type": "Float", - "value": 0.1 - } - } - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03271_date_to_datetime_saturation/ast.json b/parser/testdata/03271_date_to_datetime_saturation/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03271_date_to_datetime_saturation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03271_decimal_monotonic_day_of_week/ast.json b/parser/testdata/03271_decimal_monotonic_day_of_week/ast.json deleted file mode 100644 index 42e51f0572..0000000000 --- a/parser/testdata/03271_decimal_monotonic_day_of_week/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "decimal_dt", - "tables": [ - { - "table": "decimal_dt" - } - ] -} diff --git a/parser/testdata/03271_dynamic_variant_in_min_max/ast.json b/parser/testdata/03271_dynamic_variant_in_min_max/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03271_dynamic_variant_in_min_max/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/ast.json b/parser/testdata/03271_max_bytes_ratio_before_external_order_by/ast.json deleted file mode 100644 index dcb85afae4..0000000000 --- a/parser/testdata/03271_max_bytes_ratio_before_external_order_by/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Float", - "value": 100000000 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ], - "settings": [ - { - "name": "max_bytes_ratio_before_external_sort", - "value": { - "op": "-", - "operand": { - "type": "Float", - "value": 0.1 - } - } - } - ], - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03271_s3_table_function_asterisk_glob/ast.json b/parser/testdata/03271_s3_table_function_asterisk_glob/ast.json deleted file mode 100644 index 391b853e73..0000000000 --- a/parser/testdata/03271_s3_table_function_asterisk_glob/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "s3_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03271_sqllancer_having_issue/ast.json b/parser/testdata/03271_sqllancer_having_issue/ast.json deleted file mode 100644 index 8a1bc85686..0000000000 --- a/parser/testdata/03271_sqllancer_having_issue/ast.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "if_not_exists": true, - "table": "t3", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03272_arrayAUCPR/ast.json b/parser/testdata/03272_arrayAUCPR/ast.json deleted file mode 100644 index 4e9e123e39..0000000000 --- a/parser/testdata/03272_arrayAUCPR/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "floor", - "arguments": [ - { - "name": "arrayAUCPR", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Float", - "value": 0.4 - }, - { - "type": "Float", - "value": 0.35 - }, - { - "type": "Float", - "value": 0.8 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03272_bad_aggregate_function/ast.json b/parser/testdata/03272_bad_aggregate_function/ast.json deleted file mode 100644 index a9a4226ef7..0000000000 --- a/parser/testdata/03272_bad_aggregate_function/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "deltaSumTimestamp", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03272_bitmapTransform_error_counter/ast.json b/parser/testdata/03272_bitmapTransform_error_counter/ast.json deleted file mode 100644 index 4a2afbd9bc..0000000000 --- a/parser/testdata/03272_bitmapTransform_error_counter/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "table": "counters", - "columns": [ - { - "name": "value", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "value" - ] - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_1/ast.json b/parser/testdata/03272_json_to_json_cast_1/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03272_json_to_json_cast_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_2/ast.json b/parser/testdata/03272_json_to_json_cast_2/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03272_json_to_json_cast_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_3/ast.json b/parser/testdata/03272_json_to_json_cast_3/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03272_json_to_json_cast_3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_4/ast.json b/parser/testdata/03272_json_to_json_cast_4/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03272_json_to_json_cast_4/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_5/ast.json b/parser/testdata/03272_json_to_json_cast_5/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03272_json_to_json_cast_5/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_json_to_json_cast_6/ast.json b/parser/testdata/03272_json_to_json_cast_6/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03272_json_to_json_cast_6/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_parallel_replicas_read_in_order/ast.json b/parser/testdata/03272_parallel_replicas_read_in_order/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/03272_parallel_replicas_read_in_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03272_partition_pruning_monotonic_func_bug/ast.json b/parser/testdata/03272_partition_pruning_monotonic_func_bug/ast.json deleted file mode 100644 index 9a04b5e1f7..0000000000 --- a/parser/testdata/03272_partition_pruning_monotonic_func_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Etc/UTC" - } - } - ] -} diff --git a/parser/testdata/03272_prewarm_mark_cache_add_column/ast.json b/parser/testdata/03272_prewarm_mark_cache_add_column/ast.json deleted file mode 100644 index fbb821404a..0000000000 --- a/parser/testdata/03272_prewarm_mark_cache_add_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_prewarm_add_column", - "tables": [ - { - "table": "t_prewarm_add_column" - } - ] -} diff --git a/parser/testdata/03273_better_json_subcolumns_parsing/ast.json b/parser/testdata/03273_better_json_subcolumns_parsing/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03273_better_json_subcolumns_parsing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03273_dynamic_pretty_json_serialization/ast.json b/parser/testdata/03273_dynamic_pretty_json_serialization/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03273_dynamic_pretty_json_serialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03273_format_inference_create_query_s3_url/ast.json b/parser/testdata/03273_format_inference_create_query_s3_url/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03273_format_inference_create_query_s3_url/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/ast.json b/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/ast.json deleted file mode 100644 index e0bd33cef3..0000000000 --- a/parser/testdata/03273_group_by_in_order_still_used_when_group_by_key_doesnt_match_order_by_key/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - }, - { - "name": "b", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03273_primary_index_cache/ast.json b/parser/testdata/03273_primary_index_cache/ast.json deleted file mode 100644 index 09287648b6..0000000000 --- a/parser/testdata/03273_primary_index_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_primary_index_cache", - "tables": [ - { - "table": "t_primary_index_cache" - } - ] -} diff --git a/parser/testdata/03273_primary_index_cache_low_cardinality/ast.json b/parser/testdata/03273_primary_index_cache_low_cardinality/ast.json deleted file mode 100644 index 09287648b6..0000000000 --- a/parser/testdata/03273_primary_index_cache_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_primary_index_cache", - "tables": [ - { - "table": "t_primary_index_cache" - } - ] -} diff --git a/parser/testdata/03274_aliases_in_udf/ast.json b/parser/testdata/03274_aliases_in_udf/ast.json deleted file mode 100644 index 8b3161462b..0000000000 --- a/parser/testdata/03274_aliases_in_udf/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "skip_redundant_aliases_in_udf", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/ast.json b/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/ast.json deleted file mode 100644 index 3c3a42a843..0000000000 --- a/parser/testdata/03274_dynamic_column_data_race_with_concurrent_hj/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "parallel_hash" - } - } - ] -} diff --git a/parser/testdata/03274_dynamic_column_sizes_vertical_merge/ast.json b/parser/testdata/03274_dynamic_column_sizes_vertical_merge/ast.json deleted file mode 100644 index 5c0b1116a3..0000000000 --- a/parser/testdata/03274_dynamic_column_sizes_vertical_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/ast.json b/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03274_grace_hash_max_joined_block_size_rows_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03274_join_algorithm_default/ast.json b/parser/testdata/03274_join_algorithm_default/ast.json deleted file mode 100644 index 6b49942a87..0000000000 --- a/parser/testdata/03274_join_algorithm_default/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_join_swap_table", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/03274_json_pretty_output/ast.json b/parser/testdata/03274_json_pretty_output/ast.json deleted file mode 100644 index 8a3fba6bf6..0000000000 --- a/parser/testdata/03274_json_pretty_output/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_named_columns_in_function_tuple", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03274_json_to_json_alter_nested_json/ast.json b/parser/testdata/03274_json_to_json_alter_nested_json/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03274_json_to_json_alter_nested_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03274_philipzucker/ast.json b/parser/testdata/03274_philipzucker/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03274_philipzucker/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03274_prewarm_primary_index_cache/ast.json b/parser/testdata/03274_prewarm_primary_index_cache/ast.json deleted file mode 100644 index a95570b70b..0000000000 --- a/parser/testdata/03274_prewarm_primary_index_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_prewarm_cache_rmt_1", - "tables": [ - { - "table": "t_prewarm_cache_rmt_1" - } - ] -} diff --git a/parser/testdata/03274_squashing_transform_sparse_bug/ast.json b/parser/testdata/03274_squashing_transform_sparse_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03274_squashing_transform_sparse_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/ast.json b/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03275_auto_cluster_functions_with_parallel_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03275_block_number_mutation/ast.json b/parser/testdata/03275_block_number_mutation/ast.json deleted file mode 100644 index 0b720539ee..0000000000 --- a/parser/testdata/03275_block_number_mutation/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t_block_number_delete", - "tables": [ - { - "table": "t_block_number_delete" - } - ], - "sync": true -} diff --git a/parser/testdata/03275_block_number_update/ast.json b/parser/testdata/03275_block_number_update/ast.json deleted file mode 100644 index 3200782c34..0000000000 --- a/parser/testdata/03275_block_number_update/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_block_number_mut", - "tables": [ - { - "table": "t_block_number_mut" - } - ] -} diff --git a/parser/testdata/03275_count_digits_argument_evaluation/ast.json b/parser/testdata/03275_count_digits_argument_evaluation/ast.json deleted file mode 100644 index 12612209fa..0000000000 --- a/parser/testdata/03275_count_digits_argument_evaluation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countDigits" - } - ] - } - ] -} diff --git a/parser/testdata/03275_matview_with_union/ast.json b/parser/testdata/03275_matview_with_union/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/03275_matview_with_union/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/03275_pr_any_join/ast.json b/parser/testdata/03275_pr_any_join/ast.json deleted file mode 100644 index 2759abc05b..0000000000 --- a/parser/testdata/03275_pr_any_join/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ], - "sync": true -} diff --git a/parser/testdata/03275_subcolumns_in_primary_key_bug/ast.json b/parser/testdata/03275_subcolumns_in_primary_key_bug/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/03275_subcolumns_in_primary_key_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/03276_database_backup_merge_tree_table_file_engine/ast.json b/parser/testdata/03276_database_backup_merge_tree_table_file_engine/ast.json deleted file mode 100644 index 73c3190487..0000000000 --- a/parser/testdata/03276_database_backup_merge_tree_table_file_engine/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "03276_test_database", - "drop_database": true -} diff --git a/parser/testdata/03276_empty_variant_type/ast.json b/parser/testdata/03276_empty_variant_type/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03276_empty_variant_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03276_functions_to_subcolumns_lc/ast.json b/parser/testdata/03276_functions_to_subcolumns_lc/ast.json deleted file mode 100644 index bf20ce088c..0000000000 --- a/parser/testdata/03276_functions_to_subcolumns_lc/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_map_lc", - "tables": [ - { - "table": "t_map_lc" - } - ] -} diff --git a/parser/testdata/03276_index_empty_part/ast.json b/parser/testdata/03276_index_empty_part/ast.json deleted file mode 100644 index a51993b3f0..0000000000 --- a/parser/testdata/03276_index_empty_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_empty_part", - "tables": [ - { - "table": "t_index_empty_part" - } - ] -} diff --git a/parser/testdata/03276_index_of_assume_sorted/ast.json b/parser/testdata/03276_index_of_assume_sorted/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03276_index_of_assume_sorted/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03276_merge_tree_index_lazy_load/ast.json b/parser/testdata/03276_merge_tree_index_lazy_load/ast.json deleted file mode 100644 index d9d742734a..0000000000 --- a/parser/testdata/03276_merge_tree_index_lazy_load/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_index_lazy_load", - "tables": [ - { - "table": "t_index_lazy_load" - } - ] -} diff --git a/parser/testdata/03276_parquet_output_compression_level/ast.json b/parser/testdata/03276_parquet_output_compression_level/ast.json deleted file mode 100644 index 35f47c6e64..0000000000 --- a/parser/testdata/03276_parquet_output_compression_level/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "parts": [ - "03276_parquet_custom_encoder_compression_level_1", - "parquet" - ] - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "id" - }, - { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "name" - }, - { - "expr": { - "left": { - "name": "now" - }, - "op": "+", - "right": { - "parts": [ - "number" - ] - } - }, - "alias": "timestamp" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - } - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03277_analyzer_array_join_fix/ast.json b/parser/testdata/03277_analyzer_array_join_fix/ast.json deleted file mode 100644 index 5f57860a2b..0000000000 --- a/parser/testdata/03277_analyzer_array_join_fix/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "if_not_exists": true, - "table": "repro", - "columns": [ - { - "name": "a", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "foos", - "type": { - "name": "Nested", - "parameters": [ - { - "name": "x", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/03277_dead_letter_queue_unsupported/ast.json b/parser/testdata/03277_dead_letter_queue_unsupported/ast.json deleted file mode 100644 index c23323a4f1..0000000000 --- a/parser/testdata/03277_dead_letter_queue_unsupported/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "qfilelog" - } - ] - } - ] -} diff --git a/parser/testdata/03277_join_adaptive_spill/ast.json b/parser/testdata/03277_join_adaptive_spill/ast.json deleted file mode 100644 index 5c5b8eda80..0000000000 --- a/parser/testdata/03277_join_adaptive_spill/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "adaptive_spill_03277_1", - "columns": [ - { - "name": "k", - "type": { - "name": "String" - } - }, - { - "name": "x", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03277_join_adaptive_spill_oom/ast.json b/parser/testdata/03277_join_adaptive_spill_oom/ast.json deleted file mode 100644 index 5c5b8eda80..0000000000 --- a/parser/testdata/03277_join_adaptive_spill_oom/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "adaptive_spill_03277_1", - "columns": [ - { - "name": "k", - "type": { - "name": "String" - } - }, - { - "name": "x", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03277_logging_elapsed_ns/ast.json b/parser/testdata/03277_logging_elapsed_ns/ast.json deleted file mode 100644 index 19ce206c60..0000000000 --- a/parser/testdata/03277_logging_elapsed_ns/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 42 - } - ], - "settings": [ - { - "name": "log_comment", - "value": { - "type": "String", - "value": "03277_logging_elapsed_ns" - } - } - ] - } - ] -} diff --git a/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/ast.json b/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/ast.json deleted file mode 100644 index 8ba0e174bf..0000000000 --- a/parser/testdata/03278_database_backup_merge_tree_table_disk_engine/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "03278_test_database", - "drop_database": true -} diff --git a/parser/testdata/03278_dateTime64_in_dateTime64_bug/ast.json b/parser/testdata/03278_dateTime64_in_dateTime64_bug/ast.json deleted file mode 100644 index 7f28f5ef66..0000000000 --- a/parser/testdata/03278_dateTime64_in_dateTime64_bug/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "table": "datetime64_issue", - "columns": [ - { - "name": "id", - "type": { - "name": "int" - } - }, - { - "name": "dt", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - }, - { - "name": "dtn", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ], - "primary_key": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03278_enum_in_unknown_value/ast.json b/parser/testdata/03278_enum_in_unknown_value/ast.json deleted file mode 100644 index 6d1471afa8..0000000000 --- a/parser/testdata/03278_enum_in_unknown_value/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_enum_in_unknown_value", - "tables": [ - { - "table": "t_enum_in_unknown_value" - } - ] -} diff --git a/parser/testdata/03278_enum_string_functions/ast.json b/parser/testdata/03278_enum_string_functions/ast.json deleted file mode 100644 index 781788b505..0000000000 --- a/parser/testdata/03278_enum_string_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_enum_string_functions", - "tables": [ - { - "table": "test_enum_string_functions" - } - ] -} diff --git a/parser/testdata/03279_array_normalized_gini/ast.json b/parser/testdata/03279_array_normalized_gini/ast.json deleted file mode 100644 index 36fca7a7c4..0000000000 --- a/parser/testdata/03279_array_normalized_gini/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayNormalizedGini", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0.9 - }, - { - "type": "Float", - "value": 0.3 - }, - { - "type": "Float", - "value": 0.8 - }, - { - "type": "Float", - "value": 0.7 - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 6 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03279_database_backup_database_disk_engine/ast.json b/parser/testdata/03279_database_backup_database_disk_engine/ast.json deleted file mode 100644 index aa0780df00..0000000000 --- a/parser/testdata/03279_database_backup_database_disk_engine/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "03279_test_database", - "drop_database": true -} diff --git a/parser/testdata/03279_join_choose_build_table/ast.json b/parser/testdata/03279_join_choose_build_table/ast.json deleted file mode 100644 index 84bcf25f7f..0000000000 --- a/parser/testdata/03279_join_choose_build_table/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_statistics_optimize", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03279_join_choose_build_table_auto_statistics/ast.json b/parser/testdata/03279_join_choose_build_table_auto_statistics/ast.json deleted file mode 100644 index 3cb5cf5061..0000000000 --- a/parser/testdata/03279_join_choose_build_table_auto_statistics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "products", - "tables": [ - { - "table": "products" - } - ] -} diff --git a/parser/testdata/03279_join_choose_build_table_statistics/ast.json b/parser/testdata/03279_join_choose_build_table_statistics/ast.json deleted file mode 100644 index 3cb5cf5061..0000000000 --- a/parser/testdata/03279_join_choose_build_table_statistics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "products", - "tables": [ - { - "table": "products" - } - ] -} diff --git a/parser/testdata/03279_not_empty_json/ast.json b/parser/testdata/03279_not_empty_json/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03279_not_empty_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03280_dynamic_if_null/ast.json b/parser/testdata/03280_dynamic_if_null/ast.json deleted file mode 100644 index ef62626932..0000000000 --- a/parser/testdata/03280_dynamic_if_null/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03281_dynamic_coalesce/ast.json b/parser/testdata/03281_dynamic_coalesce/ast.json deleted file mode 100644 index ef62626932..0000000000 --- a/parser/testdata/03281_dynamic_coalesce/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03282_block_number_otehr_mutations/ast.json b/parser/testdata/03282_block_number_otehr_mutations/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/03282_block_number_otehr_mutations/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03282_dynamic_in_functions_convert/ast.json b/parser/testdata/03282_dynamic_in_functions_convert/ast.json deleted file mode 100644 index ef62626932..0000000000 --- a/parser/testdata/03282_dynamic_in_functions_convert/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03282_highlight_trailing_whitespace_pretty/ast.json b/parser/testdata/03282_highlight_trailing_whitespace_pretty/ast.json deleted file mode 100644 index f05808ff49..0000000000 --- a/parser/testdata/03282_highlight_trailing_whitespace_pretty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_display_footer_column_names", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03282_join_distributed_no_columns/ast.json b/parser/testdata/03282_join_distributed_no_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03282_join_distributed_no_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03282_json_equal_comparison/ast.json b/parser/testdata/03282_json_equal_comparison/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03282_json_equal_comparison/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03282_materialized_views_ignore_errors/ast.json b/parser/testdata/03282_materialized_views_ignore_errors/ast.json deleted file mode 100644 index 4b590b3528..0000000000 --- a/parser/testdata/03282_materialized_views_ignore_errors/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03282_memory_transaction_crash/ast.json b/parser/testdata/03282_memory_transaction_crash/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03282_memory_transaction_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03283_json_binary_serialization_use_default_setttings/ast.json b/parser/testdata/03283_json_binary_serialization_use_default_setttings/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03283_json_binary_serialization_use_default_setttings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03283_optimize_on_insert_level/ast.json b/parser/testdata/03283_optimize_on_insert_level/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/03283_optimize_on_insert_level/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03284_json_object_as_tuple_duplicate_keys/ast.json b/parser/testdata/03284_json_object_as_tuple_duplicate_keys/ast.json deleted file mode 100644 index f2380f8931..0000000000 --- a/parser/testdata/03284_json_object_as_tuple_duplicate_keys/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "JSONEachRow" - ] - }, - { - "type": "String", - "value": "a Tuple(b UInt32)" - }, - { - "type": "String", - "value": "{\"a\" : {\"b\" : 1, \"b\" : 2}}" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03285_analyzer_array_join_nested/ast.json b/parser/testdata/03285_analyzer_array_join_nested/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03285_analyzer_array_join_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03285_analyzer_extract_common_expr_bug/ast.json b/parser/testdata/03285_analyzer_extract_common_expr_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03285_analyzer_extract_common_expr_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03285_analyzer_optimize_disjunctions/ast.json b/parser/testdata/03285_analyzer_optimize_disjunctions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03285_analyzer_optimize_disjunctions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03285_default_engine_with_settings/ast.json b/parser/testdata/03285_default_engine_with_settings/ast.json deleted file mode 100644 index 18f26a9d55..0000000000 --- a/parser/testdata/03285_default_engine_with_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "example_table", - "tables": [ - { - "table": "example_table" - } - ] -} diff --git a/parser/testdata/03285_materialize_ttl_only_drop_parts/ast.json b/parser/testdata/03285_materialize_ttl_only_drop_parts/ast.json deleted file mode 100644 index 15811bcdd2..0000000000 --- a/parser/testdata/03285_materialize_ttl_only_drop_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03285_mat_ttl", - "tables": [ - { - "table": "test_03285_mat_ttl" - } - ] -} diff --git a/parser/testdata/03285_parallel_replicas_one_replica/ast.json b/parser/testdata/03285_parallel_replicas_one_replica/ast.json deleted file mode 100644 index 1d90db2b41..0000000000 --- a/parser/testdata/03285_parallel_replicas_one_replica/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "src", - "columns": [ - { - "name": "y", - "type": { - "name": "Int8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "y" - ] - } - ], - "as_select": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } -} diff --git a/parser/testdata/03286_backup_to_memory/ast.json b/parser/testdata/03286_backup_to_memory/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03286_backup_to_memory/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03286_backup_to_null/ast.json b/parser/testdata/03286_backup_to_null/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03286_backup_to_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03286_collation_locale_with_modifier/ast.json b/parser/testdata/03286_collation_locale_with_modifier/ast.json deleted file mode 100644 index ef6798c359..0000000000 --- a/parser/testdata/03286_collation_locale_with_modifier/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Sort by standard Turkish locale" - } - ] - } - ] -} diff --git a/parser/testdata/03286_format_datetime_timezones/ast.json b/parser/testdata/03286_format_datetime_timezones/ast.json deleted file mode 100644 index 06387d5227..0000000000 --- a/parser/testdata/03286_format_datetime_timezones/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2024-12-11 12:34:56.000" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "US/Pacific" - } - ] - }, - { - "type": "String", - "value": "%W%z" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03286_parallel_replicas_cross_join_bug/ast.json b/parser/testdata/03286_parallel_replicas_cross_join_bug/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03286_parallel_replicas_cross_join_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03286_reverse_sorting_key_final/ast.json b/parser/testdata/03286_reverse_sorting_key_final/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03286_reverse_sorting_key_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03286_reverse_sorting_key_final2/ast.json b/parser/testdata/03286_reverse_sorting_key_final2/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03286_reverse_sorting_key_final2/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03286_serialization_hint_system_columns/ast.json b/parser/testdata/03286_serialization_hint_system_columns/ast.json deleted file mode 100644 index 6ebe42f277..0000000000 --- a/parser/testdata/03286_serialization_hint_system_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_serialization_hints", - "tables": [ - { - "table": "t_serialization_hints" - } - ] -} diff --git a/parser/testdata/03287_dynamic_and_json_squashing_fix/ast.json b/parser/testdata/03287_dynamic_and_json_squashing_fix/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03287_dynamic_and_json_squashing_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03287_format_datetime_mysqlfraction/ast.json b/parser/testdata/03287_format_datetime_mysqlfraction/ast.json deleted file mode 100644 index 74cf343c1b..0000000000 --- a/parser/testdata/03287_format_datetime_mysqlfraction/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Default settings" - } - ] - } - ] -} diff --git a/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/ast.json b/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03287_not_comparable_types_in_order_by_and_comparison_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03289_explain_syntax_statistics/ast.json b/parser/testdata/03289_explain_syntax_statistics/ast.json deleted file mode 100644 index 2c6fed955b..0000000000 --- a/parser/testdata/03289_explain_syntax_statistics/ast.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "table": "data_01247", - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03289_tuple_element_to_subcolumn/ast.json b/parser/testdata/03289_tuple_element_to_subcolumn/ast.json deleted file mode 100644 index 2023fe461f..0000000000 --- a/parser/testdata/03289_tuple_element_to_subcolumn/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_tuple_elem", - "tables": [ - { - "table": "t_tuple_elem" - } - ] -} diff --git a/parser/testdata/03290_final_collapsing/ast.json b/parser/testdata/03290_final_collapsing/ast.json deleted file mode 100644 index bea9af9e0c..0000000000 --- a/parser/testdata/03290_final_collapsing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_final_collapsing", - "tables": [ - { - "table": "t_final_collapsing" - } - ] -} diff --git a/parser/testdata/03290_final_replacing/ast.json b/parser/testdata/03290_final_replacing/ast.json deleted file mode 100644 index 00125bbf89..0000000000 --- a/parser/testdata/03290_final_replacing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_final_replacing", - "tables": [ - { - "table": "t_final_replacing" - } - ] -} diff --git a/parser/testdata/03290_final_sample/ast.json b/parser/testdata/03290_final_sample/ast.json deleted file mode 100644 index bedc564b90..0000000000 --- a/parser/testdata/03290_final_sample/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_sample_final", - "tables": [ - { - "table": "t_sample_final" - } - ] -} diff --git a/parser/testdata/03290_force_normal_projection/ast.json b/parser/testdata/03290_force_normal_projection/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/03290_force_normal_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/03290_mix_engine_and_query_settings/ast.json b/parser/testdata/03290_mix_engine_and_query_settings/ast.json deleted file mode 100644 index 2d8fe7ef81..0000000000 --- a/parser/testdata/03290_mix_engine_and_query_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03290_pr_non_replicated_in_subquery/ast.json b/parser/testdata/03290_pr_non_replicated_in_subquery/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/03290_pr_non_replicated_in_subquery/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/03291_collapsing_invalid_sign/ast.json b/parser/testdata/03291_collapsing_invalid_sign/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/03291_collapsing_invalid_sign/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/03291_json_big_structure_deserialization/ast.json b/parser/testdata/03291_json_big_structure_deserialization/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03291_json_big_structure_deserialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03291_low_cardinality_uuid/ast.json b/parser/testdata/03291_low_cardinality_uuid/ast.json deleted file mode 100644 index 0a5d674e4f..0000000000 --- a/parser/testdata/03291_low_cardinality_uuid/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "x", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "UUID" - } - ], - "has_parentheses": true - } - } - ] -} diff --git a/parser/testdata/03292_nullable_json_schema_inference/ast.json b/parser/testdata/03292_nullable_json_schema_inference/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03292_nullable_json_schema_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03296_bfloat16_ubsan/ast.json b/parser/testdata/03296_bfloat16_ubsan/ast.json deleted file mode 100644 index 9a5a20df32..0000000000 --- a/parser/testdata/03296_bfloat16_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_bfloat16_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03297_cut_column_name/ast.json b/parser/testdata/03297_cut_column_name/ast.json deleted file mode 100644 index 2087db7482..0000000000 --- a/parser/testdata/03297_cut_column_name/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_max_column_name_width_cut_to", - "value": { - "type": "Integer", - "value": 16 - } - } - ] -} diff --git a/parser/testdata/03298_analyzer_group_by_all_fix/ast.json b/parser/testdata/03298_analyzer_group_by_all_fix/ast.json deleted file mode 100644 index 75414d1529..0000000000 --- a/parser/testdata/03298_analyzer_group_by_all_fix/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03298_server_client_native_settings/ast.json b/parser/testdata/03298_server_client_native_settings/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03298_server_client_native_settings/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03298_vertical_columns/ast.json b/parser/testdata/03298_vertical_columns/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/03298_vertical_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03299_deep_nested_map_creation/ast.json b/parser/testdata/03299_deep_nested_map_creation/ast.json deleted file mode 100644 index 5053898f41..0000000000 --- a/parser/testdata/03299_deep_nested_map_creation/ast.json +++ /dev/null @@ -1,919 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "x", - "type": { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Map", - "parameters": [ - { - "name": "Int32" - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - }, - { - "name": "Int32" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03299_map_named_tuple/ast.json b/parser/testdata/03299_map_named_tuple/ast.json deleted file mode 100644 index 429bcd21c5..0000000000 --- a/parser/testdata/03299_map_named_tuple/ast.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mapConcat", - "arguments": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - }, - { - "name": "mapApply", - "arguments": [ - { - "parameters": [ - "x", - "y" - ], - "body": { - "type": "Tuple", - "value": [ - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "left": { - "parts": [ - "x" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - } - }, - { - "name": "map", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03299_pretty_squash/ast.json b/parser/testdata/03299_pretty_squash/ast.json deleted file mode 100644 index 84885d3842..0000000000 --- a/parser/testdata/03299_pretty_squash/ast.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "output_format_pretty_squash_consecutive_ms", - "value": { - "type": "Integer", - "value": 60000 - } - }, - { - "name": "output_format_pretty_squash_max_wait_ms", - "value": { - "type": "Integer", - "value": 60000 - } - } - ], - "format": { - "parts": [ - "PrettyCompact" - ] - } - } - ] -} diff --git a/parser/testdata/03300_generate_random_const_expr_params/ast.json b/parser/testdata/03300_generate_random_const_expr_params/ast.json deleted file mode 100644 index e7e6b9ab4c..0000000000 --- a/parser/testdata/03300_generate_random_const_expr_params/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int32" - } - } - ], - "engine": { - "name": "GenerateRandom", - "parameters": [ - { - "name": "rand" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03300_nested_json_empty_keys/ast.json b/parser/testdata/03300_nested_json_empty_keys/ast.json deleted file mode 100644 index 2e712796c6..0000000000 --- a/parser/testdata/03300_nested_json_empty_keys/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "{\"\" : {\"\" : {\"\" : 42}}}" - } - ] - }, - "type": { - "name": "JSON" - }, - "operator_syntax": true - } - ], - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03300_pretty_vertical_cut/ast.json b/parser/testdata/03300_pretty_vertical_cut/ast.json deleted file mode 100644 index d513e36979..0000000000 --- a/parser/testdata/03300_pretty_vertical_cut/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_max_rows", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03301_is_ipv4_string/ast.json b/parser/testdata/03301_is_ipv4_string/ast.json deleted file mode 100644 index ea0bc76f6e..0000000000 --- a/parser/testdata/03301_is_ipv4_string/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isIPv4String", - "arguments": [ - { - "type": "String", - "value": "1.1.1.1\u00001" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03301_subcolumns_in_mv/ast.json b/parser/testdata/03301_subcolumns_in_mv/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03301_subcolumns_in_mv/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03302_analyzer_distributed_filter_push_down/ast.json b/parser/testdata/03302_analyzer_distributed_filter_push_down/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03302_analyzer_distributed_filter_push_down/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03302_analyzer_join_filter_push_down_bug/ast.json b/parser/testdata/03302_analyzer_join_filter_push_down_bug/ast.json deleted file mode 100644 index 61369acbaf..0000000000 --- a/parser/testdata/03302_analyzer_join_filter_push_down_bug/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "key", - "type": { - "name": "Int32" - } - }, - { - "name": "value", - "type": { - "name": "DateTime" - } - } - ], - "engine": { - "name": "Log" - } -} diff --git a/parser/testdata/03302_any_enum_aggregation/ast.json b/parser/testdata/03302_any_enum_aggregation/ast.json deleted file mode 100644 index 808c61f79f..0000000000 --- a/parser/testdata/03302_any_enum_aggregation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_33602_t0a", - "tables": [ - { - "table": "test_33602_t0a" - } - ] -} diff --git a/parser/testdata/03302_merge_table_structure_unification/ast.json b/parser/testdata/03302_merge_table_structure_unification/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03302_merge_table_structure_unification/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03303_alias_inverse_order/ast.json b/parser/testdata/03303_alias_inverse_order/ast.json deleted file mode 100644 index ba00dd6b4a..0000000000 --- a/parser/testdata/03303_alias_inverse_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alias_inverse_order", - "tables": [ - { - "table": "test_alias_inverse_order" - } - ] -} diff --git a/parser/testdata/03303_distributed_explain/ast.json b/parser/testdata/03303_distributed_explain/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03303_distributed_explain/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03303_dynamic_in_not_xor/ast.json b/parser/testdata/03303_dynamic_in_not_xor/ast.json deleted file mode 100644 index ef62626932..0000000000 --- a/parser/testdata/03303_dynamic_in_not_xor/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03303_pretty_multiline/ast.json b/parser/testdata/03303_pretty_multiline/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/03303_pretty_multiline/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03304_compare_substrings/ast.json b/parser/testdata/03304_compare_substrings/ast.json deleted file mode 100644 index cf68fd1470..0000000000 --- a/parser/testdata/03304_compare_substrings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "compareSubstrings" - } - ] - } - ] -} diff --git a/parser/testdata/03304_fill_virtual_columns/ast.json b/parser/testdata/03304_fill_virtual_columns/ast.json deleted file mode 100644 index a382ce18fe..0000000000 --- a/parser/testdata/03304_fill_virtual_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_virtual_columns", - "tables": [ - { - "table": "test_virtual_columns" - } - ] -} diff --git a/parser/testdata/03304_pretty_fallback_to_vertical/ast.json b/parser/testdata/03304_pretty_fallback_to_vertical/ast.json deleted file mode 100644 index 812dc00fe6..0000000000 --- a/parser/testdata/03304_pretty_fallback_to_vertical/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "Hello, world" - }, - "alias": "x" - }, - { - "expr": { - "type": "String", - "value": "Goodbye" - }, - "alias": "y" - } - ], - "format": { - "parts": [ - "Pretty" - ] - } - } - ] -} diff --git a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/ast.json b/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03305_compressed_memory_eng_crash_reading_subcolumn/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03305_fix_kafka_table_with_kw_arguments/ast.json b/parser/testdata/03305_fix_kafka_table_with_kw_arguments/ast.json deleted file mode 100644 index 20bda508b3..0000000000 --- a/parser/testdata/03305_fix_kafka_table_with_kw_arguments/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "database": "default", - "table": "test", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt32" - } - }, - { - "name": "message", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Kafka", - "parameters": [ - { - "left": { - "parts": [ - "a" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "1" - } - }, - { - "type": "String", - "value": "clickhouse" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03305_log_unsupported_types/ast.json b/parser/testdata/03305_log_unsupported_types/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03305_log_unsupported_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03305_mergine_aggregated_filter_push_down/ast.json b/parser/testdata/03305_mergine_aggregated_filter_push_down/ast.json deleted file mode 100644 index ba3ba65010..0000000000 --- a/parser/testdata/03305_mergine_aggregated_filter_push_down/ast.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - }, - { - "name": "y", - "type": { - "name": "UInt32" - } - }, - { - "name": "z", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ], - "settings": [ - { - "name": "min_rows_for_wide_part", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_bytes_for_wide_part", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03306_materialized_vew_prewhere_supported_columns/ast.json b/parser/testdata/03306_materialized_vew_prewhere_supported_columns/ast.json deleted file mode 100644 index 74f01dcc5e..0000000000 --- a/parser/testdata/03306_materialized_vew_prewhere_supported_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dst", - "tables": [ - { - "table": "dst" - } - ] -} diff --git a/parser/testdata/03306_optimize_table_force_keyword/ast.json b/parser/testdata/03306_optimize_table_force_keyword/ast.json deleted file mode 100644 index dbc33f0874..0000000000 --- a/parser/testdata/03306_optimize_table_force_keyword/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03307_forbid_loop_table_function_as_engine/ast.json b/parser/testdata/03307_forbid_loop_table_function_as_engine/ast.json deleted file mode 100644 index accf47eaab..0000000000 --- a/parser/testdata/03307_forbid_loop_table_function_as_engine/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "col", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Loop" - } -} diff --git a/parser/testdata/03307_parallel_hash_max_joined_rows/ast.json b/parser/testdata/03307_parallel_hash_max_joined_rows/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03307_parallel_hash_max_joined_rows/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03310_aggregate_projection_count_nullable/ast.json b/parser/testdata/03310_aggregate_projection_count_nullable/ast.json deleted file mode 100644 index 923c5bdad8..0000000000 --- a/parser/testdata/03310_aggregate_projection_count_nullable/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "log", - "tables": [ - { - "table": "log" - } - ] -} diff --git a/parser/testdata/03310_index_hints_read_columns/ast.json b/parser/testdata/03310_index_hints_read_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03310_index_hints_read_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03310_materialized_view_with_bad_select/ast.json b/parser/testdata/03310_materialized_view_with_bad_select/ast.json deleted file mode 100644 index 80532b40b3..0000000000 --- a/parser/testdata/03310_materialized_view_with_bad_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_materialized_view_with_bad_select", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03311_constantnode/ast.json b/parser/testdata/03311_constantnode/ast.json deleted file mode 100644 index 46ccc2834f..0000000000 --- a/parser/testdata/03311_constantnode/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqUpTo", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "arguments": [ - { - "expr": { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "00" - } - ] - }, - "type": { - "name": "AggregateFunction(uniqUpTo(5), Nullable(Nothing))" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03311_issue_72265/ast.json b/parser/testdata/03311_issue_72265/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03311_issue_72265/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/ast.json b/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03311_min_max_count_projection_with_constant_partition_expr/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/ast.json b/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03311_subcolumns_in_default_and_materialized_expressions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03312_analyzer_unused_projection_fix/ast.json b/parser/testdata/03312_analyzer_unused_projection_fix/ast.json deleted file mode 100644 index 0e24713605..0000000000 --- a/parser/testdata/03312_analyzer_unused_projection_fix/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "a" - }, - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "b" - } - ] - }, - { - "columns": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "INTERSECT ALL" - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03312_explain_syntax_analyzer/ast.json b/parser/testdata/03312_explain_syntax_analyzer/ast.json deleted file mode 100644 index aa19dc5192..0000000000 --- a/parser/testdata/03312_explain_syntax_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_min_equality_disjunction_chain_length", - "value": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/03312_issue_74299/ast.json b/parser/testdata/03312_issue_74299/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03312_issue_74299/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03312_json_literal_remote/ast.json b/parser/testdata/03312_json_literal_remote/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03312_json_literal_remote/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03312_sparse_column_tuple/ast.json b/parser/testdata/03312_sparse_column_tuple/ast.json deleted file mode 100644 index 16ce06717e..0000000000 --- a/parser/testdata/03312_sparse_column_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dst_sparse", - "tables": [ - { - "table": "dst_sparse" - } - ] -} diff --git a/parser/testdata/03312_squashing_with_low_card_mem_usage/ast.json b/parser/testdata/03312_squashing_with_low_card_mem_usage/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03312_squashing_with_low_card_mem_usage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03312_system_errors_last_error/ast.json b/parser/testdata/03312_system_errors_last_error/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03312_system_errors_last_error/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03313_h3togeo_result_order/ast.json b/parser/testdata/03313_h3togeo_result_order/ast.json deleted file mode 100644 index c2768bfa49..0000000000 --- a/parser/testdata/03313_h3togeo_result_order/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "h3ToGeo", - "arguments": [ - { - "type": "Integer", - "value": 644325524701193974 - } - ] - } - ], - "settings": [ - { - "name": "h3togeo_lon_lat_result_order", - "value": { - "type": "Boolean", - "value": true - } - } - ] - } - ] -} diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/ast.json b/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/ast.json deleted file mode 100644 index dc6b944ac8..0000000000 --- a/parser/testdata/03314_analyzer_resolve_in_parent_scope_2/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "raw_id", - "type": { - "name": "String" - } - }, - { - "name": "columns_n", - "type": { - "name": "Nested", - "parameters": [ - { - "name": "col_1", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "col_2", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "raw_id" - ] - } - ] -} diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/ast.json b/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/ast.json deleted file mode 100644 index 9858d61a6d..0000000000 --- a/parser/testdata/03314_analyzer_resolve_in_parent_scope_3/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - }, - { - "name": "b", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/ast.json b/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03314_analyzer_resolve_in_parent_scope_4/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03314_divide_decimal_short_circuit/ast.json b/parser/testdata/03314_divide_decimal_short_circuit/ast.json deleted file mode 100644 index 0a5b081224..0000000000 --- a/parser/testdata/03314_divide_decimal_short_circuit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03314_divide_decimal_short_circuit", - "tables": [ - { - "table": "03314_divide_decimal_short_circuit" - } - ] -} diff --git a/parser/testdata/03314_empty_tuple_in_protobuf_format/ast.json b/parser/testdata/03314_empty_tuple_in_protobuf_format/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03314_empty_tuple_in_protobuf_format/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03314_grace_hash_join_buckets/ast.json b/parser/testdata/03314_grace_hash_join_buckets/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03314_grace_hash_join_buckets/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03314_has_column_in_table_alias_column/ast.json b/parser/testdata/03314_has_column_in_table_alias_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03314_has_column_in_table_alias_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/ast.json b/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03314_nullable_key_no_optimize_functions_to_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/ast.json b/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03314_summing_merge_tree_final_not_found_column_in_block/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03314_variant_rowbinary_file/ast.json b/parser/testdata/03314_variant_rowbinary_file/ast.json deleted file mode 100644 index 6cc23a72ae..0000000000 --- a/parser/testdata/03314_variant_rowbinary_file/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03315_analyzer_correlated_subqueries/ast.json b/parser/testdata/03315_analyzer_correlated_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03315_analyzer_correlated_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03315_join_on_optimize_pass_alias/ast.json b/parser/testdata/03315_join_on_optimize_pass_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03315_join_on_optimize_pass_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03315_join_temporary_table_names/ast.json b/parser/testdata/03315_join_temporary_table_names/ast.json deleted file mode 100644 index a449b160b9..0000000000 --- a/parser/testdata/03315_join_temporary_table_names/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "T1", - "tables": [ - { - "table": "T1" - } - ] -} diff --git a/parser/testdata/03315_quantile_bfloat16_ubsan/ast.json b/parser/testdata/03315_quantile_bfloat16_ubsan/ast.json deleted file mode 100644 index 50e6742734..0000000000 --- a/parser/testdata/03315_quantile_bfloat16_ubsan/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileBFloat16", - "arguments": [ - { - "expr": { - "type": "String", - "value": "2106-02-07 06:28:14" - }, - "type": { - "name": "DateTime", - "parameters": [ - { - "type": "String", - "value": "Europe/Amsterdam" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03315_trim_two_args/ast.json b/parser/testdata/03315_trim_two_args/ast.json deleted file mode 100644 index 3d5cc0aad9..0000000000 --- a/parser/testdata/03315_trim_two_args/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Basic custom character trimming" - } - ] - } - ] -} diff --git a/parser/testdata/03316_analyzer_unique_table_aliases_dist/ast.json b/parser/testdata/03316_analyzer_unique_table_aliases_dist/ast.json deleted file mode 100644 index fb8cd1ada8..0000000000 --- a/parser/testdata/03316_analyzer_unique_table_aliases_dist/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "settings": [ - { - "name": "max_parallel_replicas", - "value": { - "type": "Integer", - "value": 3 - } - }, - { - "name": "cluster_for_parallel_replicas", - "value": { - "type": "String", - "value": "test_cluster_one_shard_three_replicas_localhost" - } - }, - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "parallel_replicas_for_non_replicated_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03317_index_hint_prewhere/ast.json b/parser/testdata/03317_index_hint_prewhere/ast.json deleted file mode 100644 index 670f34ae8b..0000000000 --- a/parser/testdata/03317_index_hint_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_indexHint_prewhere", - "tables": [ - { - "table": "test_indexHint_prewhere" - } - ] -} diff --git a/parser/testdata/03317_pretty_fallback_to_vertical_consistent/ast.json b/parser/testdata/03317_pretty_fallback_to_vertical_consistent/ast.json deleted file mode 100644 index b7d9bffea5..0000000000 --- a/parser/testdata/03317_pretty_fallback_to_vertical_consistent/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_fallback_to_vertical_min_columns", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03318_ubsan_resample_arguments_count/ast.json b/parser/testdata/03318_ubsan_resample_arguments_count/ast.json deleted file mode 100644 index e9591d4476..0000000000 --- a/parser/testdata/03318_ubsan_resample_arguments_count/ast.json +++ /dev/null @@ -1,124 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileResampleMerge", - "parameters": [ - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Integer", - "value": 257 - }, - { - "type": "Integer", - "value": 65536 - }, - { - "type": "Integer", - "value": 1 - } - ], - "arguments": [ - { - "tuple": { - "name": "tuple", - "arguments": [ - {} - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "quantileResampleState", - "parameters": [ - { - "type": "Float", - "value": 0.1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 42 - } - ], - "arguments": [ - { - "name": "murmurHash3_128", - "arguments": [ - { - "type": "Integer", - "value": 88 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/ast.json b/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/ast.json deleted file mode 100644 index 5c511c5ac2..0000000000 --- a/parser/testdata/03319_concurrent_hash_join_double_preallocation_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "lhs", - "tables": [ - { - "table": "lhs" - } - ] -} diff --git a/parser/testdata/03321_functions_to_subcolumns_skip_index/ast.json b/parser/testdata/03321_functions_to_subcolumns_skip_index/ast.json deleted file mode 100644 index 5dffbf352b..0000000000 --- a/parser/testdata/03321_functions_to_subcolumns_skip_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "bloom_filter_test", - "tables": [ - { - "table": "bloom_filter_test" - } - ] -} diff --git a/parser/testdata/03321_inner_materialized_view_nested/ast.json b/parser/testdata/03321_inner_materialized_view_nested/ast.json deleted file mode 100644 index 83f3909a83..0000000000 --- a/parser/testdata/03321_inner_materialized_view_nested/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "flatten_nested", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03321_join_on_is_null_lowcardinality/ast.json b/parser/testdata/03321_join_on_is_null_lowcardinality/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03321_join_on_is_null_lowcardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03321_system_tables_parametrized_view_params/ast.json b/parser/testdata/03321_system_tables_parametrized_view_params/ast.json deleted file mode 100644 index d09fb51718..0000000000 --- a/parser/testdata/03321_system_tables_parametrized_view_params/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "raw_data", - "tables": [ - { - "table": "raw_data" - } - ] -} diff --git a/parser/testdata/03322_check_count_for_parquet_in_s3/ast.json b/parser/testdata/03322_check_count_for_parquet_in_s3/ast.json deleted file mode 100644 index d13d63ba3b..0000000000 --- a/parser/testdata/03322_check_count_for_parquet_in_s3/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "03322_*.parquet" - } - }, - { - "left": { - "parts": [ - "format" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Parquet" - } - }, - { - "left": { - "parts": [ - "structure" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "a Int, b Int, c Int" - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03322_initial_query_start_time_check/ast.json b/parser/testdata/03322_initial_query_start_time_check/ast.json deleted file mode 100644 index 03dac8cb94..0000000000 --- a/parser/testdata/03322_initial_query_start_time_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tmp", - "tables": [ - { - "table": "tmp" - } - ] -} diff --git a/parser/testdata/03322_materialized_view_ignore_errors_url/ast.json b/parser/testdata/03322_materialized_view_ignore_errors_url/ast.json deleted file mode 100644 index 664c4a15a4..0000000000 --- a/parser/testdata/03322_materialized_view_ignore_errors_url/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "src", - "tables": [ - { - "table": "src" - } - ] -} diff --git a/parser/testdata/03323_bfloat16_least_supertype/ast.json b/parser/testdata/03323_bfloat16_least_supertype/ast.json deleted file mode 100644 index a8c20fbc39..0000000000 --- a/parser/testdata/03323_bfloat16_least_supertype/ast.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "d" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 4 - } - }, - { - "parts": [ - "d" - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "type": { - "name": "BFloat16" - }, - "operator_syntax": true - } - ], - "alias": "d" - } - ] - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03324_aggregating_merge_tree_final_extremes/ast.json b/parser/testdata/03324_aggregating_merge_tree_final_extremes/ast.json deleted file mode 100644 index 6bf3e3dfe9..0000000000 --- a/parser/testdata/03324_aggregating_merge_tree_final_extremes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t03324", - "tables": [ - { - "table": "t03324" - } - ] -} diff --git a/parser/testdata/03325_alter_modify_projection_primary_key_column/ast.json b/parser/testdata/03325_alter_modify_projection_primary_key_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03325_alter_modify_projection_primary_key_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/ast.json b/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03325_count_summing_merge_tree_order_by_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03325_distributed_join_json_array_subcolumns/ast.json b/parser/testdata/03325_distributed_join_json_array_subcolumns/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03325_distributed_join_json_array_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03326_parallel_replicas_out_of_range/ast.json b/parser/testdata/03326_parallel_replicas_out_of_range/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03326_parallel_replicas_out_of_range/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03326_toStartOfNanosecond_ubsan/ast.json b/parser/testdata/03326_toStartOfNanosecond_ubsan/ast.json deleted file mode 100644 index a5cec40ec0..0000000000 --- a/parser/testdata/03326_toStartOfNanosecond_ubsan/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toStartOfNanosecond", - "arguments": [ - { - "expr": { - "type": "String", - "value": "2263-01-01 00:00:00" - }, - "type": { - "name": "DateTime64" - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03327_alias_column_constant/ast.json b/parser/testdata/03327_alias_column_constant/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03327_alias_column_constant/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03327_hypothesis_index_sanity/ast.json b/parser/testdata/03327_hypothesis_index_sanity/ast.json deleted file mode 100644 index 2496f32ee8..0000000000 --- a/parser/testdata/03327_hypothesis_index_sanity/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "t3", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ], - "indexes": [ - { - "name": "i", - "expression": { - "parts": [ - "x" - ] - }, - "type": { - "name": "hypothesis" - }, - "granularity": { - "type": "Integer", - "value": 100 - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03328_formatting_assignment_expression/ast.json b/parser/testdata/03328_formatting_assignment_expression/ast.json deleted file mode 100644 index 8dcb4e6507..0000000000 --- a/parser/testdata/03328_formatting_assignment_expression/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatQuerySingleLine", - "arguments": [ - { - "type": "String", - "value": "ALTER TABLE t (UPDATE c = (1 AS a) WHERE true)" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/ast.json b/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/ast.json deleted file mode 100644 index f66b102ca7..0000000000 --- a/parser/testdata/03333_merge_table_total_rows_no_database_system_tables_exception/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "test_03333", - "drop_database": true -} diff --git a/parser/testdata/03334_aliases_function_infinite_loop/ast.json b/parser/testdata/03334_aliases_function_infinite_loop/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03334_aliases_function_infinite_loop/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03340_projections_formatting/ast.json b/parser/testdata/03340_projections_formatting/ast.json deleted file mode 100644 index e03eb6e3a6..0000000000 --- a/parser/testdata/03340_projections_formatting/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "user_id", - "type": { - "name": "UInt64" - } - }, - { - "name": "item_id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": null - } - ] -} diff --git a/parser/testdata/03340_transform_logical_error_fix/ast.json b/parser/testdata/03340_transform_logical_error_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03340_transform_logical_error_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03350_alter_table_fetch_partition_thread_pool/ast.json b/parser/testdata/03350_alter_table_fetch_partition_thread_pool/ast.json deleted file mode 100644 index c798391a30..0000000000 --- a/parser/testdata/03350_alter_table_fetch_partition_thread_pool/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data1", - "tables": [ - { - "table": "data1" - } - ] -} diff --git a/parser/testdata/03352_allow_suspicious_ttl/ast.json b/parser/testdata/03352_allow_suspicious_ttl/ast.json deleted file mode 100644 index cf3b7f27df..0000000000 --- a/parser/testdata/03352_allow_suspicious_ttl/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_ttl_expressions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03352_distinct_sorted_bug/ast.json b/parser/testdata/03352_distinct_sorted_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03352_distinct_sorted_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03352_lazy_column_filter_by_uint8/ast.json b/parser/testdata/03352_lazy_column_filter_by_uint8/ast.json deleted file mode 100644 index 5316b0e6f8..0000000000 --- a/parser/testdata/03352_lazy_column_filter_by_uint8/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_filter", - "tables": [ - { - "table": "t_filter" - } - ] -} diff --git a/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/ast.json b/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/ast.json deleted file mode 100644 index 80fe6886be..0000000000 --- a/parser/testdata/03353_codec_zstd_doubledelta_data_corruption/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_codecs", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03354_translate_crap/ast.json b/parser/testdata/03354_translate_crap/ast.json deleted file mode 100644 index 532a54b923..0000000000 --- a/parser/testdata/03354_translate_crap/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "translate", - "arguments": [ - { - "type": "String", - "value": "aAbBcC" - }, - { - "type": "String", - "value": "abc" - }, - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "12" - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ], - "alias": "a" - }, - { - "name": "toTypeName", - "arguments": [ - { - "parts": [ - "a" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03355_array_join_subcolumns/ast.json b/parser/testdata/03355_array_join_subcolumns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03355_array_join_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03355_issue_31183/ast.json b/parser/testdata/03355_issue_31183/ast.json deleted file mode 100644 index 18b54ae745..0000000000 --- a/parser/testdata/03355_issue_31183/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "table": "test1", - "columns": [ - { - "name": "col", - "type": { - "name": "UInt64" - } - }, - { - "name": "col_sq", - "type": { - "name": "UInt64" - }, - "default": { - "left": { - "parts": [ - "col" - ] - }, - "op": "*", - "right": { - "parts": [ - "col" - ] - } - }, - "default_kind": "MATERIALIZED" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ], - "partition_by": { - "name": "tuple" - } -} diff --git a/parser/testdata/03355_issue_32743/ast.json b/parser/testdata/03355_issue_32743/ast.json deleted file mode 100644 index 7931ca1e3a..0000000000 --- a/parser/testdata/03355_issue_32743/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "table": "distributor", - "columns": [ - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03355_join_to_in_optimization/ast.json b/parser/testdata/03355_join_to_in_optimization/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03355_join_to_in_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03355_mergetree_table_disk/ast.json b/parser/testdata/03355_mergetree_table_disk/ast.json deleted file mode 100644 index 70a4a9735e..0000000000 --- a/parser/testdata/03355_mergetree_table_disk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uk_price_paid", - "tables": [ - { - "table": "uk_price_paid" - } - ] -} diff --git a/parser/testdata/03356_analyzer_qualified_matcher_error/ast.json b/parser/testdata/03356_analyzer_qualified_matcher_error/ast.json deleted file mode 100644 index c2a20a51f0..0000000000 --- a/parser/testdata/03356_analyzer_qualified_matcher_error/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "test_table", - "columns": [ - { - "name": "smt", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "smt" - ] - } - ] -} diff --git a/parser/testdata/03356_analyzer_unused_scalar_subquery/ast.json b/parser/testdata/03356_analyzer_unused_scalar_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03356_analyzer_unused_scalar_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03356_array_join_subcolumns_indexes/ast.json b/parser/testdata/03356_array_join_subcolumns_indexes/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03356_array_join_subcolumns_indexes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03356_postgresql_mysql_endpoint_parsing/ast.json b/parser/testdata/03356_postgresql_mysql_endpoint_parsing/ast.json deleted file mode 100644 index 3efb7ab3c1..0000000000 --- a/parser/testdata/03356_postgresql_mysql_endpoint_parsing/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tablefunc01", - "tables": [ - { - "table": "tablefunc01" - } - ] -} diff --git a/parser/testdata/03356_pull_entry_before_detach_part/ast.json b/parser/testdata/03356_pull_entry_before_detach_part/ast.json deleted file mode 100644 index 3a922b7924..0000000000 --- a/parser/testdata/03356_pull_entry_before_detach_part/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "insert_keeper_fault_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/ast.json b/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03356_tables_with_binary_identifiers_invalid_utf8/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03356_threshold_for_parallel_hash/ast.json b/parser/testdata/03356_threshold_for_parallel_hash/ast.json deleted file mode 100644 index 07dab575d7..0000000000 --- a/parser/testdata/03356_threshold_for_parallel_hash/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "lhs", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": null - } - ] -} diff --git a/parser/testdata/03357_analyzer_insert_view/ast.json b/parser/testdata/03357_analyzer_insert_view/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03357_analyzer_insert_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03357_arraySymmetricDifference/ast.json b/parser/testdata/03357_arraySymmetricDifference/ast.json deleted file mode 100644 index 6415fa5f4f..0000000000 --- a/parser/testdata/03357_arraySymmetricDifference/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/03357_block_structure_union_step/ast.json b/parser/testdata/03357_block_structure_union_step/ast.json deleted file mode 100644 index 118ced26c5..0000000000 --- a/parser/testdata/03357_block_structure_union_step/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "table": "pk_block_union", - "columns": [ - { - "name": "d", - "type": { - "name": "Date" - }, - "default": { - "type": "String", - "value": "2000-01-01" - }, - "default_kind": "DEFAULT" - }, - { - "name": "x", - "type": { - "name": "DateTime" - } - }, - { - "name": "y", - "type": { - "name": "UInt64" - } - }, - { - "name": "z", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "name": "toStartOfMinute", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "parts": [ - "y" - ] - }, - { - "parts": [ - "z" - ] - } - ] - } - ], - "partition_by": { - "parts": [ - "d" - ] - } -} diff --git a/parser/testdata/03357_check_contraints_null_syntax/ast.json b/parser/testdata/03357_check_contraints_null_syntax/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03357_check_contraints_null_syntax/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03357_jit_strikes_again/ast.json b/parser/testdata/03357_jit_strikes_again/ast.json deleted file mode 100644 index 418e681972..0000000000 --- a/parser/testdata/03357_jit_strikes_again/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "min_count_to_compile_expression", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03357_join_pk_sharding/ast.json b/parser/testdata/03357_join_pk_sharding/ast.json deleted file mode 100644 index 84bcf25f7f..0000000000 --- a/parser/testdata/03357_join_pk_sharding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_statistics_optimize", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03357_recursive_cte_no_logical_error/ast.json b/parser/testdata/03357_recursive_cte_no_logical_error/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03357_recursive_cte_no_logical_error/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03357_storage_join_mv_context/ast.json b/parser/testdata/03357_storage_join_mv_context/ast.json deleted file mode 100644 index 85747e103f..0000000000 --- a/parser/testdata/03357_storage_join_mv_context/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "table": "destination_join", - "columns": [ - { - "name": "key", - "type": { - "name": "String" - } - }, - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "color", - "type": { - "name": "String" - } - }, - { - "name": "section", - "type": { - "name": "String" - } - }, - { - "name": "description", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Join", - "parameters": [ - { - "parts": [ - "ANY" - ] - }, - { - "parts": [ - "LEFT" - ] - }, - { - "parts": [ - "key" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03357_with_cube_with_totals_assertion/ast.json b/parser/testdata/03357_with_cube_with_totals_assertion/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03357_with_cube_with_totals_assertion/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03358_block_structure_match/ast.json b/parser/testdata/03358_block_structure_match/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03358_block_structure_match/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03358_lambda_resolution_segfault_analyzer/ast.json b/parser/testdata/03358_lambda_resolution_segfault_analyzer/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03358_lambda_resolution_segfault_analyzer/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03359_analyzer_rewrite_view_query/ast.json b/parser/testdata/03359_analyzer_rewrite_view_query/ast.json deleted file mode 100644 index d498c429ce..0000000000 --- a/parser/testdata/03359_analyzer_rewrite_view_query/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "mydestination", - "columns": [ - { - "name": "object", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "object" - ] - } - ] -} diff --git a/parser/testdata/03359_point_in_polygon_index/ast.json b/parser/testdata/03359_point_in_polygon_index/ast.json deleted file mode 100644 index a9e9bab9bc..0000000000 --- a/parser/testdata/03359_point_in_polygon_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_point_in_polygon", - "tables": [ - { - "table": "t_point_in_polygon" - } - ] -} diff --git a/parser/testdata/03359_ub_merging_aggregated_transform/ast.json b/parser/testdata/03359_ub_merging_aggregated_transform/ast.json deleted file mode 100644 index 1916cacb09..0000000000 --- a/parser/testdata/03359_ub_merging_aggregated_transform/ast.json +++ /dev/null @@ -1,225 +0,0 @@ -{ - "table": "t_having", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int32" - } - }, - { - "name": "c1", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "c0" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 18398 - } - }, - { - "name": "min_bytes_for_wide_part", - "value": { - "type": "Integer", - "value": 985217954 - } - }, - { - "name": "ratio_of_defaults_for_sparse_serialization", - "value": { - "type": "Float", - "value": 0.5019329786300659 - } - }, - { - "name": "replace_long_file_name_to_hash", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "max_file_name_length", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_bytes_for_full_part_storage", - "value": { - "type": "Integer", - "value": 536870912 - } - }, - { - "name": "compact_parts_max_bytes_to_buffer", - "value": { - "type": "Integer", - "value": 3894513 - } - }, - { - "name": "compact_parts_max_granules_to_buffer", - "value": { - "type": "Integer", - "value": 216 - } - }, - { - "name": "compact_parts_merge_max_bytes_to_prefetch_part", - "value": { - "type": "Integer", - "value": 27835806 - } - }, - { - "name": "merge_max_block_size", - "value": { - "type": "Integer", - "value": 17883 - } - }, - { - "name": "old_parts_lifetime", - "value": { - "type": "Float", - "value": 196 - } - }, - { - "name": "prefer_fetch_merged_part_size_threshold", - "value": { - "type": "Integer", - "value": 10737418240 - } - }, - { - "name": "vertical_merge_algorithm_min_rows_to_activate", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "vertical_merge_algorithm_min_columns_to_activate", - "value": { - "type": "Integer", - "value": 100 - } - }, - { - "name": "min_merge_bytes_to_use_direct_io", - "value": { - "type": "Integer", - "value": 6973717094 - } - }, - { - "name": "index_granularity_bytes", - "value": { - "type": "Integer", - "value": 26319752 - } - }, - { - "name": "use_const_adaptive_granularity", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "enable_index_granularity_compression", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "concurrent_part_removal_threshold", - "value": { - "type": "Integer", - "value": 31 - } - }, - { - "name": "allow_vertical_merges_from_compact_to_wide_parts", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "enable_block_number_column", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "enable_block_offset_column", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "cache_populated_by_fetch", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "marks_compress_block_size", - "value": { - "type": "Integer", - "value": 64286 - } - }, - { - "name": "primary_key_compress_block_size", - "value": { - "type": "Integer", - "value": 40716 - } - }, - { - "name": "use_primary_key_cache", - "value": { - "type": "Boolean", - "value": false - } - }, - { - "name": "prewarm_primary_key_cache", - "value": { - "type": "Boolean", - "value": true - } - }, - { - "name": "prewarm_mark_cache", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/03360_any_join_parallel_hash_bug/ast.json b/parser/testdata/03360_any_join_parallel_hash_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03360_any_join_parallel_hash_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03360_bool_remote/ast.json b/parser/testdata/03360_bool_remote/ast.json deleted file mode 100644 index 8d55cb7ec6..0000000000 --- a/parser/testdata/03360_bool_remote/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Boolean", - "value": true - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.0.0.{1,2}" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03362_filter_transform_profile_events/ast.json b/parser/testdata/03362_filter_transform_profile_events/ast.json deleted file mode 100644 index 9448f5c4ba..0000000000 --- a/parser/testdata/03362_filter_transform_profile_events/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - }, - "limit": { - "type": "Integer", - "value": 100 - } - } - ] -} diff --git a/parser/testdata/03362_iceberg_table_with_confusing_name/ast.json b/parser/testdata/03362_iceberg_table_with_confusing_name/ast.json deleted file mode 100644 index 3ef77a0681..0000000000 --- a/parser/testdata/03362_iceberg_table_with_confusing_name/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "est" - } - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03362_join_on_filterpushdown/ast.json b/parser/testdata/03362_join_on_filterpushdown/ast.json deleted file mode 100644 index 3eb390e577..0000000000 --- a/parser/testdata/03362_join_on_filterpushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03362_join_where_false_76670/ast.json b/parser/testdata/03362_join_where_false_76670/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03362_join_where_false_76670/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03362_optimize_using_constraints_type_mismatch/ast.json b/parser/testdata/03362_optimize_using_constraints_type_mismatch/ast.json deleted file mode 100644 index 4c3c6aba76..0000000000 --- a/parser/testdata/03362_optimize_using_constraints_type_mismatch/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_using_constraints", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "convert_query_to_cnf", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/ast.json b/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/ast.json deleted file mode 100644 index cd1010d0fa..0000000000 --- a/parser/testdata/03362_reverse_sorting_key_explicit_primary_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x1", - "tables": [ - { - "table": "x1" - } - ] -} diff --git a/parser/testdata/03363_constant_nullable_key/ast.json b/parser/testdata/03363_constant_nullable_key/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03363_constant_nullable_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03363_estimate_compression_ratio_validation/ast.json b/parser/testdata/03363_estimate_compression_ratio_validation/ast.json deleted file mode 100644 index e96b6eefc8..0000000000 --- a/parser/testdata/03363_estimate_compression_ratio_validation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_for_estimate_compression_ratio", - "tables": [ - { - "table": "test_table_for_estimate_compression_ratio" - } - ] -} diff --git a/parser/testdata/03363_function_keccak256/ast.json b/parser/testdata/03363_function_keccak256/ast.json deleted file mode 100644 index 4e9214ea25..0000000000 --- a/parser/testdata/03363_function_keccak256/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "keccak256", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03363_hive_style_partition/ast.json b/parser/testdata/03363_hive_style_partition/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03363_hive_style_partition/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03363_qbit_create_insert_select/ast.json b/parser/testdata/03363_qbit_create_insert_select/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03363_qbit_create_insert_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03363_read_json_and_subcolumns_from_view/ast.json b/parser/testdata/03363_read_json_and_subcolumns_from_view/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03363_read_json_and_subcolumns_from_view/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03364_gorilla_codec_parameters/ast.json b/parser/testdata/03364_gorilla_codec_parameters/ast.json deleted file mode 100644 index 80fe6886be..0000000000 --- a/parser/testdata/03364_gorilla_codec_parameters/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_codecs", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03364_pretty_json_bool/ast.json b/parser/testdata/03364_pretty_json_bool/ast.json deleted file mode 100644 index fada84222c..0000000000 --- a/parser/testdata/03364_pretty_json_bool/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Boolean", - "value": true - }, - "alias": "a" - }, - { - "expr": { - "type": "Boolean", - "value": false - }, - "alias": "b" - } - ], - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ], - "format": { - "parts": [ - "JSON" - ] - } - } - ] -} diff --git a/parser/testdata/03364_qbit_negative/ast.json b/parser/testdata/03364_qbit_negative/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03364_qbit_negative/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03364_s3_globbed_path_in_bucket_portion/ast.json b/parser/testdata/03364_s3_globbed_path_in_bucket_portion/ast.json deleted file mode 100644 index 44f1a02c94..0000000000 --- a/parser/testdata/03364_s3_globbed_path_in_bucket_portion/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "s3_03364", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "S3", - "parameters": [ - { - "type": "String", - "value": "http://{_partition_id}.s3.region.amazonaws.com/key" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03364_ttl_should_recalculate_minmax_index/ast.json b/parser/testdata/03364_ttl_should_recalculate_minmax_index/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/03364_ttl_should_recalculate_minmax_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/03364_with_fill_select_from_cluster_view/ast.json b/parser/testdata/03364_with_fill_select_from_cluster_view/ast.json deleted file mode 100644 index 3e17ce0d0a..0000000000 --- a/parser/testdata/03364_with_fill_select_from_cluster_view/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "param_CurrentStart", - "value": { - "type": "String", - "value": "2025-02-09" - } - }, - { - "name": "param_CurrentEnd", - "value": { - "type": "String", - "value": "2025-02-11" - } - } - ] -} diff --git a/parser/testdata/03365_bind_host/ast.json b/parser/testdata/03365_bind_host/ast.json deleted file mode 100644 index eec874c127..0000000000 --- a/parser/testdata/03365_bind_host/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mem1", - "tables": [ - { - "table": "mem1" - } - ] -} diff --git a/parser/testdata/03365_csv_time_deserialization_bug/ast.json b/parser/testdata/03365_csv_time_deserialization_bug/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_csv_time_deserialization_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_dynamic_column_datetime/ast.json b/parser/testdata/03365_dynamic_column_datetime/ast.json deleted file mode 100644 index ef62626932..0000000000 --- a/parser/testdata/03365_dynamic_column_datetime/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_if_time_time64/ast.json b/parser/testdata/03365_if_time_time64/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_if_time_time64/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_json_with_variant_subcolumn/ast.json b/parser/testdata/03365_json_with_variant_subcolumn/ast.json deleted file mode 100644 index d6e946d73c..0000000000 --- a/parser/testdata/03365_json_with_variant_subcolumn/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_parsing_time_time64_short/ast.json b/parser/testdata/03365_parsing_time_time64_short/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_parsing_time_time64_short/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_qbit_casts_as_from_array/ast.json b/parser/testdata/03365_qbit_casts_as_from_array/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03365_qbit_casts_as_from_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_read_negative_time_implicitly/ast.json b/parser/testdata/03365_read_negative_time_implicitly/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_read_negative_time_implicitly/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time64_casts/ast.json b/parser/testdata/03365_time64_casts/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time64_casts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time64_from_datetime_timezone_respect/ast.json b/parser/testdata/03365_time64_from_datetime_timezone_respect/ast.json deleted file mode 100644 index d6febeedca..0000000000 --- a/parser/testdata/03365_time64_from_datetime_timezone_respect/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_implicit_conversion/ast.json b/parser/testdata/03365_time_implicit_conversion/ast.json deleted file mode 100644 index d6febeedca..0000000000 --- a/parser/testdata/03365_time_implicit_conversion/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_in_json/ast.json b/parser/testdata/03365_time_in_json/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time_in_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_parsing_msan_issue/ast.json b/parser/testdata/03365_time_parsing_msan_issue/ast.json deleted file mode 100644 index 24bf768796..0000000000 --- a/parser/testdata/03365_time_parsing_msan_issue/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Boolean", - "value": false - } - } - ] -} diff --git a/parser/testdata/03365_time_prewhere_supertype_bug/ast.json b/parser/testdata/03365_time_prewhere_supertype_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03365_time_prewhere_supertype_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_aggregate_functions/ast.json b/parser/testdata/03365_time_time64_aggregate_functions/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time_time64_aggregate_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_as_primary_key/ast.json b/parser/testdata/03365_time_time64_as_primary_key/ast.json deleted file mode 100644 index d6febeedca..0000000000 --- a/parser/testdata/03365_time_time64_as_primary_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_best_effort_parsing/ast.json b/parser/testdata/03365_time_time64_best_effort_parsing/ast.json deleted file mode 100644 index 3f2fb10316..0000000000 --- a/parser/testdata/03365_time_time64_best_effort_parsing/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "best_effort" - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_cap_max_time/ast.json b/parser/testdata/03365_time_time64_cap_max_time/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_cap_max_time/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_comparison/ast.json b/parser/testdata/03365_time_time64_comparison/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_comparison/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_conversions/ast.json b/parser/testdata/03365_time_time64_conversions/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03365_time_time64_conversions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_extreme_values/ast.json b/parser/testdata/03365_time_time64_extreme_values/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_extreme_values/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_insertion_bug/ast.json b/parser/testdata/03365_time_time64_insertion_bug/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time_time64_insertion_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_operations/ast.json b/parser/testdata/03365_time_time64_operations/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03365_time_time64_operations/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_parsing/ast.json b/parser/testdata/03365_time_time64_parsing/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_parsing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_supertype/ast.json b/parser/testdata/03365_time_time64_supertype/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_supertype/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_time64_without_timezone/ast.json b/parser/testdata/03365_time_time64_without_timezone/ast.json deleted file mode 100644 index ab59b89a11..0000000000 --- a/parser/testdata/03365_time_time64_without_timezone/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_legacy_to_time", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03365_time_timezone_issue/ast.json b/parser/testdata/03365_time_timezone_issue/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time_timezone_issue/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_time_to_time64_conv_bug/ast.json b/parser/testdata/03365_time_to_time64_conv_bug/ast.json deleted file mode 100644 index 2ff38775ab..0000000000 --- a/parser/testdata/03365_time_to_time64_conv_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03365_use_legacy_to_time/ast.json b/parser/testdata/03365_use_legacy_to_time/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03365_use_legacy_to_time/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03365_variant_bool_parsing/ast.json b/parser/testdata/03365_variant_bool_parsing/ast.json deleted file mode 100644 index 6cc23a72ae..0000000000 --- a/parser/testdata/03365_variant_bool_parsing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03366_qbit_array_map_populate/ast.json b/parser/testdata/03366_qbit_array_map_populate/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03366_qbit_array_map_populate/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03366_with_fill_dag/ast.json b/parser/testdata/03366_with_fill_dag/ast.json deleted file mode 100644 index 2da1c9c808..0000000000 --- a/parser/testdata/03366_with_fill_dag/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - }, - "with_fill": true, - "fill_step": { - "type": "Integer", - "value": 1 - } - }, - { - "expression": { - "type": "String", - "value": "aaa" - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "limit_by": [ - { - "parts": [ - "number" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03367_bfloat16_tuple_final/ast.json b/parser/testdata/03367_bfloat16_tuple_final/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03367_bfloat16_tuple_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03368_bfloat16_merge_join/ast.json b/parser/testdata/03368_bfloat16_merge_join/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03368_bfloat16_merge_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03368_qbit_subcolumns/ast.json b/parser/testdata/03368_qbit_subcolumns/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03368_qbit_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03369_bfloat16_map/ast.json b/parser/testdata/03369_bfloat16_map/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03369_bfloat16_map/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03369_function_arrayLevenshtein/ast.json b/parser/testdata/03369_function_arrayLevenshtein/ast.json deleted file mode 100644 index 6c5150586f..0000000000 --- a/parser/testdata/03369_function_arrayLevenshtein/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "table": "simple_levenshtein", - "columns": [ - { - "name": "lhs", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - }, - { - "name": "rhs", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03369_l2_distance_transposed_variadic/ast.json b/parser/testdata/03369_l2_distance_transposed_variadic/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03369_l2_distance_transposed_variadic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03369_predicate_pushdown_enforce_literal_type/ast.json b/parser/testdata/03369_predicate_pushdown_enforce_literal_type/ast.json deleted file mode 100644 index 439f31f15c..0000000000 --- a/parser/testdata/03369_predicate_pushdown_enforce_literal_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_03369", - "tables": [ - { - "table": "t_03369" - } - ] -} diff --git a/parser/testdata/03369_values_template_types_mismatch/ast.json b/parser/testdata/03369_values_template_types_mismatch/ast.json deleted file mode 100644 index 1acaaeb577..0000000000 --- a/parser/testdata/03369_values_template_types_mismatch/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03369_variant_escape_filename_merge_tree/ast.json b/parser/testdata/03369_variant_escape_filename_merge_tree/ast.json deleted file mode 100644 index 6cc23a72ae..0000000000 --- a/parser/testdata/03369_variant_escape_filename_merge_tree/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03370_join_identifiers/ast.json b/parser/testdata/03370_join_identifiers/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03370_join_identifiers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/ast.json b/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/ast.json deleted file mode 100644 index 283c642b16..0000000000 --- a/parser/testdata/03370_rocks_db_engine_subcolumn_in_pk/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "t", - "type": { - "name": "Tuple", - "parameters": [ - { - "name": "a", - "type": { - "name": "Int32" - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "EmbeddedRocksDB", - "has_parentheses": true - }, - "primary_key": [ - { - "parts": [ - "t", - "a" - ] - } - ] -} diff --git a/parser/testdata/03371_analyzer_filter_pushdown_distributed/ast.json b/parser/testdata/03371_analyzer_filter_pushdown_distributed/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03371_analyzer_filter_pushdown_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03371_bfloat16_special_values/ast.json b/parser/testdata/03371_bfloat16_special_values/ast.json deleted file mode 100644 index f4932d19d8..0000000000 --- a/parser/testdata/03371_bfloat16_special_values/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "toFloat32", - "arguments": [ - { - "type": "Float", - "value": 0 - } - ] - }, - "op": "==", - "right": { - "name": "toFloat32", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 0 - } - } - ] - } - }, - { - "left": { - "name": "toBFloat16", - "arguments": [ - { - "type": "Float", - "value": 0 - } - ] - }, - "op": "==", - "right": { - "name": "toBFloat16", - "arguments": [ - { - "op": "-", - "operand": { - "type": "Float", - "value": 0 - } - } - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03371_constant_alias_columns/ast.json b/parser/testdata/03371_constant_alias_columns/ast.json deleted file mode 100644 index a65643dbf2..0000000000 --- a/parser/testdata/03371_constant_alias_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_for_non_replicated_merge_tree", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03371_nullable_tuple_string_comparison/ast.json b/parser/testdata/03371_nullable_tuple_string_comparison/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03371_nullable_tuple_string_comparison/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03372_get_subcolumn_null/ast.json b/parser/testdata/03372_get_subcolumn_null/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03372_get_subcolumn_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03372_qbit_mergetree_1/ast.json b/parser/testdata/03372_qbit_mergetree_1/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03372_qbit_mergetree_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03372_qbit_mergetree_2/ast.json b/parser/testdata/03372_qbit_mergetree_2/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03372_qbit_mergetree_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03373_qbit_dynamic/ast.json b/parser/testdata/03373_qbit_dynamic/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03373_qbit_dynamic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03374_date_trunc_with_negatives/ast.json b/parser/testdata/03374_date_trunc_with_negatives/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03374_date_trunc_with_negatives/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03374_indexes_with_literals/ast.json b/parser/testdata/03374_indexes_with_literals/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03374_indexes_with_literals/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03374_indexes_with_trivial_cast/ast.json b/parser/testdata/03374_indexes_with_trivial_cast/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03374_indexes_with_trivial_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03374_qbit_nullable/ast.json b/parser/testdata/03374_qbit_nullable/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03374_qbit_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03375_bloom_filter_array_equals/ast.json b/parser/testdata/03375_bloom_filter_array_equals/ast.json deleted file mode 100644 index 01f2f41a1a..0000000000 --- a/parser/testdata/03375_bloom_filter_array_equals/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "x", - "type": { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "indexes": [ - { - "name": "idx1", - "expression": { - "parts": [ - "x" - ] - }, - "type": { - "name": "bloom_filter", - "arguments": [ - { - "type": "Float", - "value": 0.025 - } - ] - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03375_bloom_filter_has_hasAny_const_array/ast.json b/parser/testdata/03375_bloom_filter_has_hasAny_const_array/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03375_bloom_filter_has_hasAny_const_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/ast.json b/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03375_bloom_filter_ngram_has_hasAny_const_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/ast.json b/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03375_bloom_filter_token_has_hasAny_const_array/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03375_bool_partition/ast.json b/parser/testdata/03375_bool_partition/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03375_bool_partition/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/ast.json b/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03375_l2_distance_transposed_partial_reads_pass/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03376_forbid_nan_inf_for_float_settings/ast.json b/parser/testdata/03376_forbid_nan_inf_for_float_settings/ast.json deleted file mode 100644 index d002671deb..0000000000 --- a/parser/testdata/03376_forbid_nan_inf_for_float_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries_probability", - "value": { - "type": "Float", - "value": "+Inf" - } - } - ] -} diff --git a/parser/testdata/03376_iceberg_truncate/ast.json b/parser/testdata/03376_iceberg_truncate/ast.json deleted file mode 100644 index 045a07c791..0000000000 --- a/parser/testdata/03376_iceberg_truncate/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "icebergTruncate", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03376_json_comparison/ast.json b/parser/testdata/03376_json_comparison/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03376_json_comparison/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03376_l2_distance_transposed_type_mismatch/ast.json b/parser/testdata/03376_l2_distance_transposed_type_mismatch/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03376_l2_distance_transposed_type_mismatch/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03377_json_order_by_bug/ast.json b/parser/testdata/03377_json_order_by_bug/ast.json deleted file mode 100644 index 8a18e783c2..0000000000 --- a/parser/testdata/03377_json_order_by_bug/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "settings": [ - { - "name": "enable_variant_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_suspicious_variant_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_suspicious_types_in_order_by", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "type_json_skip_duplicated_paths", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03377_qbit_parameters/ast.json b/parser/testdata/03377_qbit_parameters/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03377_qbit_parameters/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03381_lazy_materialization_limit_offset/ast.json b/parser/testdata/03381_lazy_materialization_limit_offset/ast.json deleted file mode 100644 index 7e463eb4ac..0000000000 --- a/parser/testdata/03381_lazy_materialization_limit_offset/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 20000 - } - } - ] -} diff --git a/parser/testdata/03381_remote_constants/ast.json b/parser/testdata/03381_remote_constants/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03381_remote_constants/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03382_dynamic_serialization_default_settings/ast.json b/parser/testdata/03382_dynamic_serialization_default_settings/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03382_dynamic_serialization_default_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03390_non_constant_case/ast.json b/parser/testdata/03390_non_constant_case/ast.json deleted file mode 100644 index bb8a245f66..0000000000 --- a/parser/testdata/03390_non_constant_case/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Numeric CASE" - } - ] - } - ] -} diff --git a/parser/testdata/03391_logical_error_sort_column/ast.json b/parser/testdata/03391_logical_error_sort_column/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03391_logical_error_sort_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03392_inconsistent_formatting_of_lambda/ast.json b/parser/testdata/03392_inconsistent_formatting_of_lambda/ast.json deleted file mode 100644 index 7def38176c..0000000000 --- a/parser/testdata/03392_inconsistent_formatting_of_lambda/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "lambda", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03393_ASTTableIdentifier_fuzzer/ast.json b/parser/testdata/03393_ASTTableIdentifier_fuzzer/ast.json deleted file mode 100644 index 843765792a..0000000000 --- a/parser/testdata/03393_ASTTableIdentifier_fuzzer/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "null", - "columns": [ - { - "name": "key", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Null" - } -} diff --git a/parser/testdata/03393_join_bug_77848/ast.json b/parser/testdata/03393_join_bug_77848/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03393_join_bug_77848/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/ast.json b/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/ast.json deleted file mode 100644 index aa4b93c349..0000000000 --- a/parser/testdata/03393_max_merge_delayed_streams_for_parallel_write/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "command": "flush logs", - "database": "system", - "table": "metric_log" -} diff --git a/parser/testdata/03393_max_read_buffer_size_non_zero/ast.json b/parser/testdata/03393_max_read_buffer_size_non_zero/ast.json deleted file mode 100644 index 75a7b1ec9a..0000000000 --- a/parser/testdata/03393_max_read_buffer_size_non_zero/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_read_buffer_size", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03393_non_constant_second_argument_for_in/ast.json b/parser/testdata/03393_non_constant_second_argument_for_in/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03393_non_constant_second_argument_for_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03393_smallest_index_floating_point/ast.json b/parser/testdata/03393_smallest_index_floating_point/ast.json deleted file mode 100644 index 32bb8e067b..0000000000 --- a/parser/testdata/03393_smallest_index_floating_point/ast.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argMin", - "arguments": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "+", - "right": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "/", - "right": { - "parts": [ - "number" - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03393_validate_storage_buffer_args/ast.json b/parser/testdata/03393_validate_storage_buffer_args/ast.json deleted file mode 100644 index ff8c255101..0000000000 --- a/parser/testdata/03393_validate_storage_buffer_args/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "table": "invalid", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Buffer", - "parameters": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "x" - ] - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/ast.json b/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03394_fix_to_start_of_interval_for_zero_origin_argument/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03394_naive_bayes_classifier_negative/ast.json b/parser/testdata/03394_naive_bayes_classifier_negative/ast.json deleted file mode 100644 index ae26c4c59b..0000000000 --- a/parser/testdata/03394_naive_bayes_classifier_negative/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "naiveBayesClassifier", - "arguments": [ - { - "type": "String", - "value": "sentiment" - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03394_pr_insert_select/ast.json b/parser/testdata/03394_pr_insert_select/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03394_pr_insert_select/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03394_pr_insert_select_local_pipeline/ast.json b/parser/testdata/03394_pr_insert_select_local_pipeline/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03394_pr_insert_select_local_pipeline/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03394_pr_insert_select_threads/ast.json b/parser/testdata/03394_pr_insert_select_threads/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03394_pr_insert_select_threads/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03395_global_join_supported_kind/ast.json b/parser/testdata/03395_global_join_supported_kind/ast.json deleted file mode 100644 index f43fdad31e..0000000000 --- a/parser/testdata/03395_global_join_supported_kind/ast.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "table": "t1" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - } - ] - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.1" - } - ] - }, - "alias": "t2" - }, - "join": { - "type": "FULL", - "global": true, - "on": { - "left": { - "parts": [ - "t1", - "dummy" - ] - }, - "op": "=", - "right": { - "parts": [ - "t2", - "dummy" - ] - } - } - } - } - ] - }, - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03397_information_schema_tables_index_length/ast.json b/parser/testdata/03397_information_schema_tables_index_length/ast.json deleted file mode 100644 index d3c84b2578..0000000000 --- a/parser/testdata/03397_information_schema_tables_index_length/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab_with_primary_key_index", - "tables": [ - { - "table": "tab_with_primary_key_index" - } - ] -} diff --git a/parser/testdata/03398_group_array_zero_max_elements/ast.json b/parser/testdata/03398_group_array_zero_max_elements/ast.json deleted file mode 100644 index 1ec6c32e29..0000000000 --- a/parser/testdata/03398_group_array_zero_max_elements/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "groupArray", - "parameters": [ - { - "expr": { - "type": "Integer", - "value": 0 - }, - "type": { - "name": "UInt64" - }, - "operator_syntax": true - } - ], - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03399_advanced_expr_contains_sharding_key/ast.json b/parser/testdata/03399_advanced_expr_contains_sharding_key/ast.json deleted file mode 100644 index 3cf7f91498..0000000000 --- a/parser/testdata/03399_advanced_expr_contains_sharding_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_table", - "tables": [ - { - "table": "local_table" - } - ] -} diff --git a/parser/testdata/03399_analyzer_correlated_subquery/ast.json b/parser/testdata/03399_analyzer_correlated_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03399_analyzer_correlated_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03399_divide_zero_or_null/ast.json b/parser/testdata/03399_divide_zero_or_null/ast.json deleted file mode 100644 index 304add0740..0000000000 --- a/parser/testdata/03399_divide_zero_or_null/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test with two const arguments" - } - ] - } - ] -} diff --git a/parser/testdata/03399_mapContains_functions/ast.json b/parser/testdata/03399_mapContains_functions/ast.json deleted file mode 100644 index bc6a47c263..0000000000 --- a/parser/testdata/03399_mapContains_functions/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "map_containsValueLike_test", - "tables": [ - { - "table": "map_containsValueLike_test" - } - ] -} diff --git a/parser/testdata/03399_sparse_grams/ast.json b/parser/testdata/03399_sparse_grams/ast.json deleted file mode 100644 index c08da6e9ab..0000000000 --- a/parser/testdata/03399_sparse_grams/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Regular calls" - } - ] - } - ] -} diff --git a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/ast.json b/parser/testdata/03400_analyzer_correlated_subquery_unused_column/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03400_analyzer_correlated_subquery_unused_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03400_distributed_final/ast.json b/parser/testdata/03400_distributed_final/ast.json deleted file mode 100644 index 04f6c4c54d..0000000000 --- a/parser/testdata/03400_distributed_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03400_users", - "tables": [ - { - "table": "03400_users" - } - ] -} diff --git a/parser/testdata/03400_explain_distributed_bug/ast.json b/parser/testdata/03400_explain_distributed_bug/ast.json deleted file mode 100644 index 0182277f7a..0000000000 --- a/parser/testdata/03400_explain_distributed_bug/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03401_normal_projection_with_part_offset/ast.json b/parser/testdata/03401_normal_projection_with_part_offset/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03401_normal_projection_with_part_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/ast.json b/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03401_normal_projection_with_part_offset_no_sorting/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03401_remote_bool/ast.json b/parser/testdata/03401_remote_bool/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03401_remote_bool/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03401_several_iceberg_tables_in_one_dir/ast.json b/parser/testdata/03401_several_iceberg_tables_in_one_dir/ast.json deleted file mode 100644 index 6975cbef48..0000000000 --- a/parser/testdata/03401_several_iceberg_tables_in_one_dir/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "merged_several_tables_test" - } - } - ], - "settings": [ - { - "name": "iceberg_metadata_table_uuid", - "value": { - "type": "String", - "value": "ea8d1178-7756-4b89-b21f-00e9f31fe03e" - } - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "id" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03402_adding_projection_to_temporary_table/ast.json b/parser/testdata/03402_adding_projection_to_temporary_table/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03402_adding_projection_to_temporary_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03402_cluster_table_functions_settings_parsing/ast.json b/parser/testdata/03402_cluster_table_functions_settings_parsing/ast.json deleted file mode 100644 index 6d945df632..0000000000 --- a/parser/testdata/03402_cluster_table_functions_settings_parsing/ast.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3Cluster", - "arguments": [ - { - "type": "String", - "value": "test_cluster_two_shards_localhost" - }, - { - "type": "String", - "value": "http://localhost:11111/test/est" - }, - { - "type": "String", - "value": "clickhouse" - }, - { - "type": "String", - "value": "clickhouse" - } - ], - "settings": [ - { - "name": "iceberg_metadata_file_path", - "value": { - "type": "String", - "value": "metadata/v2.metadata.json" - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03402_concurrent_right_full_join/ast.json b/parser/testdata/03402_concurrent_right_full_join/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/03402_concurrent_right_full_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03402_cyclic_alter_dependencies/ast.json b/parser/testdata/03402_cyclic_alter_dependencies/ast.json deleted file mode 100644 index 9a1b679a1e..0000000000 --- a/parser/testdata/03402_cyclic_alter_dependencies/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "d0", - "tables": [ - { - "table": "d0" - } - ] -} diff --git a/parser/testdata/03402_join_using_alias/ast.json b/parser/testdata/03402_join_using_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03402_join_using_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03402_materialized_tuple_element/ast.json b/parser/testdata/03402_materialized_tuple_element/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03402_materialized_tuple_element/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03402_secondary_indexes_analyzer_bugs/ast.json b/parser/testdata/03402_secondary_indexes_analyzer_bugs/ast.json deleted file mode 100644 index 26ff9706c6..0000000000 --- a/parser/testdata/03402_secondary_indexes_analyzer_bugs/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "index is applied while using column alias" - } - ] - } - ] -} diff --git a/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/ast.json b/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/ast.json deleted file mode 100644 index 00eb9c9503..0000000000 --- a/parser/testdata/03402_zero_streams_after_max_streams_to_max_threads_ratio/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03402_data", - "tables": [ - { - "table": "03402_data" - } - ] -} diff --git a/parser/testdata/03403_distributed_merge_two_level_aggregation/ast.json b/parser/testdata/03403_distributed_merge_two_level_aggregation/ast.json deleted file mode 100644 index 839fb76755..0000000000 --- a/parser/testdata/03403_distributed_merge_two_level_aggregation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table_1", - "tables": [ - { - "table": "test_table_1" - } - ] -} diff --git a/parser/testdata/03403_function_tokens/ast.json b/parser/testdata/03403_function_tokens/ast.json deleted file mode 100644 index 3082c7e246..0000000000 --- a/parser/testdata/03403_function_tokens/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Constants: tokens should be constant" - } - ] - } - ] -} diff --git a/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/ast.json b/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/ast.json deleted file mode 100644 index 8e347afba9..0000000000 --- a/parser/testdata/03403_parallel_blocks_marshalling_for_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "serialize_query_plan", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03403_read_in_order_streams_memory_usage/ast.json b/parser/testdata/03403_read_in_order_streams_memory_usage/ast.json deleted file mode 100644 index 045c38b31c..0000000000 --- a/parser/testdata/03403_read_in_order_streams_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_blocks_marshalling", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03403_toInterval/ast.json b/parser/testdata/03403_toInterval/ast.json deleted file mode 100644 index 23429fee94..0000000000 --- a/parser/testdata/03403_toInterval/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toInterval", - "arguments": [ - { - "type": "Integer", - "value": 5 - }, - { - "type": "String", - "value": "nanosecond" - } - ], - "alias": "interval" - }, - { - "expr": { - "left": { - "name": "toDateTime64", - "arguments": [ - { - "type": "String", - "value": "2025-01-01 00:00:00" - }, - { - "type": "Integer", - "value": 9 - } - ] - }, - "op": "+", - "right": { - "parts": [ - "interval" - ] - } - }, - "alias": "res" - } - ] - } - ] -} diff --git a/parser/testdata/03403_truncate_all_tables_like/ast.json b/parser/testdata/03403_truncate_all_tables_like/ast.json deleted file mode 100644 index 7a1170a741..0000000000 --- a/parser/testdata/03403_truncate_all_tables_like/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_not_exists": true, - "table": "truncate_test_set", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "Set" - } -} diff --git a/parser/testdata/03404_bfloat16_insert_values/ast.json b/parser/testdata/03404_bfloat16_insert_values/ast.json deleted file mode 100644 index ad611a9bef..0000000000 --- a/parser/testdata/03404_bfloat16_insert_values/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Basic tests" - } - ] - } - ] -} diff --git a/parser/testdata/03404_dynamic_in_interval_bug/ast.json b/parser/testdata/03404_dynamic_in_interval_bug/ast.json deleted file mode 100644 index 66ba3e8937..0000000000 --- a/parser/testdata/03404_dynamic_in_interval_bug/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "MINUTE" - }, - "alias": "c0" - }, - { - "value": { - "expr": { - "parts": [ - "c0" - ] - }, - "type": { - "name": "Dynamic" - }, - "operator_syntax": true - }, - "unit": "DAY" - } - ] - } - ] -} diff --git a/parser/testdata/03404_geotoh3_input_order/ast.json b/parser/testdata/03404_geotoh3_input_order/ast.json deleted file mode 100644 index df8ba0913c..0000000000 --- a/parser/testdata/03404_geotoh3_input_order/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "geoToH3", - "arguments": [ - { - "type": "Float", - "value": 37.79506683 - }, - { - "type": "Float", - "value": 55.71290588 - }, - { - "type": "Integer", - "value": 15 - } - ], - "alias": "h3Index" - } - ], - "settings": [ - { - "name": "geotoh3_argument_order", - "value": { - "type": "String", - "value": "lon_lat" - } - } - ] - } - ] -} diff --git a/parser/testdata/03404_json_tables/ast.json b/parser/testdata/03404_json_tables/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03404_json_tables/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03404_lazy_materialization_distributed/ast.json b/parser/testdata/03404_lazy_materialization_distributed/ast.json deleted file mode 100644 index d58a7bf85a..0000000000 --- a/parser/testdata/03404_lazy_materialization_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt", - "tables": [ - { - "table": "tt" - } - ] -} diff --git a/parser/testdata/03404_ubsan_distinct_join_const_column/ast.json b/parser/testdata/03404_ubsan_distinct_join_const_column/ast.json deleted file mode 100644 index 4c80826e21..0000000000 --- a/parser/testdata/03404_ubsan_distinct_join_const_column/ast.json +++ /dev/null @@ -1,323 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "parts": [ - "t" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "String", - "value": "[(1, 'a')]" - }, - "type": { - "name": "String" - } - }, - "alias": "t" - } - ], - "group_by": [ - { - "type": "Integer", - "value": 1 - }, - { - "name": "printf", - "arguments": [ - { - "name": "printf", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 7 - }, - { - "name": "printf", - "arguments": [ - { - "name": "isNullable", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "String", - "value": "%%d: %d" - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Null", - "value": null - } - ] - }, - { - "type": "Integer", - "value": 7 - }, - { - "name": "materialize", - "arguments": [ - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - ] - }, - { - "type": "String", - "value": "%%d: %d" - }, - { - "expr": { - "name": "toNullable", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - }, - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "name": "materialize", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] - }, - { - "expr": { - "name": "isZeroOrNull", - "arguments": [ - { - "name": "isNullable", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - } - ] - } - } - ] - } - ] - } - }, - "alias": "na" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "[(1, 'a')]" - } - ] - }, - "type": { - "name": "String" - } - }, - "alias": "t" - } - ], - "group_by": [ - { - "type": "Integer", - "value": 1 - }, - { - "name": "toNullable", - "arguments": [ - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 123 - } - ] - } - ] - }, - { - "name": "printf", - "arguments": [ - { - "name": "printf", - "arguments": [ - { - "type": "Null", - "value": null - }, - {}, - { - "name": "printf", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "String", - "value": "%%d: %d" - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "name": "materialize", - "arguments": [ - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - } - ] - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "String", - "value": "%%d: %d" - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - }, - { - "type": "Integer", - "value": 7 - } - ] - } - ] - } - ] - } - ] - } - } - } - } - ] - }, - "settings": [ - { - "name": "joined_subquery_requires_alias", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03405_bool_array_to_fixed_strings/ast.json b/parser/testdata/03405_bool_array_to_fixed_strings/ast.json deleted file mode 100644 index 02278d5690..0000000000 --- a/parser/testdata/03405_bool_array_to_fixed_strings/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "Boolean", - "value": true - }, - { - "type": "Boolean", - "value": false - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/03405_join_using_alias_constant/ast.json b/parser/testdata/03405_join_using_alias_constant/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03405_join_using_alias_constant/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03405_json_parsing_error_bug/ast.json b/parser/testdata/03405_json_parsing_error_bug/ast.json deleted file mode 100644 index 7ed7a870a8..0000000000 --- a/parser/testdata/03405_json_parsing_error_bug/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "{}" - }, - { - "type": "String", - "value": "{\"c\" : [1, {\"b\" : []}]}" - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "JSON" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "settings": [ - { - "name": "input_format_json_infer_incomplete_types_as_strings", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03405_merge_filter_into_join/ast.json b/parser/testdata/03405_merge_filter_into_join/ast.json deleted file mode 100644 index bfc6c05841..0000000000 --- a/parser/testdata/03405_merge_filter_into_join/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03405_naive_bayes_classifier_token/ast.json b/parser/testdata/03405_naive_bayes_classifier_token/ast.json deleted file mode 100644 index 0810b5966a..0000000000 --- a/parser/testdata/03405_naive_bayes_classifier_token/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "naiveBayesClassifier", - "arguments": [ - { - "type": "String", - "value": "sentiment_token_1" - }, - { - "type": "String", - "value": "The interface is beautiful and intuitive" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03405_non_zero_batch_mode/ast.json b/parser/testdata/03405_non_zero_batch_mode/ast.json deleted file mode 100644 index ca7027d74f..0000000000 --- a/parser/testdata/03405_non_zero_batch_mode/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_parquet_batch_size", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/ast.json b/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/ast.json deleted file mode 100644 index 0984b1b711..0000000000 --- a/parser/testdata/03405_ssd_cache_incorrect_min_max_lifetimes_and_block_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict", - "tables": [ - { - "table": "dict" - } - ] -} diff --git a/parser/testdata/03407_csv_bad_date_time_parsing/ast.json b/parser/testdata/03407_csv_bad_date_time_parsing/ast.json deleted file mode 100644 index ccb8a836d8..0000000000 --- a/parser/testdata/03407_csv_bad_date_time_parsing/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "d DateTime64(3)" - }, - { - "type": "String", - "value": "1744042005 797" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "best_effort" - } - } - ] - } - ] -} diff --git a/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/ast.json b/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03407_parse_date_time_best_effort_unix_timestamp_with_fraction/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03408_analyzer_correlated_subquery_simple/ast.json b/parser/testdata/03408_analyzer_correlated_subquery_simple/ast.json deleted file mode 100644 index 0936be8551..0000000000 --- a/parser/testdata/03408_analyzer_correlated_subquery_simple/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "c1", - "type": { - "name": "UInt64" - } - }, - { - "name": "c2", - "type": { - "name": "UInt64" - } - } - ], - "order_by": [ - { - "parts": [ - "c1" - ] - } - ] -} diff --git a/parser/testdata/03408_cte_self_reference/ast.json b/parser/testdata/03408_cte_self_reference/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03408_cte_self_reference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03408_current_database_on_cluster_constraint/ast.json b/parser/testdata/03408_current_database_on_cluster_constraint/ast.json deleted file mode 100644 index 3923ec2d21..0000000000 --- a/parser/testdata/03408_current_database_on_cluster_constraint/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "shard_0", - "drop_database": true -} diff --git a/parser/testdata/03408_hash_functions_on_null/ast.json b/parser/testdata/03408_hash_functions_on_null/ast.json deleted file mode 100644 index 2fd37e7ea7..0000000000 --- a/parser/testdata/03408_hash_functions_on_null/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "xxHash32", - "arguments": [ - { - "type": "Null", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03408_implicit_table/ast.json b/parser/testdata/03408_implicit_table/ast.json deleted file mode 100644 index 4cb0fa7822..0000000000 --- a/parser/testdata/03408_implicit_table/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "implicit_select", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "implicit_table_at_top_level", - "value": { - "type": "String", - "value": "test" - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03408_limit_by_rows_before_limit/ast.json b/parser/testdata/03408_limit_by_rows_before_limit/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/03408_limit_by_rows_before_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03408_limit_by_rows_before_limit_dist/ast.json b/parser/testdata/03408_limit_by_rows_before_limit_dist/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/03408_limit_by_rows_before_limit_dist/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03408_limit_by_rows_before_limit_mem/ast.json b/parser/testdata/03408_limit_by_rows_before_limit_mem/ast.json deleted file mode 100644 index 0a5ca44718..0000000000 --- a/parser/testdata/03408_limit_by_rows_before_limit_mem/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_write_statistics", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03409_coalescing_merge_tree/ast.json b/parser/testdata/03409_coalescing_merge_tree/ast.json deleted file mode 100644 index 7bceaa8611..0000000000 --- a/parser/testdata/03409_coalescing_merge_tree/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test without parameters" - } - ] - } - ] -} diff --git a/parser/testdata/03409_coalescing_replicated_merge_tree/ast.json b/parser/testdata/03409_coalescing_replicated_merge_tree/ast.json deleted file mode 100644 index 7bceaa8611..0000000000 --- a/parser/testdata/03409_coalescing_replicated_merge_tree/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test without parameters" - } - ] - } - ] -} diff --git a/parser/testdata/03409_variant_type_values_format_field_conversion/ast.json b/parser/testdata/03409_variant_type_values_format_field_conversion/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03409_variant_type_values_format_field_conversion/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03410_polygons_intersects/ast.json b/parser/testdata/03410_polygons_intersects/ast.json deleted file mode 100644 index 349514de3f..0000000000 --- a/parser/testdata/03410_polygons_intersects/ast.json +++ /dev/null @@ -1,212 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "polygonsIntersectCartesian", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 3 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Float", - "value": 2.9 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Float", - "value": 2.6 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.6 - }, - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 2.9 - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 4 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 4 - }, - { - "type": "Float", - "value": 1 - } - ] - }, - { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 1 - }, - { - "type": "Float", - "value": 1 - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03411_analyzer_scalar_correlated_subquery/ast.json b/parser/testdata/03411_analyzer_scalar_correlated_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03411_analyzer_scalar_correlated_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03411_iceberg_bucket/ast.json b/parser/testdata/03411_iceberg_bucket/ast.json deleted file mode 100644 index 45299a95d3..0000000000 --- a/parser/testdata/03411_iceberg_bucket/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "icebergHash" - } - ] - } - ] -} diff --git a/parser/testdata/03411_summing_merge_tree_dynamic_values/ast.json b/parser/testdata/03411_summing_merge_tree_dynamic_values/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03411_summing_merge_tree_dynamic_values/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/ast.json b/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/03411_variant_basic_discriminators_deserialization_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03412_analyzer_correlated_subquery_bug/ast.json b/parser/testdata/03412_analyzer_correlated_subquery_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03412_analyzer_correlated_subquery_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03412_dynamic_in_arg_min_max/ast.json b/parser/testdata/03412_dynamic_in_arg_min_max/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03412_dynamic_in_arg_min_max/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03412_materialized_view_to_distributed_different_headers/ast.json b/parser/testdata/03412_materialized_view_to_distributed_different_headers/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03412_materialized_view_to_distributed_different_headers/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03412_merge_final_prewhere/ast.json b/parser/testdata/03412_merge_final_prewhere/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03412_merge_final_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/ast.json b/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03413_analyzer_correlated_subqueries_bug_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03413_dynamic_in_in/ast.json b/parser/testdata/03413_dynamic_in_in/ast.json deleted file mode 100644 index 719e9f036a..0000000000 --- a/parser/testdata/03413_dynamic_in_in/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Integer", - "value": 42 - }, - "type": { - "name": "Dynamic" - }, - "operator_syntax": true - }, - "list": [ - { - "type": "Integer", - "value": 42 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03413_group_by_all_in_subquery/ast.json b/parser/testdata/03413_group_by_all_in_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03413_group_by_all_in_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03414_analyzer_correlated_subqueries_in_function/ast.json b/parser/testdata/03414_analyzer_correlated_subqueries_in_function/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03414_analyzer_correlated_subqueries_in_function/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/ast.json b/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/ast.json deleted file mode 100644 index e69ba3089e..0000000000 --- a/parser/testdata/03414_formatDateTime_compound_formatter_after_varsize_formatter/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDateTime", - "arguments": [ - { - "type": "String", - "value": "2025-05-04" - } - ] - }, - { - "type": "String", - "value": "%W %D" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03415_dont_highlight_probable_hashes/ast.json b/parser/testdata/03415_dont_highlight_probable_hashes/ast.json deleted file mode 100644 index 9994b83056..0000000000 --- a/parser/testdata/03415_dont_highlight_probable_hashes/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "cityHash64", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - ], - "format": { - "parts": [ - "Pretty" - ] - } - } - ] -} diff --git a/parser/testdata/03416_glue_chunks/ast.json b/parser/testdata/03416_glue_chunks/ast.json deleted file mode 100644 index 45c78a04bb..0000000000 --- a/parser/testdata/03416_glue_chunks/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03432_input_format_parquet_max_block_size_validation/ast.json b/parser/testdata/03432_input_format_parquet_max_block_size_validation/ast.json deleted file mode 100644 index 277853066b..0000000000 --- a/parser/testdata/03432_input_format_parquet_max_block_size_validation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "input_format_parquet_max_block_size", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03440_no_glue_totals/ast.json b/parser/testdata/03440_no_glue_totals/ast.json deleted file mode 100644 index 45c78a04bb..0000000000 --- a/parser/testdata/03440_no_glue_totals/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_row_numbers", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03441_deltalake_clickhouse_public_datasets/ast.json b/parser/testdata/03441_deltalake_clickhouse_public_datasets/ast.json deleted file mode 100644 index 2b61980461..0000000000 --- a/parser/testdata/03441_deltalake_clickhouse_public_datasets/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "deltaLake", - "arguments": [ - { - "type": "String", - "value": "https://clickhouse-public-datasets.s3.amazonaws.com/delta_lake/hits/" - }, - { - "parts": [ - "NOSIGN" - ] - } - ], - "settings": [ - { - "name": "allow_experimental_delta_kernel_rs", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03441_deltalake_clickhouse_virtual_columns/ast.json b/parser/testdata/03441_deltalake_clickhouse_virtual_columns/ast.json deleted file mode 100644 index 06ef6d6e7e..0000000000 --- a/parser/testdata/03441_deltalake_clickhouse_virtual_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_for_cluster_engines", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03442_alter_delete_empty_part/ast.json b/parser/testdata/03442_alter_delete_empty_part/ast.json deleted file mode 100644 index 7f62eb6eab..0000000000 --- a/parser/testdata/03442_alter_delete_empty_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_delete_empty_part", - "tables": [ - { - "table": "t_delete_empty_part" - } - ] -} diff --git a/parser/testdata/03442_alter_delete_empty_part_rmt/ast.json b/parser/testdata/03442_alter_delete_empty_part_rmt/ast.json deleted file mode 100644 index 70e4b39291..0000000000 --- a/parser/testdata/03442_alter_delete_empty_part_rmt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_delete_empty_part_rmt", - "tables": [ - { - "table": "t_delete_empty_part_rmt" - } - ] -} diff --git a/parser/testdata/03442_json_duplicate_path/ast.json b/parser/testdata/03442_json_duplicate_path/ast.json deleted file mode 100644 index 4c7dd848bb..0000000000 --- a/parser/testdata/03442_json_duplicate_path/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "{\"a\" : 42, \"a\" : {\"b\" : 42}}" - }, - "type": { - "name": "JSON" - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/03442_lightweight_deletes_on_fly/ast.json b/parser/testdata/03442_lightweight_deletes_on_fly/ast.json deleted file mode 100644 index d6bae37d3f..0000000000 --- a/parser/testdata/03442_lightweight_deletes_on_fly/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_deletes", - "tables": [ - { - "table": "test_deletes" - } - ] -} diff --git a/parser/testdata/03442_string_bytes_functions/ast.json b/parser/testdata/03442_string_bytes_functions/ast.json deleted file mode 100644 index f787eb479a..0000000000 --- a/parser/testdata/03442_string_bytes_functions/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "stringBytesUniq", - "arguments": [ - { - "type": "String", - "value": "Hello" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03443_alias_with_asterisk/ast.json b/parser/testdata/03443_alias_with_asterisk/ast.json deleted file mode 100644 index bc270a183b..0000000000 --- a/parser/testdata/03443_alias_with_asterisk/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - }, - "default": { - "name": "if", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 1 - }, - {} - ] - }, - "default_kind": "ALIAS" - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03443_index_match_alternatives/ast.json b/parser/testdata/03443_index_match_alternatives/ast.json deleted file mode 100644 index 341e6780f2..0000000000 --- a/parser/testdata/03443_index_match_alternatives/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03443_data", - "tables": [ - { - "table": "03443_data" - } - ] -} diff --git a/parser/testdata/03443_part_starting_offset/ast.json b/parser/testdata/03443_part_starting_offset/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03443_part_starting_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03443_pr_lazy_materialization/ast.json b/parser/testdata/03443_pr_lazy_materialization/ast.json deleted file mode 100644 index c1e9aadf8d..0000000000 --- a/parser/testdata/03443_pr_lazy_materialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pr_tt", - "tables": [ - { - "table": "pr_tt" - } - ] -} diff --git a/parser/testdata/03443_projection_sparse/ast.json b/parser/testdata/03443_projection_sparse/ast.json deleted file mode 100644 index 722522f932..0000000000 --- a/parser/testdata/03443_projection_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_projection_sparse", - "tables": [ - { - "table": "t_projection_sparse" - } - ] -} diff --git a/parser/testdata/03444_case_with_expression_exception/ast.json b/parser/testdata/03444_case_with_expression_exception/ast.json deleted file mode 100644 index 02e8515f08..0000000000 --- a/parser/testdata/03444_case_with_expression_exception/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "caseWithExpression", - "arguments": [ - { - "type": "String", - "value": "C" - }, - { - "type": "String", - "value": "A" - }, - { - "type": "Boolean", - "value": true - }, - { - "type": "String", - "value": "B" - }, - { - "type": "Boolean", - "value": false - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03444_explain_asterisk/ast.json b/parser/testdata/03444_explain_asterisk/ast.json deleted file mode 100644 index 214c6f5d47..0000000000 --- a/parser/testdata/03444_explain_asterisk/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - }, - { - "table": "t2" - }, - { - "table": "t3__fuzz_0" - } - ] -} diff --git a/parser/testdata/03444_flip_coordinates/ast.json b/parser/testdata/03444_flip_coordinates/ast.json deleted file mode 100644 index cbb21b0162..0000000000 --- a/parser/testdata/03444_flip_coordinates/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "flipCoordinates", - "arguments": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "type": "Float", - "value": 10 - }, - { - "type": "Float", - "value": 20 - } - ] - }, - "type": { - "name": "Point" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03444_lm_block_mismatch/ast.json b/parser/testdata/03444_lm_block_mismatch/ast.json deleted file mode 100644 index f7002b6750..0000000000 --- a/parser/testdata/03444_lm_block_mismatch/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03444_lazy", - "tables": [ - { - "table": "test_03444_lazy" - } - ] -} diff --git a/parser/testdata/03445_subcolumns_prewhere_pushdown/ast.json b/parser/testdata/03445_subcolumns_prewhere_pushdown/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03445_subcolumns_prewhere_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03447_base32_encode_decode/ast.json b/parser/testdata/03447_base32_encode_decode/ast.json deleted file mode 100644 index 6ae01cbb40..0000000000 --- a/parser/testdata/03447_base32_encode_decode/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base32Encode", - "arguments": [ - { - "type": "String", - "value": "This is a test string" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03447_float_nan_order/ast.json b/parser/testdata/03447_float_nan_order/ast.json deleted file mode 100644 index 1544ed26eb..0000000000 --- a/parser/testdata/03447_float_nan_order/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- short array ASC NULLS FIRST" - } - ] - } - ] -} diff --git a/parser/testdata/03447_function_reverse_for_tuple/ast.json b/parser/testdata/03447_function_reverse_for_tuple/ast.json deleted file mode 100644 index 65797ee9b1..0000000000 --- a/parser/testdata/03447_function_reverse_for_tuple/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reverse", - "arguments": [ - { - "type": "Tuple", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "String", - "value": "Hello" - }, - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03447_grouping_sets_analyzer_const_columns/ast.json b/parser/testdata/03447_grouping_sets_analyzer_const_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03447_grouping_sets_analyzer_const_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03447_order_by_json_and_other_column/ast.json b/parser/testdata/03447_order_by_json_and_other_column/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03447_order_by_json_and_other_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03447_storage_join_unsupported_keys/ast.json b/parser/testdata/03447_storage_join_unsupported_keys/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03447_storage_join_unsupported_keys/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03447_window_functions_distinct/ast.json b/parser/testdata/03447_window_functions_distinct/ast.json deleted file mode 100644 index 88ca79ed44..0000000000 --- a/parser/testdata/03447_window_functions_distinct/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Single Numeric Data:" - } - ] - } - ] -} diff --git a/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/ast.json b/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/ast.json deleted file mode 100644 index accbf90467..0000000000 --- a/parser/testdata/03448_analyzer_array_join_alias_in_join_using_bug/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "local_table", - "columns": [ - { - "name": "id", - "type": { - "name": "Int8" - } - }, - { - "name": "arr", - "type": { - "name": "Array", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03448_analyzer_correlated_subquery_in_projection/ast.json b/parser/testdata/03448_analyzer_correlated_subquery_in_projection/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03448_analyzer_correlated_subquery_in_projection/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03448_analyzer_skip_index_and_lambdas/ast.json b/parser/testdata/03448_analyzer_skip_index_and_lambdas/ast.json deleted file mode 100644 index 7ca939993f..0000000000 --- a/parser/testdata/03448_analyzer_skip_index_and_lambdas/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "index_test", - "tables": [ - { - "table": "index_test" - } - ] -} diff --git a/parser/testdata/03448_in_select_tuple/ast.json b/parser/testdata/03448_in_select_tuple/ast.json deleted file mode 100644 index 4f2c71144b..0000000000 --- a/parser/testdata/03448_in_select_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "table1", - "tables": [ - { - "table": "table1" - } - ] -} diff --git a/parser/testdata/03448_topk_merging/ast.json b/parser/testdata/03448_topk_merging/ast.json deleted file mode 100644 index 20e8eead72..0000000000 --- a/parser/testdata/03448_topk_merging/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "topk_test", - "tables": [ - { - "table": "topk_test" - } - ] -} diff --git a/parser/testdata/03448_trivial_count_single_threaded_merge/ast.json b/parser/testdata/03448_trivial_count_single_threaded_merge/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03448_trivial_count_single_threaded_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03448_window_functions_distinct_distributed/ast.json b/parser/testdata/03448_window_functions_distinct_distributed/ast.json deleted file mode 100644 index 14209dcd66..0000000000 --- a/parser/testdata/03448_window_functions_distinct_distributed/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_aggregation_memory_efficient", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03449_join_using_allow_alias/ast.json b/parser/testdata/03449_join_using_allow_alias/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03449_join_using_allow_alias/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03449_window_cannot_find_column/ast.json b/parser/testdata/03449_window_cannot_find_column/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03449_window_cannot_find_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03450_parameterized_view_forward/ast.json b/parser/testdata/03450_parameterized_view_forward/ast.json deleted file mode 100644 index 7628c14124..0000000000 --- a/parser/testdata/03450_parameterized_view_forward/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_exists": true, - "table": "inner_view", - "tables": [ - { - "table": "inner_view" - }, - { - "table": "outer_view_hardcoded_ok" - }, - { - "table": "outer_view_parameterized_ko" - } - ] -} diff --git a/parser/testdata/03451_parameterized_views_without_alias/ast.json b/parser/testdata/03451_parameterized_views_without_alias/ast.json deleted file mode 100644 index 34e5bd3acd..0000000000 --- a/parser/testdata/03451_parameterized_views_without_alias/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "if_exists": true, - "table": "parameterized_view_without_renaming", - "tables": [ - { - "table": "parameterized_view_without_renaming" - }, - { - "table": "parameterized_view_with_renaming" - } - ] -} diff --git a/parser/testdata/03453_group_by_all_grouping/ast.json b/parser/testdata/03453_group_by_all_grouping/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03453_group_by_all_grouping/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03453_parameterized_view_array_of_points/ast.json b/parser/testdata/03453_parameterized_view_array_of_points/ast.json deleted file mode 100644 index 06d44b4fd6..0000000000 --- a/parser/testdata/03453_parameterized_view_array_of_points/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_exists": true, - "table": "point_test", - "tables": [ - { - "table": "point_test" - }, - { - "table": "point_test_parameterized" - }, - { - "table": "point_test_parameterized2" - } - ] -} diff --git a/parser/testdata/03454_global_join_index_subqueries/ast.json b/parser/testdata/03454_global_join_index_subqueries/ast.json deleted file mode 100644 index 7263720642..0000000000 --- a/parser/testdata/03454_global_join_index_subqueries/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "query1" - } - ] - } - ] -} diff --git a/parser/testdata/03454_parameterized_view_constant_identifier/ast.json b/parser/testdata/03454_parameterized_view_constant_identifier/ast.json deleted file mode 100644 index 94984acc74..0000000000 --- a/parser/testdata/03454_parameterized_view_constant_identifier/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "c", - "tables": [ - { - "table": "c" - } - ] -} diff --git a/parser/testdata/03454_parameterized_views_null/ast.json b/parser/testdata/03454_parameterized_views_null/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03454_parameterized_views_null/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03455_direct_io_read_array_values/ast.json b/parser/testdata/03455_direct_io_read_array_values/ast.json deleted file mode 100644 index 07327ae023..0000000000 --- a/parser/testdata/03455_direct_io_read_array_values/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 3 - } - } - ] -} diff --git a/parser/testdata/03456_match_index_prefix_extraction/ast.json b/parser/testdata/03456_match_index_prefix_extraction/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03456_match_index_prefix_extraction/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03457_bitmapContains_nullable/ast.json b/parser/testdata/03457_bitmapContains_nullable/ast.json deleted file mode 100644 index 6b3cef15d0..0000000000 --- a/parser/testdata/03457_bitmapContains_nullable/ast.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "n", - "query": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "groupBitmapState", - "arguments": [ - { - "expr": { - "parts": [ - "number" - ] - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "alias": "n" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - } - } - ], - "columns": [ - { - "parts": [ - "number" - ], - "alias": "x" - }, - { - "name": "bitmapContains", - "arguments": [ - { - "parts": [ - "n" - ] - }, - { - "parts": [ - "x" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03457_bug79403_marks_compress_block_is_zero/ast.json b/parser/testdata/03457_bug79403_marks_compress_block_is_zero/ast.json deleted file mode 100644 index 54e6adb089..0000000000 --- a/parser/testdata/03457_bug79403_marks_compress_block_is_zero/ast.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "marks_compress_block_size", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03457_inconsistent_formatting_except/ast.json b/parser/testdata/03457_inconsistent_formatting_except/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03457_inconsistent_formatting_except/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03457_merge_engine_subcolumns/ast.json b/parser/testdata/03457_merge_engine_subcolumns/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/03457_merge_engine_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/03457_move_global_in_to_prewhere/ast.json b/parser/testdata/03457_move_global_in_to_prewhere/ast.json deleted file mode 100644 index 9eef6ae1f7..0000000000 --- a/parser/testdata/03457_move_global_in_to_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03457_data", - "tables": [ - { - "table": "03457_data" - } - ] -} diff --git a/parser/testdata/03457_numeric_indexed_vector_build/ast.json b/parser/testdata/03457_numeric_indexed_vector_build/ast.json deleted file mode 100644 index 286702c75f..0000000000 --- a/parser/testdata/03457_numeric_indexed_vector_build/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST groupNumericIndexedVector" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/ast.json deleted file mode 100644 index d066140052..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_bit_promote/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations in bit promotion with zero values and Float64 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/ast.json deleted file mode 100644 index 69306c8f0a..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_i8f64/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt8 index type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/ast.json deleted file mode 100644 index cd65676314..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u16f64/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt16 index type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/ast.json deleted file mode 100644 index c6ed1534b4..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32f32/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Float32 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/ast.json deleted file mode 100644 index e141794fbf..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32f64/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Float64 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/ast.json deleted file mode 100644 index b5e7c37793..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32i16/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Int16 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/ast.json deleted file mode 100644 index 872674c93d..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32i32/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Int32 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/ast.json deleted file mode 100644 index 5c2a9c5e69..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32i64/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Int64 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/ast.json deleted file mode 100644 index a31e110079..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32i8/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and Int8 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/ast.json deleted file mode 100644 index 3cccc54b27..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32u16/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt16 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/ast.json deleted file mode 100644 index 621ddf4e5e..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32u32/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt32 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/ast.json deleted file mode 100644 index 6a79a75b39..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32u64/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt64 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/ast.json b/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/ast.json deleted file mode 100644 index 5e2be1b079..0000000000 --- a/parser/testdata/03458_numeric_indexed_vector_operations_u32u8/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorPointwise operations with zero values and UInt8 value type" - } - ] - } - ] -} diff --git a/parser/testdata/03458_wkb_function/ast.json b/parser/testdata/03458_wkb_function/ast.json deleted file mode 100644 index 54f830dd69..0000000000 --- a/parser/testdata/03458_wkb_function/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "readWKBPoint", - "arguments": [ - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "010100000000000000000000000000000000000000" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03459-reverse-sorting-key-stable-result/ast.json b/parser/testdata/03459-reverse-sorting-key-stable-result/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03459-reverse-sorting-key-stable-result/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03459_join_cannot_add_column/ast.json b/parser/testdata/03459_join_cannot_add_column/ast.json deleted file mode 100644 index 953783f3a9..0000000000 --- a/parser/testdata/03459_join_cannot_add_column/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03459_numeric_indexed_vector_decode/ast.json b/parser/testdata/03459_numeric_indexed_vector_decode/ast.json deleted file mode 100644 index fd3295139c..0000000000 --- a/parser/testdata/03459_numeric_indexed_vector_decode/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST toVectorCompactArray" - } - ] - } - ] -} diff --git a/parser/testdata/03459_socket_asynchronous_metrics/ast.json b/parser/testdata/03459_socket_asynchronous_metrics/ast.json deleted file mode 100644 index 7081899ea7..0000000000 --- a/parser/testdata/03459_socket_asynchronous_metrics/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "value" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "asynchronous_metrics" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "NetworkTCPSockets" - } - } - } - ] -} diff --git a/parser/testdata/03460_alter_materialized_view_on_cluster/ast.json b/parser/testdata/03460_alter_materialized_view_on_cluster/ast.json deleted file mode 100644 index 186613792b..0000000000 --- a/parser/testdata/03460_alter_materialized_view_on_cluster/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_ddl_output_mode", - "value": { - "type": "String", - "value": "none" - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Boolean", - "value": true - } - } - ] -} diff --git a/parser/testdata/03460_normal_projection_index/ast.json b/parser/testdata/03460_normal_projection_index/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03460_normal_projection_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03460_normal_projection_index_bug_race_conditions/ast.json b/parser/testdata/03460_normal_projection_index_bug_race_conditions/ast.json deleted file mode 100644 index f3a8480211..0000000000 --- a/parser/testdata/03460_normal_projection_index_bug_race_conditions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 8 - } - } - ] -} diff --git a/parser/testdata/03460_numeric_indexed_vector_to_value_map/ast.json b/parser/testdata/03460_numeric_indexed_vector_to_value_map/ast.json deleted file mode 100644 index 42ff582875..0000000000 --- a/parser/testdata/03460_numeric_indexed_vector_to_value_map/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "TEST numericIndexedVectorToMap" - } - ] - } - ] -} diff --git a/parser/testdata/03460_projection_part_filtering_and_introspection/ast.json b/parser/testdata/03460_projection_part_filtering_and_introspection/ast.json deleted file mode 100644 index 3d29824bce..0000000000 --- a/parser/testdata/03460_projection_part_filtering_and_introspection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_simple_projection", - "tables": [ - { - "table": "test_simple_projection" - } - ] -} diff --git a/parser/testdata/03460_query_condition_cache_with_projections/ast.json b/parser/testdata/03460_query_condition_cache_with_projections/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03460_query_condition_cache_with_projections/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03461_pk_prefix_trivial_count/ast.json b/parser/testdata/03461_pk_prefix_trivial_count/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03461_pk_prefix_trivial_count/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03461_string_to_date_time_cast_modes/ast.json b/parser/testdata/03461_string_to_date_time_cast_modes/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03461_string_to_date_time_cast_modes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03462_numeric_indexed_vector_serialization/ast.json b/parser/testdata/03462_numeric_indexed_vector_serialization/ast.json deleted file mode 100644 index aaba83f319..0000000000 --- a/parser/testdata/03462_numeric_indexed_vector_serialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uin_value_details_int32_float64", - "tables": [ - { - "table": "uin_value_details_int32_float64" - } - ] -} diff --git a/parser/testdata/03463_numeric_indexed_vector_overflow/ast.json b/parser/testdata/03463_numeric_indexed_vector_overflow/ast.json deleted file mode 100644 index 17084a73cb..0000000000 --- a/parser/testdata/03463_numeric_indexed_vector_overflow/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "uin_value_details", - "tables": [ - { - "table": "uin_value_details" - } - ] -} diff --git a/parser/testdata/03464_projections_with_subcolumns/ast.json b/parser/testdata/03464_projections_with_subcolumns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03464_projections_with_subcolumns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03509_stripe_log_compatible_types/ast.json b/parser/testdata/03509_stripe_log_compatible_types/ast.json deleted file mode 100644 index b4995874a0..0000000000 --- a/parser/testdata/03509_stripe_log_compatible_types/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tz", - "tables": [ - { - "table": "test_tz" - } - ] -} diff --git a/parser/testdata/03511_formatDateTime_e_space_padding/ast.json b/parser/testdata/03511_formatDateTime_e_space_padding/ast.json deleted file mode 100644 index b5c468f6df..0000000000 --- a/parser/testdata/03511_formatDateTime_e_space_padding/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatDateTime", - "arguments": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2024-05-07" - } - ] - }, - { - "type": "String", - "value": "%e/%m/%Y" - } - ], - "alias": "_date" - }, - { - "name": "length", - "arguments": [ - { - "parts": [ - "_date" - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03512_bech32_functions/ast.json b/parser/testdata/03512_bech32_functions/ast.json deleted file mode 100644 index bce867047c..0000000000 --- a/parser/testdata/03512_bech32_functions/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "bech32Encode", - "arguments": [ - { - "type": "String", - "value": "bc" - }, - { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "751e76e8199196d454941c45d1b3a323f1433bd6" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03512_cast_logical_error/ast.json b/parser/testdata/03512_cast_logical_error/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03512_cast_logical_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03512_settings_max_block_size/ast.json b/parser/testdata/03512_settings_max_block_size/ast.json deleted file mode 100644 index 62ad03066e..0000000000 --- a/parser/testdata/03512_settings_max_block_size/ast.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "column", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03513_filter_push_down_rand_bug/ast.json b/parser/testdata/03513_filter_push_down_rand_bug/ast.json deleted file mode 100644 index ce33c6abe6..0000000000 --- a/parser/testdata/03513_filter_push_down_rand_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users_items", - "tables": [ - { - "table": "users_items" - } - ] -} diff --git a/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/ast.json b/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/ast.json deleted file mode 100644 index b136c84dcb..0000000000 --- a/parser/testdata/03513_fix_shard_num_column_to_function_pass_with_nulls/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_use_nulls", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03513_lazy_materialization_projections_fix/ast.json b/parser/testdata/03513_lazy_materialization_projections_fix/ast.json deleted file mode 100644 index 2d09bf013c..0000000000 --- a/parser/testdata/03513_lazy_materialization_projections_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_lazy_materialization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03513_nullsafe_join_storage/ast.json b/parser/testdata/03513_nullsafe_join_storage/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03513_nullsafe_join_storage/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03513_read_in_order_nullable/ast.json b/parser/testdata/03513_read_in_order_nullable/ast.json deleted file mode 100644 index d121fc848a..0000000000 --- a/parser/testdata/03513_read_in_order_nullable/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/ast.json b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/ast.json deleted file mode 100644 index 05bd59d1b4..0000000000 --- a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_aggregating_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_agf_any_aggregating_mt", - "tables": [ - { - "table": "simple_agf_any_aggregating_mt" - } - ] -} diff --git a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/ast.json b/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/ast.json deleted file mode 100644 index c21304512d..0000000000 --- a/parser/testdata/03513_simple_aggregate_function_any_respect_nulls_in_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "simple_agf_any_summing_mt", - "tables": [ - { - "table": "simple_agf_any_summing_mt" - } - ] -} diff --git a/parser/testdata/03514_grace_hash_join_logical_error/ast.json b/parser/testdata/03514_grace_hash_join_logical_error/ast.json deleted file mode 100644 index 6fb164c3c5..0000000000 --- a/parser/testdata/03514_grace_hash_join_logical_error/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "A", - "tables": [ - { - "table": "A" - } - ] -} diff --git a/parser/testdata/03515_array_join_different_sizes/ast.json b/parser/testdata/03515_array_join_different_sizes/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03515_array_join_different_sizes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03516_comparison_pk_bug/ast.json b/parser/testdata/03516_comparison_pk_bug/ast.json deleted file mode 100644 index 4a716784ac..0000000000 --- a/parser/testdata/03516_comparison_pk_bug/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "where": { - "left": { - "name": "toIntervalHour", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 0 - } - } - } - ] -} diff --git a/parser/testdata/03516_int_exp2_join/ast.json b/parser/testdata/03516_int_exp2_join/ast.json deleted file mode 100644 index b5b7522663..0000000000 --- a/parser/testdata/03516_int_exp2_join/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - }, - { - "table": "t1" - }, - { - "table": "t4" - }, - { - "table": "t5" - } - ] -} diff --git a/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/ast.json b/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/ast.json deleted file mode 100644 index d968715121..0000000000 --- a/parser/testdata/03517_logical_join_predicate_push_down_with_pre_expression_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "td", - "tables": [ - { - "table": "td" - } - ] -} diff --git a/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/ast.json b/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/ast.json deleted file mode 100644 index 45bb491f08..0000000000 --- a/parser/testdata/03517_s3_plain_rewritable_encrypted_empty_path/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ], - "sync": true -} diff --git a/parser/testdata/03518_bad_sql_udf/ast.json b/parser/testdata/03518_bad_sql_udf/ast.json deleted file mode 100644 index f575ffb472..0000000000 --- a/parser/testdata/03518_bad_sql_udf/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "or_replace": true, - "create_function": true, - "function_name": "03518_bad_sql_udf", - "function_body": { - "name": "lambda", - "arguments": [ - { - "name": "identity", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - }, - { - "parts": [ - "x" - ] - } - ] - } -} diff --git a/parser/testdata/03518_left_to_cross_incorrect/ast.json b/parser/testdata/03518_left_to_cross_incorrect/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03518_left_to_cross_incorrect/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03518_table_function_remote_no_replicas/ast.json b/parser/testdata/03518_table_function_remote_no_replicas/ast.json deleted file mode 100644 index 8dbbfb893c..0000000000 --- a/parser/testdata/03518_table_function_remote_no_replicas/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "|" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03519_analyzer_tuple_cast/ast.json b/parser/testdata/03519_analyzer_tuple_cast/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_analyzer_tuple_cast/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_left_to_cross_incorrect/ast.json b/parser/testdata/03519_left_to_cross_incorrect/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_left_to_cross_incorrect/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/ast.json b/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_merge_engine_read_column_existing_in_subset_of_tables/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_merge_tree_part_info_coverage/ast.json b/parser/testdata/03519_merge_tree_part_info_coverage/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_merge_tree_part_info_coverage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_merge_tree_part_info_unpack/ast.json b/parser/testdata/03519_merge_tree_part_info_unpack/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_merge_tree_part_info_unpack/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_multiple_join_using/ast.json b/parser/testdata/03519_multiple_join_using/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03519_multiple_join_using/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03519_ttl_extended_data_types/ast.json b/parser/testdata/03519_ttl_extended_data_types/ast.json deleted file mode 100644 index 25057b0477..0000000000 --- a/parser/testdata/03519_ttl_extended_data_types/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_03519_1", - "tables": [ - { - "table": "ttl_03519_1" - } - ], - "sync": true -} diff --git a/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/ast.json b/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/ast.json deleted file mode 100644 index bf0d18cb2f..0000000000 --- a/parser/testdata/03519_zero_filesystem_prefetch_max_memory_usage/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "filesystem_prefetch_max_memory_usage", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03520_analyzer_distributed_in_cte_bug/ast.json b/parser/testdata/03520_analyzer_distributed_in_cte_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03520_analyzer_distributed_in_cte_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03520_left_to_cross_incorrect/ast.json b/parser/testdata/03520_left_to_cross_incorrect/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03520_left_to_cross_incorrect/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03520_pr_distinct_in_order/ast.json b/parser/testdata/03520_pr_distinct_in_order/ast.json deleted file mode 100644 index 923e679063..0000000000 --- a/parser/testdata/03520_pr_distinct_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_dio", - "tables": [ - { - "table": "t_dio" - } - ] -} diff --git a/parser/testdata/03520_pr_read_in_order/ast.json b/parser/testdata/03520_pr_read_in_order/ast.json deleted file mode 100644 index 69260cdec1..0000000000 --- a/parser/testdata/03520_pr_read_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_rio", - "tables": [ - { - "table": "t_rio" - } - ] -} diff --git a/parser/testdata/03521_bitNot_String_NUL_terminated/ast.json b/parser/testdata/03521_bitNot_String_NUL_terminated/ast.json deleted file mode 100644 index 30030997cb..0000000000 --- a/parser/testdata/03521_bitNot_String_NUL_terminated/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "uniqCombined64", - "arguments": [ - { - "name": "bitNot", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - }, - { - "name": "anyHeavy", - "arguments": [ - { - "name": "bitNot", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "distinct": true, - "columns": [ - { - "name": "concat", - "arguments": [ - { - "type": "Integer", - "value": 2 - }, - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03521_long_partition_column_name/ast.json b/parser/testdata/03521_long_partition_column_name/ast.json deleted file mode 100644 index c436a2018d..0000000000 --- a/parser/testdata/03521_long_partition_column_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_long_partition_column_name", - "tables": [ - { - "table": "t_long_partition_column_name" - } - ] -} diff --git a/parser/testdata/03521_long_statistics_name/ast.json b/parser/testdata/03521_long_statistics_name/ast.json deleted file mode 100644 index eb8025d3b2..0000000000 --- a/parser/testdata/03521_long_statistics_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_long_statistics_name", - "tables": [ - { - "table": "t_long_statistics_name" - } - ] -} diff --git a/parser/testdata/03521_system_unicode/ast.json b/parser/testdata/03521_system_unicode/ast.json deleted file mode 100644 index 0548df801b..0000000000 --- a/parser/testdata/03521_system_unicode/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "code_point" - ] - }, - { - "parts": [ - "code_point_value" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "unicode" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "code_point" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "😂" - } - } - } - ] -} diff --git a/parser/testdata/03522_alter_modify_column_and_materialize_projection/ast.json b/parser/testdata/03522_alter_modify_column_and_materialize_projection/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03522_alter_modify_column_and_materialize_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03522_analyzer_check_correlated_columns/ast.json b/parser/testdata/03522_analyzer_check_correlated_columns/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03522_analyzer_check_correlated_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03522_function_first_non_default/ast.json b/parser/testdata/03522_function_first_non_default/ast.json deleted file mode 100644 index 9c571dd553..0000000000 --- a/parser/testdata/03522_function_first_non_default/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "firstNonDefault", - "arguments": [ - { - "type": "Null", - "value": null - }, - { - "type": "Integer", - "value": 0 - }, - { - "type": "Integer", - "value": 43 - }, - { - "type": "Integer", - "value": 256 - } - ], - "alias": "result" - } - ] - } - ] -} diff --git a/parser/testdata/03522_join_resolve_matcher_recursive_bug/ast.json b/parser/testdata/03522_join_resolve_matcher_recursive_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03522_join_resolve_matcher_recursive_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03522_join_using_bug_78907/ast.json b/parser/testdata/03522_join_using_bug_78907/ast.json deleted file mode 100644 index c3763c2fb4..0000000000 --- a/parser/testdata/03522_join_using_bug_78907/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "table": "tabc__fuzz_21", - "columns": [ - { - "name": "a", - "type": { - "name": "Int64" - } - }, - { - "name": "b", - "type": { - "name": "Int8" - }, - "default": { - "left": { - "parts": [ - "a" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "ALIAS" - }, - { - "name": "c", - "type": { - "name": "DateTime" - }, - "default": { - "left": { - "parts": [ - "b" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "default_kind": "ALIAS" - }, - { - "name": "s", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ] -} diff --git a/parser/testdata/03522_nullable_partition_key/ast.json b/parser/testdata/03522_nullable_partition_key/ast.json deleted file mode 100644 index 92976fbd10..0000000000 --- a/parser/testdata/03522_nullable_partition_key/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "c0", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Int" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "c0" - ] - } - ], - "partition_by": { - "parts": [ - "c0" - ] - }, - "settings": [ - { - "name": "allow_nullable_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03522_window_table_arg/ast.json b/parser/testdata/03522_window_table_arg/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03522_window_table_arg/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03524_nullable_extremes/ast.json b/parser/testdata/03524_nullable_extremes/ast.json deleted file mode 100644 index 3cdfc153c4..0000000000 --- a/parser/testdata/03524_nullable_extremes/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- int, single part" - } - ] - } - ] -} diff --git a/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/ast.json b/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/ast.json deleted file mode 100644 index 093b2a33f5..0000000000 --- a/parser/testdata/03525_distributed_product_mode_local_IN_cross_replication_analyzer_bug/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "shard_0", - "create_database": true -} diff --git a/parser/testdata/03525_json_extract_datetime64_from_numbers/ast.json b/parser/testdata/03525_json_extract_datetime64_from_numbers/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03525_json_extract_datetime64_from_numbers/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/ast.json b/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03525_json_infer_array_of_dynamic_from_array_of_different_types/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03525_timezoneof_illegal_type/ast.json b/parser/testdata/03525_timezoneof_illegal_type/ast.json deleted file mode 100644 index 758ca5af16..0000000000 --- a/parser/testdata/03525_timezoneof_illegal_type/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "timeZoneOf", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/ast.json b/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/ast.json deleted file mode 100644 index 1bdb9f2f82..0000000000 --- a/parser/testdata/03525_transform_null_in_subqeury_with_not_nullable_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "transform_null_in", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03526_columns_substreams_in_wide_parts/ast.json b/parser/testdata/03526_columns_substreams_in_wide_parts/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03526_columns_substreams_in_wide_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03529_quantile_deterministic_ubsan/ast.json b/parser/testdata/03529_quantile_deterministic_ubsan/ast.json deleted file mode 100644 index 333070b68e..0000000000 --- a/parser/testdata/03529_quantile_deterministic_ubsan/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantileDeterministicState", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "type": "Integer", - "value": 0 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 8193 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03530_insert_into_distributed_different_types_sparseness/ast.json b/parser/testdata/03530_insert_into_distributed_different_types_sparseness/ast.json deleted file mode 100644 index 84c012c23b..0000000000 --- a/parser/testdata/03530_insert_into_distributed_different_types_sparseness/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "sparse", - "tables": [ - { - "table": "sparse" - } - ] -} diff --git a/parser/testdata/03531_check_count_for_parquet/ast.json b/parser/testdata/03531_check_count_for_parquet/ast.json deleted file mode 100644 index 7c4dec9837..0000000000 --- a/parser/testdata/03531_check_count_for_parquet/ast.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "count" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "url", - "arguments": [ - { - "type": "String", - "value": "http://localhost:11111/test/hive_partitioning/column0=Elizabeth/sample.parquet" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03531_insert_removing_sparse_transform/ast.json b/parser/testdata/03531_insert_removing_sparse_transform/ast.json deleted file mode 100644 index 33837b0d32..0000000000 --- a/parser/testdata/03531_insert_removing_sparse_transform/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_log", - "tables": [ - { - "table": "t_log" - } - ] -} diff --git a/parser/testdata/03532_divideOrNull_jit_crash/ast.json b/parser/testdata/03532_divideOrNull_jit_crash/ast.json deleted file mode 100644 index d54853699c..0000000000 --- a/parser/testdata/03532_divideOrNull_jit_crash/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "op": "NOT", - "operand": { - "name": "divideOrNull", - "arguments": [ - { - "type": "Integer", - "value": 0 - }, - {} - ] - } - }, - "op": "AND", - "right": { - "op": "NOT", - "operand": { - "name": "intDivOrNull", - "arguments": [ - {}, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ], - "settings": [ - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "min_count_to_compile_expression", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03532_dynamic_flattened_serialization_bug/ast.json b/parser/testdata/03532_dynamic_flattened_serialization_bug/ast.json deleted file mode 100644 index a662595605..0000000000 --- a/parser/testdata/03532_dynamic_flattened_serialization_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "type_json_skip_duplicated_paths", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03532_json_dynamic_updates/ast.json b/parser/testdata/03532_json_dynamic_updates/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/03532_json_dynamic_updates/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03532_pr_unused_query_cancelling_with_limit/ast.json b/parser/testdata/03532_pr_unused_query_cancelling_with_limit/ast.json deleted file mode 100644 index c1e9aadf8d..0000000000 --- a/parser/testdata/03532_pr_unused_query_cancelling_with_limit/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pr_tt", - "tables": [ - { - "table": "pr_tt" - } - ] -} diff --git a/parser/testdata/03532_use_database_syntax/ast.json b/parser/testdata/03532_use_database_syntax/ast.json deleted file mode 100644 index d57281d35c..0000000000 --- a/parser/testdata/03532_use_database_syntax/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "d1", - "create_database": true -} diff --git a/parser/testdata/03532_window_function_and_null_source_max_threads/ast.json b/parser/testdata/03532_window_function_and_null_source_max_threads/ast.json deleted file mode 100644 index c87d3a6d9e..0000000000 --- a/parser/testdata/03532_window_function_and_null_source_max_threads/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "table": "empty", - "columns": [ - { - "name": "n", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "n" - ] - } - ] -} diff --git a/parser/testdata/03533_analyzer_correlated_column_check/ast.json b/parser/testdata/03533_analyzer_correlated_column_check/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03533_analyzer_correlated_column_check/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03533_named_tuple_supertype/ast.json b/parser/testdata/03533_named_tuple_supertype/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03533_named_tuple_supertype/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03533_skip_index_on_data_reading/ast.json b/parser/testdata/03533_skip_index_on_data_reading/ast.json deleted file mode 100644 index b23ee76bc6..0000000000 --- a/parser/testdata/03533_skip_index_on_data_reading/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes_on_data_read", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03533_xirr/ast.json b/parser/testdata/03533_xirr/ast.json deleted file mode 100644 index 39132ece7b..0000000000 --- a/parser/testdata/03533_xirr/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "round", - "arguments": [ - { - "name": "financialInternalRateOfReturnExtended", - "arguments": [ - { - "type": "Array", - "value": [ - { - "op": "-", - "operand": { - "type": "Integer", - "value": 10000 - } - }, - { - "type": "Integer", - "value": 5750 - }, - { - "type": "Integer", - "value": 4250 - }, - { - "type": "Integer", - "value": 3250 - } - ] - }, - { - "type": "Array", - "value": [ - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2020-01-01" - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2020-03-01" - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2020-10-30" - } - ] - }, - { - "name": "toDate", - "arguments": [ - { - "type": "String", - "value": "2021-02-15" - } - ] - } - ] - } - ] - }, - { - "type": "Integer", - "value": 6 - } - ], - "alias": "xirr_rate" - } - ] - } - ] -} diff --git a/parser/testdata/03534_npy_output_to_url/ast.json b/parser/testdata/03534_npy_output_to_url/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03534_npy_output_to_url/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03534_skip_index_bug89691/ast.json b/parser/testdata/03534_skip_index_bug89691/ast.json deleted file mode 100644 index b23ee76bc6..0000000000 --- a/parser/testdata/03534_skip_index_bug89691/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_skip_indexes_on_data_read", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03535_system_formats/ast.json b/parser/testdata/03535_system_formats/ast.json deleted file mode 100644 index fec57d2d96..0000000000 --- a/parser/testdata/03535_system_formats/ast.json +++ /dev/null @@ -1,464 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "formats" - } - } - } - ] - }, - "where": { - "expr": { - "parts": [ - "name" - ] - }, - "list": [ - { - "type": "String", - "value": "Arrow" - }, - { - "type": "String", - "value": "ArrowStream" - }, - { - "type": "String", - "value": "Avro" - }, - { - "type": "String", - "value": "AvroConfluent" - }, - { - "type": "String", - "value": "BSONEachRow" - }, - { - "type": "String", - "value": "Buffers" - }, - { - "type": "String", - "value": "CSV" - }, - { - "type": "String", - "value": "CSVWithNames" - }, - { - "type": "String", - "value": "CSVWithNamesAndTypes" - }, - { - "type": "String", - "value": "CapnProto" - }, - { - "type": "String", - "value": "CustomSeparated" - }, - { - "type": "String", - "value": "CustomSeparatedIgnoreSpaces" - }, - { - "type": "String", - "value": "CustomSeparatedIgnoreSpacesWithNames" - }, - { - "type": "String", - "value": "CustomSeparatedIgnoreSpacesWithNamesAndTypes" - }, - { - "type": "String", - "value": "CustomSeparatedWithNames" - }, - { - "type": "String", - "value": "CustomSeparatedWithNamesAndTypes" - }, - { - "type": "String", - "value": "Form" - }, - { - "type": "String", - "value": "HiveText" - }, - { - "type": "String", - "value": "JSON" - }, - { - "type": "String", - "value": "JSONAsObject" - }, - { - "type": "String", - "value": "JSONAsString" - }, - { - "type": "String", - "value": "JSONColumns" - }, - { - "type": "String", - "value": "JSONColumnsWithMetadata" - }, - { - "type": "String", - "value": "JSONCompact" - }, - { - "type": "String", - "value": "JSONCompactColumns" - }, - { - "type": "String", - "value": "JSONCompactEachRow" - }, - { - "type": "String", - "value": "JSONCompactEachRowWithNames" - }, - { - "type": "String", - "value": "JSONCompactEachRowWithNamesAndTypes" - }, - { - "type": "String", - "value": "JSONCompactEachRowWithProgress" - }, - { - "type": "String", - "value": "JSONCompactStrings" - }, - { - "type": "String", - "value": "JSONCompactStringsEachRow" - }, - { - "type": "String", - "value": "JSONCompactStringsEachRowWithNames" - }, - { - "type": "String", - "value": "JSONCompactStringsEachRowWithNamesAndTypes" - }, - { - "type": "String", - "value": "JSONCompactStringsEachRowWithProgress" - }, - { - "type": "String", - "value": "JSONEachRow" - }, - { - "type": "String", - "value": "JSONEachRowWithProgress" - }, - { - "type": "String", - "value": "JSONLines" - }, - { - "type": "String", - "value": "JSONObjectEachRow" - }, - { - "type": "String", - "value": "JSONStrings" - }, - { - "type": "String", - "value": "JSONStringsEachRow" - }, - { - "type": "String", - "value": "JSONStringsEachRowWithProgress" - }, - { - "type": "String", - "value": "LineAsString" - }, - { - "type": "String", - "value": "LineAsStringWithNames" - }, - { - "type": "String", - "value": "LineAsStringWithNamesAndTypes" - }, - { - "type": "String", - "value": "Markdown" - }, - { - "type": "String", - "value": "MsgPack" - }, - { - "type": "String", - "value": "MySQLDump" - }, - { - "type": "String", - "value": "MySQLWire" - }, - { - "type": "String", - "value": "NDJSON" - }, - { - "type": "String", - "value": "Native" - }, - { - "type": "String", - "value": "Npy" - }, - { - "type": "String", - "value": "Null" - }, - { - "type": "String", - "value": "ODBCDriver2" - }, - { - "type": "String", - "value": "ORC" - }, - { - "type": "String", - "value": "One" - }, - { - "type": "String", - "value": "Parquet" - }, - { - "type": "String", - "value": "ParquetMetadata" - }, - { - "type": "String", - "value": "PostgreSQLWire" - }, - { - "type": "String", - "value": "Pretty" - }, - { - "type": "String", - "value": "PrettyCompact" - }, - { - "type": "String", - "value": "PrettyCompactMonoBlock" - }, - { - "type": "String", - "value": "PrettyCompactNoEscapes" - }, - { - "type": "String", - "value": "PrettyCompactNoEscapesMonoBlock" - }, - { - "type": "String", - "value": "PrettyJSONEachRow" - }, - { - "type": "String", - "value": "PrettyJSONLines" - }, - { - "type": "String", - "value": "PrettyMonoBlock" - }, - { - "type": "String", - "value": "PrettyNDJSON" - }, - { - "type": "String", - "value": "PrettyNoEscapes" - }, - { - "type": "String", - "value": "PrettyNoEscapesMonoBlock" - }, - { - "type": "String", - "value": "PrettySpace" - }, - { - "type": "String", - "value": "PrettySpaceMonoBlock" - }, - { - "type": "String", - "value": "PrettySpaceNoEscapes" - }, - { - "type": "String", - "value": "PrettySpaceNoEscapesMonoBlock" - }, - { - "type": "String", - "value": "Prometheus" - }, - { - "type": "String", - "value": "Protobuf" - }, - { - "type": "String", - "value": "ProtobufList" - }, - { - "type": "String", - "value": "ProtobufSingle" - }, - { - "type": "String", - "value": "Raw" - }, - { - "type": "String", - "value": "RawBLOB" - }, - { - "type": "String", - "value": "RawWithNames" - }, - { - "type": "String", - "value": "RawWithNamesAndTypes" - }, - { - "type": "String", - "value": "Regexp" - }, - { - "type": "String", - "value": "RowBinary" - }, - { - "type": "String", - "value": "RowBinaryWithDefaults" - }, - { - "type": "String", - "value": "RowBinaryWithNames" - }, - { - "type": "String", - "value": "RowBinaryWithNamesAndTypes" - }, - { - "type": "String", - "value": "SQLInsert" - }, - { - "type": "String", - "value": "TSKV" - }, - { - "type": "String", - "value": "TSV" - }, - { - "type": "String", - "value": "TSVRaw" - }, - { - "type": "String", - "value": "TSVRawWithNames" - }, - { - "type": "String", - "value": "TSVRawWithNamesAndTypes" - }, - { - "type": "String", - "value": "TSVWithNames" - }, - { - "type": "String", - "value": "TSVWithNamesAndTypes" - }, - { - "type": "String", - "value": "TabSeparated" - }, - { - "type": "String", - "value": "TabSeparatedRaw" - }, - { - "type": "String", - "value": "TabSeparatedRawWithNames" - }, - { - "type": "String", - "value": "TabSeparatedRawWithNamesAndTypes" - }, - { - "type": "String", - "value": "TabSeparatedWithNames" - }, - { - "type": "String", - "value": "TabSeparatedWithNamesAndTypes" - }, - { - "type": "String", - "value": "Template" - }, - { - "type": "String", - "value": "TemplateIgnoreSpaces" - }, - { - "type": "String", - "value": "Values" - }, - { - "type": "String", - "value": "Vertical" - }, - { - "type": "String", - "value": "XML" - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "name" - ] - } - } - ], - "format": { - "parts": [ - "PrettyCompact" - ] - } - } - ] -} diff --git a/parser/testdata/03537_kusto_ubsan/ast.json b/parser/testdata/03537_kusto_ubsan/ast.json deleted file mode 100644 index 26d781475b..0000000000 --- a/parser/testdata/03537_kusto_ubsan/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "interval_output_format", - "value": { - "type": "String", - "value": "kusto" - } - } - ] -} diff --git a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/ast.json b/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03538_analyzer_correlated_query_collect_columns_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03538_analyzer_filter_analysis_alias_columns/ast.json b/parser/testdata/03538_analyzer_filter_analysis_alias_columns/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03538_analyzer_filter_analysis_alias_columns/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03538_analyzer_lag_lead_functions/ast.json b/parser/testdata/03538_analyzer_lag_lead_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03538_analyzer_lag_lead_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/ast.json b/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03538_analyzer_scalar_correlated_subquery_fix/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03538_array_except/ast.json b/parser/testdata/03538_array_except/ast.json deleted file mode 100644 index 49d4bbc23e..0000000000 --- a/parser/testdata/03538_array_except/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "3538_array_except1", - "tables": [ - { - "table": "3538_array_except1" - } - ] -} diff --git a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/ast.json b/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/ast.json deleted file mode 100644 index 3eb390e577..0000000000 --- a/parser/testdata/03538_crash_in_parallel_hash_with_empty_using/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_parallel_replicas", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03538_higher_order_functions_null_filter/ast.json b/parser/testdata/03538_higher_order_functions_null_filter/ast.json deleted file mode 100644 index dd7282ed97..0000000000 --- a/parser/testdata/03538_higher_order_functions_null_filter/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFirst", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "left": { - "parts": [ - "x" - ] - }, - "op": "!=", - "right": { - "type": "String", - "value": "" - } - } - }, - { - "type": "Array", - "value": [ - { - "type": "Null", - "value": null - }, - { - "type": "String", - "value": "arrayFirst" - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03538_optimize_rewrite_regexp_functions/ast.json b/parser/testdata/03538_optimize_rewrite_regexp_functions/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03538_optimize_rewrite_regexp_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03538_validate_setting_merge_max_block_size/ast.json b/parser/testdata/03538_validate_setting_merge_max_block_size/ast.json deleted file mode 100644 index 45fbc9c146..0000000000 --- a/parser/testdata/03538_validate_setting_merge_max_block_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "validate_setting_merge_max_block_size", - "tables": [ - { - "table": "validate_setting_merge_max_block_size" - } - ] -} diff --git a/parser/testdata/03539_kusto_output_format_trash/ast.json b/parser/testdata/03539_kusto_output_format_trash/ast.json deleted file mode 100644 index 2762e455cb..0000000000 --- a/parser/testdata/03539_kusto_output_format_trash/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "/query.data" - } - }, - { - "type": "String", - "value": "RowBinary" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "SECOND" - } - ], - "settings": [ - { - "name": "interval_output_format", - "value": { - "type": "String", - "value": "kusto" - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03540_date_trunc_old_behaviour/ast.json b/parser/testdata/03540_date_trunc_old_behaviour/ast.json deleted file mode 100644 index 83d75fe9e4..0000000000 --- a/parser/testdata/03540_date_trunc_old_behaviour/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "function_date_trunc_return_type_behavior", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03541_table_without_insertable_columns/ast.json b/parser/testdata/03541_table_without_insertable_columns/ast.json deleted file mode 100644 index c63212e334..0000000000 --- a/parser/testdata/03541_table_without_insertable_columns/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "table": "no_physical", - "columns": [ - { - "name": "a", - "type": { - "name": "Int" - }, - "default_kind": "EPHEMERAL" - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03542_TTL_dict/ast.json b/parser/testdata/03542_TTL_dict/ast.json deleted file mode 100644 index a7bc418961..0000000000 --- a/parser/testdata/03542_TTL_dict/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_dict", - "tables": [ - { - "table": "ttl_dict" - } - ] -} diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/ast.json b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/ast.json b/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03545_analyzer_correlated_subqueries_use_equivalence_classes_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/ast.json b/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03545_analyzer_correlated_subquery_exists_asterisk/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03545_array_join_index_set_bug/ast.json b/parser/testdata/03545_array_join_index_set_bug/ast.json deleted file mode 100644 index 32022a8092..0000000000 --- a/parser/testdata/03545_array_join_index_set_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "right", - "tables": [ - { - "table": "right" - } - ] -} diff --git a/parser/testdata/03545_map_contains_bloom_index_bug/ast.json b/parser/testdata/03545_map_contains_bloom_index_bug/ast.json deleted file mode 100644 index b38a1b1802..0000000000 --- a/parser/testdata/03545_map_contains_bloom_index_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_map_contains_values", - "tables": [ - { - "table": "test_map_contains_values" - } - ] -} diff --git a/parser/testdata/03545_number_of_rows_in_ttltransform/ast.json b/parser/testdata/03545_number_of_rows_in_ttltransform/ast.json deleted file mode 100644 index 7a58d304ba..0000000000 --- a/parser/testdata/03545_number_of_rows_in_ttltransform/ast.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime" - } - }, - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "value", - "type": { - "name": "UInt16" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "id" - ] - }, - { - "name": "toStartOfDay", - "arguments": [ - { - "parts": [ - "timestamp" - ] - } - ] - } - ] - } - ], - "ttl": { - "expression": { - "left": { - "parts": [ - "timestamp" - ] - }, - "op": "+", - "right": { - "name": "toIntervalDay", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } -} diff --git a/parser/testdata/03545_union_allow_column_with_no_common_type/ast.json b/parser/testdata/03545_union_allow_column_with_no_common_type/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03545_union_allow_column_with_no_common_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/ast.json b/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03546_03545_analyzer_correlated_subquery_exists_asterisk_crash/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03546_add_distinct_to_in_clause/ast.json b/parser/testdata/03546_add_distinct_to_in_clause/ast.json deleted file mode 100644 index 08b90be5e7..0000000000 --- a/parser/testdata/03546_add_distinct_to_in_clause/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_table_1", - "tables": [ - { - "table": "local_table_1" - } - ] -} diff --git a/parser/testdata/03546_join_key_value_storage_with_casted_key/ast.json b/parser/testdata/03546_join_key_value_storage_with_casted_key/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03546_join_key_value_storage_with_casted_key/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03546_merge_tree_projection_shared_snapshot/ast.json b/parser/testdata/03546_merge_tree_projection_shared_snapshot/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03546_merge_tree_projection_shared_snapshot/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03546_multiple_join_use_nulls_matcher/ast.json b/parser/testdata/03546_multiple_join_use_nulls_matcher/ast.json deleted file mode 100644 index 12e737f04b..0000000000 --- a/parser/testdata/03546_multiple_join_use_nulls_matcher/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tableA", - "tables": [ - { - "table": "tableA" - } - ] -} diff --git a/parser/testdata/03546_paimon_all_supported_type/ast.json b/parser/testdata/03546_paimon_all_supported_type/ast.json deleted file mode 100644 index 5f5497ba48..0000000000 --- a/parser/testdata/03546_paimon_all_supported_type/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "enable_time_time64_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03546_part_granule_offset/ast.json b/parser/testdata/03546_part_granule_offset/ast.json deleted file mode 100644 index 7077df2772..0000000000 --- a/parser/testdata/03546_part_granule_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_part_granule_offset", - "tables": [ - { - "table": "test_part_granule_offset" - } - ] -} diff --git a/parser/testdata/03547_analyzer_correlated_columns_check_bug/ast.json b/parser/testdata/03547_analyzer_correlated_columns_check_bug/ast.json deleted file mode 100644 index 75414d1529..0000000000 --- a/parser/testdata/03547_analyzer_correlated_columns_check_bug/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03547_analyzer_correlated_subqueries/ast.json b/parser/testdata/03547_analyzer_correlated_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03547_analyzer_correlated_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03547_equals_optimizer_lowcardinality/ast.json b/parser/testdata/03547_equals_optimizer_lowcardinality/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03547_equals_optimizer_lowcardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03547_reinterpret_to_array/ast.json b/parser/testdata/03547_reinterpret_to_array/ast.json deleted file mode 100644 index ad2c6f339a..0000000000 --- a/parser/testdata/03547_reinterpret_to_array/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Verify correct destination type is instantiated" - } - ] - } - ] -} diff --git a/parser/testdata/03548_analyzer_indentifier_resolution_invariant/ast.json b/parser/testdata/03548_analyzer_indentifier_resolution_invariant/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03548_analyzer_indentifier_resolution_invariant/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03548_array_group_last_serialization/ast.json b/parser/testdata/03548_array_group_last_serialization/ast.json deleted file mode 100644 index 3ac12ee54a..0000000000 --- a/parser/testdata/03548_array_group_last_serialization/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv0", - "tables": [ - { - "table": "mv0" - } - ] -} diff --git a/parser/testdata/03548_optimize_syntax_fuse_functions_clash/ast.json b/parser/testdata/03548_optimize_syntax_fuse_functions_clash/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03548_optimize_syntax_fuse_functions_clash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03549_aggregate_arithmetic_logical_error/ast.json b/parser/testdata/03549_aggregate_arithmetic_logical_error/ast.json deleted file mode 100644 index a26d1fcbd8..0000000000 --- a/parser/testdata/03549_aggregate_arithmetic_logical_error/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sumMerge", - "arguments": [ - { - "left": { - "name": "initializeAggregation", - "arguments": [ - { - "type": "String", - "value": "sumState" - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - "op": "*", - "right": { - "expr": { - "type": "String", - "value": "1.1.1.1" - }, - "type": { - "name": "IPv4" - } - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03549_analyzer_fix_filter_removal/ast.json b/parser/testdata/03549_analyzer_fix_filter_removal/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03549_analyzer_fix_filter_removal/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03549_conv_function/ast.json b/parser/testdata/03549_conv_function/ast.json deleted file mode 100644 index 76975d4f3b..0000000000 --- a/parser/testdata/03549_conv_function/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "conv", - "arguments": [ - { - "type": "String", - "value": "10" - }, - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03549_keeper_map_column_comments/ast.json b/parser/testdata/03549_keeper_map_column_comments/ast.json deleted file mode 100644 index ad68d92072..0000000000 --- a/parser/testdata/03549_keeper_map_column_comments/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "03549_test", - "tables": [ - { - "table": "03549_test" - } - ], - "sync": true -} diff --git a/parser/testdata/03549_system_dimensional_metrics/ast.json b/parser/testdata/03549_system_dimensional_metrics/ast.json deleted file mode 100644 index bc31f4cca6..0000000000 --- a/parser/testdata/03549_system_dimensional_metrics/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "dimensional_metrics" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03549_window_collation/ast.json b/parser/testdata/03549_window_collation/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03549_window_collation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03549_wkb_function/ast.json b/parser/testdata/03549_wkb_function/ast.json deleted file mode 100644 index 2545cafd10..0000000000 --- a/parser/testdata/03549_wkb_function/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "geom1", - "tables": [ - { - "table": "geom1" - } - ] -} diff --git a/parser/testdata/03550_analyzer_remote_view_columns/ast.json b/parser/testdata/03550_analyzer_remote_view_columns/ast.json deleted file mode 100644 index 0a5c91b3bf..0000000000 --- a/parser/testdata/03550_analyzer_remote_view_columns/ast.json +++ /dev/null @@ -1,82 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "i1", - "type": { - "name": "Int64" - } - }, - { - "name": "i2", - "type": { - "name": "Int64" - } - }, - { - "name": "i3", - "type": { - "name": "Int64" - } - }, - { - "name": "i4", - "type": { - "name": "Int64" - } - }, - { - "name": "i5", - "type": { - "name": "Int64" - } - }, - { - "name": "i6", - "type": { - "name": "Int64" - } - }, - { - "name": "i7", - "type": { - "name": "Int64" - } - }, - { - "name": "i8", - "type": { - "name": "Int64" - } - }, - { - "name": "i9", - "type": { - "name": "Int64" - } - }, - { - "name": "i10", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/03550_projection_with_part_offset_ttl/ast.json b/parser/testdata/03550_projection_with_part_offset_ttl/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03550_projection_with_part_offset_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03550_s3queue_no_settings/ast.json b/parser/testdata/03550_s3queue_no_settings/ast.json deleted file mode 100644 index dfe6fff1e3..0000000000 --- a/parser/testdata/03550_s3queue_no_settings/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "s3_queue", - "columns": [ - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "value", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "S3Queue", - "parameters": [ - { - "type": "String", - "value": "http://localhost:11111/test/{a,b,c}.tsv" - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03550_variant_extend_union/ast.json b/parser/testdata/03550_variant_extend_union/ast.json deleted file mode 100644 index f1f16096e0..0000000000 --- a/parser/testdata/03550_variant_extend_union/ast.json +++ /dev/null @@ -1,194 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "expr": { - "type": "String", - "value": "{\"a\":42}" - }, - "type": { - "name": "JSON" - }, - "operator_syntax": true - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "JSON" - }, - { - "name": "String" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "JSON" - }, - { - "name": "String" - }, - { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - }, - { - "columns": [ - { - "expr": { - "expr": { - "type": "String", - "value": "b" - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "JSON" - }, - { - "name": "String" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "JSON" - }, - { - "name": "String" - }, - { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - }, - { - "columns": [ - { - "expr": { - "expr": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "c" - } - ] - }, - "type": { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "JSON" - }, - { - "name": "String" - }, - { - "name": "Array", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "ALL" - ] - } - } - ], - "settings": [ - { - "name": "allow_suspicious_types_in_order_by", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03551_cast_decimal_to_float/ast.json b/parser/testdata/03551_cast_decimal_to_float/ast.json deleted file mode 100644 index 190b9e38a2..0000000000 --- a/parser/testdata/03551_cast_decimal_to_float/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Integer", - "value": 9 - }, - "type": { - "name": "Decimal", - "parameters": [ - { - "type": "Integer", - "value": 76 - }, - { - "type": "Integer", - "value": 38 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - }, - "type": { - "name": "Float64" - }, - "operator_syntax": true - } - ] - } - ] -} diff --git a/parser/testdata/03551_no_alter_for_columns_to_sum/ast.json b/parser/testdata/03551_no_alter_for_columns_to_sum/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03551_no_alter_for_columns_to_sum/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/ast.json b/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/ast.json deleted file mode 100644 index c7824fc54d..0000000000 --- a/parser/testdata/03552_inconsistent_formatting_operator_as_table_function/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "globalIn", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03553_json_shared_data_advanced_serialization/ast.json b/parser/testdata/03553_json_shared_data_advanced_serialization/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03553_json_shared_data_advanced_serialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03553_json_shared_data_map_serialization/ast.json b/parser/testdata/03553_json_shared_data_map_serialization/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03553_json_shared_data_map_serialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/ast.json b/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03553_json_shared_data_map_with_buckets_serialization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/ast.json b/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/ast.json deleted file mode 100644 index 72406c1ee5..0000000000 --- a/parser/testdata/03554_json_shared_data_advanced_serialization_compact_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_compact_without_substreams_advanced", - "tables": [ - { - "table": "test_compact_without_substreams_advanced" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/ast.json b/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/ast.json deleted file mode 100644 index 79bc764e7a..0000000000 --- a/parser/testdata/03554_json_shared_data_advanced_serialization_wide_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_advanced", - "tables": [ - { - "table": "test_wide_advanced" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/ast.json b/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/ast.json deleted file mode 100644 index 41dfabe1b2..0000000000 --- a/parser/testdata/03554_json_shared_data_map_serialization_compact_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_compact_map", - "tables": [ - { - "table": "test_compact_map" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/ast.json b/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/ast.json deleted file mode 100644 index fe436bb42e..0000000000 --- a/parser/testdata/03554_json_shared_data_map_serialization_wide_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_map", - "tables": [ - { - "table": "test_wide_map" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/ast.json b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/ast.json deleted file mode 100644 index 2534ebdaa5..0000000000 --- a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_compact_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_compact_map_with_buckets", - "tables": [ - { - "table": "test_compact_map_with_buckets" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/ast.json b/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/ast.json deleted file mode 100644 index a3ec391619..0000000000 --- a/parser/testdata/03554_json_shared_data_map_with_buckets_serialization_wide_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_map_with_buckets", - "tables": [ - { - "table": "test_wide_map_with_buckets" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/ast.json b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/ast.json deleted file mode 100644 index af9a1fd249..0000000000 --- a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_compact_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_compact_advanced_tuple", - "tables": [ - { - "table": "test_compact_advanced_tuple" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/ast.json b/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/ast.json deleted file mode 100644 index 2e908c8f8c..0000000000 --- a/parser/testdata/03554_json_shared_data_tuple_advanced_serialization_wide_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_advanced_tuple", - "tables": [ - { - "table": "test_wide_advanced_tuple" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/ast.json b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/ast.json deleted file mode 100644 index 4a618b3285..0000000000 --- a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_compact_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_compact_map_with_buckets_tuple", - "tables": [ - { - "table": "test_compact_map_with_buckets_tuple" - } - ] -} diff --git a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/ast.json b/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/ast.json deleted file mode 100644 index 9f3e38baa7..0000000000 --- a/parser/testdata/03554_json_shared_data_tuple_map_with_buckets_serialization_wide_part_big/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_wide_map_with_buckets_tuple", - "tables": [ - { - "table": "test_wide_map_with_buckets_tuple" - } - ] -} diff --git a/parser/testdata/03555_inconsistent_formatting_ttl/ast.json b/parser/testdata/03555_inconsistent_formatting_ttl/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03555_inconsistent_formatting_ttl/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/ast.json b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_1/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/ast.json b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/ast.json b/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/ast.json deleted file mode 100644 index e0bbaf61d5..0000000000 --- a/parser/testdata/03555_json_shared_data_advanced_paths_indexes_3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_json_quote_64bit_integers", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03559_explain_ast_in_subquery/ast.json b/parser/testdata/03559_explain_ast_in_subquery/ast.json deleted file mode 100644 index 3da2551a1c..0000000000 --- a/parser/testdata/03559_explain_ast_in_subquery/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "query": { - "explain_type": "AST", - "statement": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "into_outfile": { - "filename": "a" - } - } - ] - } - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03560_low_cardinality_keys_filter/ast.json b/parser/testdata/03560_low_cardinality_keys_filter/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03560_low_cardinality_keys_filter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03560_new_analyzer_default_expression/ast.json b/parser/testdata/03560_new_analyzer_default_expression/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03560_new_analyzer_default_expression/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03560_parallel_replicas_external_aggregation/ast.json b/parser/testdata/03560_parallel_replicas_external_aggregation/ast.json deleted file mode 100644 index 570902084e..0000000000 --- a/parser/testdata/03560_parallel_replicas_external_aggregation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_proj_external_agg", - "tables": [ - { - "table": "t_proj_external_agg" - } - ] -} diff --git a/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/ast.json b/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/ast.json deleted file mode 100644 index 18cae223c9..0000000000 --- a/parser/testdata/03560_parallel_replicas_memory_bound_merging_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "pr_t", - "tables": [ - { - "table": "pr_t" - } - ] -} diff --git a/parser/testdata/03560_parallel_replicas_projection/ast.json b/parser/testdata/03560_parallel_replicas_projection/ast.json deleted file mode 100644 index 7280de9500..0000000000 --- a/parser/testdata/03560_parallel_replicas_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "normal", - "tables": [ - { - "table": "normal" - } - ] -} diff --git a/parser/testdata/03560_validate_max_insert_block_size/ast.json b/parser/testdata/03560_validate_max_insert_block_size/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03560_validate_max_insert_block_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/ast.json b/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/ast.json deleted file mode 100644 index 75414d1529..0000000000 --- a/parser/testdata/03561_analyzer_cte_cycle_resolve_bug/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "table": "users", - "columns": [ - { - "name": "uid", - "type": { - "name": "Int16" - } - }, - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "age", - "type": { - "name": "Int16" - } - } - ], - "engine": { - "name": "Memory" - } -} diff --git a/parser/testdata/03561_colorSRGBToOKLCH/ast.json b/parser/testdata/03561_colorSRGBToOKLCH/ast.json deleted file mode 100644 index 0e18f146e8..0000000000 --- a/parser/testdata/03561_colorSRGBToOKLCH/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Wrong arguments" - } - ] - } - ] -} diff --git a/parser/testdata/03561_materialized_subcolumns_materialized_view/ast.json b/parser/testdata/03561_materialized_subcolumns_materialized_view/ast.json deleted file mode 100644 index 32b0b2627f..0000000000 --- a/parser/testdata/03561_materialized_subcolumns_materialized_view/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "if_exists": true, - "table": "source", - "tables": [ - { - "table": "source" - }, - { - "table": "destination" - }, - { - "table": "source_to_destination_mv" - } - ] -} diff --git a/parser/testdata/03561_two_mvs_bad_select/ast.json b/parser/testdata/03561_two_mvs_bad_select/ast.json deleted file mode 100644 index 84b0705859..0000000000 --- a/parser/testdata/03561_two_mvs_bad_select/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "if_exists": true, - "table": "03561_t0", - "tables": [ - { - "table": "03561_t0" - }, - { - "table": "03561_t1" - }, - { - "table": "03561_v0" - }, - { - "table": "03561_v1" - } - ] -} diff --git a/parser/testdata/03562_colorOKLCHToSRGB/ast.json b/parser/testdata/03562_colorOKLCHToSRGB/ast.json deleted file mode 100644 index 0e18f146e8..0000000000 --- a/parser/testdata/03562_colorOKLCHToSRGB/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--- Wrong arguments" - } - ] - } - ] -} diff --git a/parser/testdata/03562_geometry_type/ast.json b/parser/testdata/03562_geometry_type/ast.json deleted file mode 100644 index 18140d29ce..0000000000 --- a/parser/testdata/03562_geometry_type/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_variant_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03562_json_date_as_integer/ast.json b/parser/testdata/03562_json_date_as_integer/ast.json deleted file mode 100644 index 00bd7cb8f9..0000000000 --- a/parser/testdata/03562_json_date_as_integer/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "JSONEachRow" - ] - }, - { - "parts": [ - "a Date" - ] - }, - { - "type": "String", - "value": "{\"a\" : 52}" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03562_parallel_replicas_remote_with_cluster/ast.json b/parser/testdata/03562_parallel_replicas_remote_with_cluster/ast.json deleted file mode 100644 index d58a7bf85a..0000000000 --- a/parser/testdata/03562_parallel_replicas_remote_with_cluster/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tt", - "tables": [ - { - "table": "tt" - } - ] -} diff --git a/parser/testdata/03562_parallel_replicas_subquery_has_final/ast.json b/parser/testdata/03562_parallel_replicas_subquery_has_final/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/03562_parallel_replicas_subquery_has_final/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03562_system_database_replicas/ast.json b/parser/testdata/03562_system_database_replicas/ast.json deleted file mode 100644 index affc991410..0000000000 --- a/parser/testdata/03562_system_database_replicas/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "if_exists": true, - "database": "db_1", - "drop_database": true, - "sync": true -} diff --git a/parser/testdata/03563_coarser_minmax_indexes_first/ast.json b/parser/testdata/03563_coarser_minmax_indexes_first/ast.json deleted file mode 100644 index a60bce1c35..0000000000 --- a/parser/testdata/03563_coarser_minmax_indexes_first/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "skip_table", - "tables": [ - { - "table": "skip_table" - } - ] -} diff --git a/parser/testdata/03565_clickhouse_smaller_indexes_first/ast.json b/parser/testdata/03565_clickhouse_smaller_indexes_first/ast.json deleted file mode 100644 index a60bce1c35..0000000000 --- a/parser/testdata/03565_clickhouse_smaller_indexes_first/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "skip_table", - "tables": [ - { - "table": "skip_table" - } - ] -} diff --git a/parser/testdata/03565_iceberg_field_ids_table/ast.json b/parser/testdata/03565_iceberg_field_ids_table/ast.json deleted file mode 100644 index 4633e1c476..0000000000 --- a/parser/testdata/03565_iceberg_field_ids_table/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "field_ids_table_test" - } - } - ], - "settings": [ - { - "name": "iceberg_metadata_table_uuid", - "value": { - "type": "String", - "value": "8f1f9ae2-18bb-421e-b640-ec2f85e67bce" - } - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "ALL" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03565_union_all_nullptr/ast.json b/parser/testdata/03565_union_all_nullptr/ast.json deleted file mode 100644 index d6c15d1a8f..0000000000 --- a/parser/testdata/03565_union_all_nullptr/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "temporary": true, - "table": "t", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt8" - } - } - ] -} diff --git a/parser/testdata/03566_analyzer_single_with_scope/ast.json b/parser/testdata/03566_analyzer_single_with_scope/ast.json deleted file mode 100644 index 6dd4a78d96..0000000000 --- a/parser/testdata/03566_analyzer_single_with_scope/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "String" - } - }, - { - "name": "y", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03566_inconsistent_formatting_functions_codecs/ast.json b/parser/testdata/03566_inconsistent_formatting_functions_codecs/ast.json deleted file mode 100644 index f2ecaeece6..0000000000 --- a/parser/testdata/03566_inconsistent_formatting_functions_codecs/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "temporary": true, - "table": "a", - "columns": [ - { - "name": "b", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "b" - ] - } - ] -} diff --git a/parser/testdata/03566_low_cardinality_nan_unique/ast.json b/parser/testdata/03566_low_cardinality_nan_unique/ast.json deleted file mode 100644 index b8e8a61a04..0000000000 --- a/parser/testdata/03566_low_cardinality_nan_unique/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03566_one_row_summing_merge_tree/ast.json b/parser/testdata/03566_one_row_summing_merge_tree/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03566_one_row_summing_merge_tree/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03566_system_completions_table/ast.json b/parser/testdata/03566_system_completions_table/ast.json deleted file mode 100644 index 6e9eaea78c..0000000000 --- a/parser/testdata/03566_system_completions_table/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_not_exists": true, - "database": "0003566aaadatabase", - "create_database": true -} diff --git a/parser/testdata/03567_analyzer_single_with_scope_cycle/ast.json b/parser/testdata/03567_analyzer_single_with_scope_cycle/ast.json deleted file mode 100644 index 6dd4a78d96..0000000000 --- a/parser/testdata/03567_analyzer_single_with_scope_cycle/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "String" - } - }, - { - "name": "y", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03567_join_using_projection_distributed/ast.json b/parser/testdata/03567_join_using_projection_distributed/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03567_join_using_projection_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03567_json_extract_case_insensitive_edge_cases/ast.json b/parser/testdata/03567_json_extract_case_insensitive_edge_cases/ast.json deleted file mode 100644 index 06ac761c75..0000000000 --- a/parser/testdata/03567_json_extract_case_insensitive_edge_cases/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--Edge cases for JSONExtractCaseInsensitive--" - } - ] - } - ] -} diff --git a/parser/testdata/03567_nowInBlock64/ast.json b/parser/testdata/03567_nowInBlock64/ast.json deleted file mode 100644 index af0c79f96f..0000000000 --- a/parser/testdata/03567_nowInBlock64/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "max_rows_to_read", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_to_read", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03568_json_extract_case_insensitive/ast.json b/parser/testdata/03568_json_extract_case_insensitive/ast.json deleted file mode 100644 index ac7013df3d..0000000000 --- a/parser/testdata/03568_json_extract_case_insensitive/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "--JSONExtractCaseInsensitive--" - } - ] - } - ] -} diff --git a/parser/testdata/03568_mutation_affected_rows_counter/ast.json b/parser/testdata/03568_mutation_affected_rows_counter/ast.json deleted file mode 100644 index fb2a8894b8..0000000000 --- a/parser/testdata/03568_mutation_affected_rows_counter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_mutation_rows_counter", - "tables": [ - { - "table": "t_mutation_rows_counter" - } - ] -} diff --git a/parser/testdata/03568_udf_memory_tracking/ast.json b/parser/testdata/03568_udf_memory_tracking/ast.json deleted file mode 100644 index bcb8a9d97b..0000000000 --- a/parser/testdata/03568_udf_memory_tracking/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "log_queries", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03569_max_joined_block_size_rows_bug/ast.json b/parser/testdata/03569_max_joined_block_size_rows_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03569_max_joined_block_size_rows_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03570_dateTimeToUUIDv7/ast.json b/parser/testdata/03570_dateTimeToUUIDv7/ast.json deleted file mode 100644 index 6415fa5f4f..0000000000 --- a/parser/testdata/03570_dateTimeToUUIDv7/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative tests" - } - ] - } - ] -} diff --git a/parser/testdata/03570_date_to_datetime64_overflow/ast.json b/parser/testdata/03570_date_to_datetime64_overflow/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03570_date_to_datetime64_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03570_insert_into_simple_alias/ast.json b/parser/testdata/03570_insert_into_simple_alias/ast.json deleted file mode 100644 index eb5d2e59cb..0000000000 --- a/parser/testdata/03570_insert_into_simple_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "alias_insert_test", - "tables": [ - { - "table": "alias_insert_test" - } - ] -} diff --git a/parser/testdata/03570_limit_by_all/ast.json b/parser/testdata/03570_limit_by_all/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/03570_limit_by_all/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03571_join_inequality_constants/ast.json b/parser/testdata/03571_join_inequality_constants/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03571_join_inequality_constants/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03571_limit_by_all_old_planner/ast.json b/parser/testdata/03571_limit_by_all_old_planner/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/03571_limit_by_all_old_planner/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03571_lwd_and_projections/ast.json b/parser/testdata/03571_lwd_and_projections/ast.json deleted file mode 100644 index 1c30947919..0000000000 --- a/parser/testdata/03571_lwd_and_projections/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "weird_projections", - "tables": [ - { - "table": "weird_projections" - } - ] -} diff --git a/parser/testdata/03571_nullable_format_digit_groups/ast.json b/parser/testdata/03571_nullable_format_digit_groups/ast.json deleted file mode 100644 index 76586adaaa..0000000000 --- a/parser/testdata/03571_nullable_format_digit_groups/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_pretty_color", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/ast.json b/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03571_trying_to_get_name_of_not_a_column_asterisk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03572_empty_tuple_in_nested_type/ast.json b/parser/testdata/03572_empty_tuple_in_nested_type/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03572_empty_tuple_in_nested_type/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03572_planner_merge_filter_into_join_bug/ast.json b/parser/testdata/03572_planner_merge_filter_into_join_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03572_planner_merge_filter_into_join_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03572_pr_remote_in_subquery/ast.json b/parser/testdata/03572_pr_remote_in_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03572_pr_remote_in_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03573_concurrent_hash_scatter_bug/ast.json b/parser/testdata/03573_concurrent_hash_scatter_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03573_concurrent_hash_scatter_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/ast.json b/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/ast.json deleted file mode 100644 index 5ed64a82ba..0000000000 --- a/parser/testdata/03573_create_query_parameters_in_to_in_materialized_view/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "formatQuerySingleLine", - "arguments": [ - { - "type": "String", - "value": "create materialized view mv_kek to {db:Identifier}.{target_table:Identifier} as select * from null_kek" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03573_json_keys_with_dots/ast.json b/parser/testdata/03573_json_keys_with_dots/ast.json deleted file mode 100644 index f38b85b564..0000000000 --- a/parser/testdata/03573_json_keys_with_dots/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "json_type_escape_dots_in_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03573_linear_regression_timeseries_functions/ast.json b/parser/testdata/03573_linear_regression_timeseries_functions/ast.json deleted file mode 100644 index 261a005fd4..0000000000 --- a/parser/testdata/03573_linear_regression_timeseries_functions/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "ts_raw_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "timestamp" - ] - } - ] -} diff --git a/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/ast.json b/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/ast.json deleted file mode 100644 index 582606eae5..0000000000 --- a/parser/testdata/03573_linear_regression_timeseries_functions_various_arguments/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "ts_data", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "timestamps", - "type": { - "name": "Array", - "parameters": [ - { - "name": "DateTime" - } - ], - "has_parentheses": true - } - }, - { - "name": "values", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Float64" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03573_planner_merge_filter_into_join_bug_2/ast.json b/parser/testdata/03573_planner_merge_filter_into_join_bug_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03573_planner_merge_filter_into_join_bug_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/ast.json b/parser/testdata/03574_analyzer_merge_filter_into_join_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03574_analyzer_merge_filter_into_join_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03574_parallel_replicas_last_right_join/ast.json b/parser/testdata/03574_parallel_replicas_last_right_join/ast.json deleted file mode 100644 index cc444d894b..0000000000 --- a/parser/testdata/03574_parallel_replicas_last_right_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_parallel_reading_from_replicas", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/ast.json b/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03575_analyzer_merge_filter_into_join_bug_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03576_analyzer_distributed_correlated_subquery/ast.json b/parser/testdata/03576_analyzer_distributed_correlated_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03576_analyzer_distributed_correlated_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03577_assert_on_estimated_block_size_bytes/ast.json b/parser/testdata/03577_assert_on_estimated_block_size_bytes/ast.json deleted file mode 100644 index 6d5e73de02..0000000000 --- a/parser/testdata/03577_assert_on_estimated_block_size_bytes/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "c0" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "generateRandom", - "arguments": [ - { - "type": "String", - "value": "c0 Tuple()" - }, - { - "type": "Integer", - "value": 17599311795067409937 - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03577_dynamic_json_update_issue/ast.json b/parser/testdata/03577_dynamic_json_update_issue/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/03577_dynamic_json_update_issue/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03577_hash_output_format/ast.json b/parser/testdata/03577_hash_output_format/ast.json deleted file mode 100644 index 4d6b1942c8..0000000000 --- a/parser/testdata/03577_hash_output_format/ast.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - }, - "format": { - "parts": [ - "Hash" - ] - } - } - ] -} diff --git a/parser/testdata/03577_server_constant_folding/ast.json b/parser/testdata/03577_server_constant_folding/ast.json deleted file mode 100644 index 214f2f0efd..0000000000 --- a/parser/testdata/03577_server_constant_folding/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03577_temporary_table_as/ast.json b/parser/testdata/03577_temporary_table_as/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03577_temporary_table_as/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03577_ub_max_column_in_block_size_bytes/ast.json b/parser/testdata/03577_ub_max_column_in_block_size_bytes/ast.json deleted file mode 100644 index b85fbcbb71..0000000000 --- a/parser/testdata/03577_ub_max_column_in_block_size_bytes/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Bool" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03577_vairant_lazy_materialization_bug/ast.json b/parser/testdata/03577_vairant_lazy_materialization_bug/ast.json deleted file mode 100644 index 2d09bf013c..0000000000 --- a/parser/testdata/03577_vairant_lazy_materialization_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_lazy_materialization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03578_distributed_kv_global_in/ast.json b/parser/testdata/03578_distributed_kv_global_in/ast.json deleted file mode 100644 index 214f2f0efd..0000000000 --- a/parser/testdata/03578_distributed_kv_global_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03578_kv_in_type_casts/ast.json b/parser/testdata/03578_kv_in_type_casts/ast.json deleted file mode 100644 index 5d9850caeb..0000000000 --- a/parser/testdata/03578_kv_in_type_casts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03578_rocksdb", - "tables": [ - { - "table": "03578_rocksdb" - } - ] -} diff --git a/parser/testdata/03578_ttl_column_in_order_by_validation/ast.json b/parser/testdata/03578_ttl_column_in_order_by_validation/ast.json deleted file mode 100644 index f7a324bcd2..0000000000 --- a/parser/testdata/03578_ttl_column_in_order_by_validation/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "if_not_exists": true, - "table": "test_break_ddl", - "columns": [ - { - "name": "id", - "type": { - "name": "String" - } - }, - { - "name": "event_date", - "type": { - "name": "Date" - } - }, - { - "name": "event_time", - "type": { - "name": "DateTime" - } - }, - { - "name": "message", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "ReplacingMergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "id" - ] - }, - { - "parts": [ - "event_date" - ] - }, - { - "parts": [ - "event_time" - ] - } - ] - } - ], - "partition_by": { - "parts": [ - "event_date" - ] - } -} diff --git a/parser/testdata/03579_mergeTreeIndex_params/ast.json b/parser/testdata/03579_mergeTreeIndex_params/ast.json deleted file mode 100644 index 5d7dfda15a..0000000000 --- a/parser/testdata/03579_mergeTreeIndex_params/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_mt_params", - "tables": [ - { - "table": "t_mt_params" - } - ] -} diff --git a/parser/testdata/03579_system_columns_column_alias/ast.json b/parser/testdata/03579_system_columns_column_alias/ast.json deleted file mode 100644 index 448987a9a6..0000000000 --- a/parser/testdata/03579_system_columns_column_alias/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "columns" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "database" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "system" - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "table" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "columns" - } - } - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03580_external_merge_sort_with_lazy_columns/ast.json b/parser/testdata/03580_external_merge_sort_with_lazy_columns/ast.json deleted file mode 100644 index aef31fbaa8..0000000000 --- a/parser/testdata/03580_external_merge_sort_with_lazy_columns/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ], - "sync": true -} diff --git a/parser/testdata/03580_heredoc_ambiguity/ast.json b/parser/testdata/03580_heredoc_ambiguity/ast.json deleted file mode 100644 index d185ab7cb7..0000000000 --- a/parser/testdata/03580_heredoc_ambiguity/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "param_$1", - "value": { - "type": "String", - "value": "Hello" - } - }, - { - "name": "param_$2", - "value": { - "type": "String", - "value": "World" - } - } - ] -} diff --git a/parser/testdata/03580_improve_prewhere/ast.json b/parser/testdata/03580_improve_prewhere/ast.json deleted file mode 100644 index 93d7541481..0000000000 --- a/parser/testdata/03580_improve_prewhere/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_move_to_prewhere", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03580_join_runtime_filter/ast.json b/parser/testdata/03580_join_runtime_filter/ast.json deleted file mode 100644 index 7bc8880470..0000000000 --- a/parser/testdata/03580_join_runtime_filter/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "nation", - "columns": [ - { - "name": "n_nationkey", - "type": { - "name": "Int32" - } - }, - { - "name": "n_name", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "n_nationkey" - ] - } - ] -} diff --git a/parser/testdata/03580_join_runtime_filter_column_type/ast.json b/parser/testdata/03580_join_runtime_filter_column_type/ast.json deleted file mode 100644 index 30fa897d6a..0000000000 --- a/parser/testdata/03580_join_runtime_filter_column_type/ast.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - "alias": "t0" - } - } - ] - }, - "where": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "t0", - "_table" - ] - } - ] - } - ] - } - }, - "settings": [ - { - "name": "enable_join_runtime_filters", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_experimental_correlated_subqueries", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03580_join_runtime_filter_prewhere/ast.json b/parser/testdata/03580_join_runtime_filter_prewhere/ast.json deleted file mode 100644 index 7bc8880470..0000000000 --- a/parser/testdata/03580_join_runtime_filter_prewhere/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "nation", - "columns": [ - { - "name": "n_nationkey", - "type": { - "name": "Int32" - } - }, - { - "name": "n_name", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "n_nationkey" - ] - } - ] -} diff --git a/parser/testdata/03580_join_runtime_filter_pushdown/ast.json b/parser/testdata/03580_join_runtime_filter_pushdown/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03580_join_runtime_filter_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03580_s3queue_settings_store/ast.json b/parser/testdata/03580_s3queue_settings_store/ast.json deleted file mode 100644 index 70e36e1055..0000000000 --- a/parser/testdata/03580_s3queue_settings_store/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "table": "s3queue_test", - "columns": [ - { - "name": "column1", - "type": { - "name": "UInt32" - } - }, - { - "name": "column2", - "type": { - "name": "UInt32" - } - }, - { - "name": "column3", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "S3Queue", - "parameters": [ - { - "type": "String", - "value": "http://whatever-we-dont-care:9001/root/s3queue_test_data/" - }, - { - "type": "String", - "value": "username" - }, - { - "type": "String", - "value": "password" - }, - { - "parts": [ - "CSV" - ] - } - ], - "has_parentheses": true - }, - "settings": [ - { - "name": "s3queue_loading_retries", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "after_processing", - "value": { - "type": "String", - "value": "delete" - } - }, - { - "name": "keeper_path", - "value": { - "type": "String", - "value": "/s3queue" - } - }, - { - "name": "mode", - "value": { - "type": "String", - "value": "ordered" - } - }, - { - "name": "enable_hash_ring_filtering", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "s3queue_enable_logging_to_s3queue_log", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03581_bool_literal_column_name/ast.json b/parser/testdata/03581_bool_literal_column_name/ast.json deleted file mode 100644 index 2539402298..0000000000 --- a/parser/testdata/03581_bool_literal_column_name/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "toTypeName", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - }, - { - "name": "toTypeName", - "arguments": [ - { - "type": "Boolean", - "value": false - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03581_iceberg_struct_fields_ids/ast.json b/parser/testdata/03581_iceberg_struct_fields_ids/ast.json deleted file mode 100644 index eec8e613a1..0000000000 --- a/parser/testdata/03581_iceberg_struct_fields_ids/ast.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "field_ids_struct_test" - } - } - ], - "settings": [ - { - "name": "iceberg_metadata_table_uuid", - "value": { - "type": "String", - "value": "149ecc15-7afc-4311-86b3-3a4c8d4ec08e" - } - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "ALL" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03581_nested_storage_merge_distributed_order_by/ast.json b/parser/testdata/03581_nested_storage_merge_distributed_order_by/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03581_nested_storage_merge_distributed_order_by/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03581_parallel_replicas_task_size/ast.json b/parser/testdata/03581_parallel_replicas_task_size/ast.json deleted file mode 100644 index 39eca0a806..0000000000 --- a/parser/testdata/03581_parallel_replicas_task_size/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "a", - "type": { - "name": "UInt64" - } - }, - { - "name": "s", - "type": { - "name": "String" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "a" - ] - } - ], - "settings": [ - { - "name": "storage_policy", - "value": { - "type": "String", - "value": "s3_cache" - } - }, - { - "name": "min_rows_for_wide_part", - "value": { - "type": "Integer", - "value": 10000 - } - }, - { - "name": "min_bytes_for_wide_part", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/ast.json b/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/ast.json deleted file mode 100644 index dd1e7e98d0..0000000000 --- a/parser/testdata/03581_read_in_order_use_virtual_row_WHERE/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "tab", - "columns": [ - { - "name": "x", - "type": { - "name": "UInt64" - } - }, - { - "name": "y", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03582_initcap_fixedstring/ast.json b/parser/testdata/03582_initcap_fixedstring/ast.json deleted file mode 100644 index 7ecb224e92..0000000000 --- a/parser/testdata/03582_initcap_fixedstring/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "initCap", - "arguments": [ - { - "expr": { - "name": "arrayJoin", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "String", - "value": "hello" - }, - { - "type": "String", - "value": "world" - } - ] - } - ] - }, - "type": { - "name": "FixedString", - "parameters": [ - { - "type": "Integer", - "value": 5 - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03582_pr_read_in_order_hits/ast.json b/parser/testdata/03582_pr_read_in_order_hits/ast.json deleted file mode 100644 index 25f6700092..0000000000 --- a/parser/testdata/03582_pr_read_in_order_hits/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03583_rewrite_in_to_join/ast.json b/parser/testdata/03583_rewrite_in_to_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03583_rewrite_in_to_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03591_optimize_prewhere_row_policy/ast.json b/parser/testdata/03591_optimize_prewhere_row_policy/ast.json deleted file mode 100644 index 93f88f1b20..0000000000 --- a/parser/testdata/03591_optimize_prewhere_row_policy/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_query_condition_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03592_distributed_alter_check_sharding_key/ast.json b/parser/testdata/03592_distributed_alter_check_sharding_key/ast.json deleted file mode 100644 index 8d19145276..0000000000 --- a/parser/testdata/03592_distributed_alter_check_sharding_key/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "table": "t1", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - }, - { - "name": "c1", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Distributed", - "parameters": [ - { - "type": "String", - "value": "test_shard_localhost" - }, - { - "parts": [ - "default" - ] - }, - { - "parts": [ - "t0" - ] - }, - { - "parts": [ - "c1" - ] - } - ], - "has_parentheses": true - } -} diff --git a/parser/testdata/03592_s3queue_large_settings/ast.json b/parser/testdata/03592_s3queue_large_settings/ast.json deleted file mode 100644 index 3ebdf6c95b..0000000000 --- a/parser/testdata/03592_s3queue_large_settings/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "table": "s3_queue", - "columns": [ - { - "name": "name", - "type": { - "name": "String" - } - }, - { - "name": "value", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "S3Queue", - "parameters": [ - { - "type": "String", - "value": "http://localhost:11111/test/{a,b,c}.tsv" - }, - { - "type": "String", - "value": "user" - }, - { - "type": "String", - "value": "password" - }, - { - "parts": [ - "CSV" - ] - } - ], - "has_parentheses": true - }, - "settings": [ - { - "name": "s3queue_tracked_files_limit", - "value": { - "type": "Integer", - "value": 18446744073709551615 - } - }, - { - "name": "mode", - "value": { - "type": "String", - "value": "ordered" - } - } - ] -} diff --git a/parser/testdata/03593_allow_projection_with_parent_part_offset/ast.json b/parser/testdata/03593_allow_projection_with_parent_part_offset/ast.json deleted file mode 100644 index 943e5804c2..0000000000 --- a/parser/testdata/03593_allow_projection_with_parent_part_offset/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03593_t", - "tables": [ - { - "table": "03593_t" - } - ] -} diff --git a/parser/testdata/03593_backup_with_broken_projection/ast.json b/parser/testdata/03593_backup_with_broken_projection/ast.json deleted file mode 100644 index 1a3477e648..0000000000 --- a/parser/testdata/03593_backup_with_broken_projection/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "table": "03593_backup_with_broken_projection", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "string", - "type": { - "name": "String" - } - }, - { - "name": "time1", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 6 - } - ], - "has_parentheses": true - } - }, - { - "name": "time2", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 6 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "time1" - ] - } - ] -} diff --git a/parser/testdata/03593_funcs_on_empty_string/ast.json b/parser/testdata/03593_funcs_on_empty_string/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03593_funcs_on_empty_string/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03593_remote_map_in/ast.json b/parser/testdata/03593_remote_map_in/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03593_remote_map_in/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03594_coalescing_merge_tree_segfault/ast.json b/parser/testdata/03594_coalescing_merge_tree_segfault/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/03594_coalescing_merge_tree_segfault/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03594_constraint_subqery_logical_error/ast.json b/parser/testdata/03594_constraint_subqery_logical_error/ast.json deleted file mode 100644 index f2d8d6e6f5..0000000000 --- a/parser/testdata/03594_constraint_subqery_logical_error/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "check_constraint", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03594_funcs_on_empty_arguments/ast.json b/parser/testdata/03594_funcs_on_empty_arguments/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03594_funcs_on_empty_arguments/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03594_is_valid_ascii/ast.json b/parser/testdata/03594_is_valid_ascii/ast.json deleted file mode 100644 index 459085e52c..0000000000 --- a/parser/testdata/03594_is_valid_ascii/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "type": "Integer", - "value": 1 - }, - "op": "=", - "right": { - "name": "isValidASCII", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "numbers" - } - } - } - ] - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03594_is_valid_ascii_errors/ast.json b/parser/testdata/03594_is_valid_ascii_errors/ast.json deleted file mode 100644 index 1840a93255..0000000000 --- a/parser/testdata/03594_is_valid_ascii_errors/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "isValidASCII", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - { - "type": "Integer", - "value": 3 - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03594_json_extract_decimal_precision/ast.json b/parser/testdata/03594_json_extract_decimal_precision/ast.json deleted file mode 100644 index c5bd019fab..0000000000 --- a/parser/testdata/03594_json_extract_decimal_precision/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_json_decimal_precision", - "tables": [ - { - "table": "test_json_decimal_precision" - } - ] -} diff --git a/parser/testdata/03594_like_perfect_affix_rewrite_pass/ast.json b/parser/testdata/03594_like_perfect_affix_rewrite_pass/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03594_like_perfect_affix_rewrite_pass/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03594_system_grants_parameters/ast.json b/parser/testdata/03594_system_grants_parameters/ast.json deleted file mode 100644 index 6b99b0084e..0000000000 --- a/parser/testdata/03594_system_grants_parameters/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "test_user_03593" -} diff --git a/parser/testdata/03595_alter_drop_column_comment_if_exists/ast.json b/parser/testdata/03595_alter_drop_column_comment_if_exists/ast.json deleted file mode 100644 index d584ef754c..0000000000 --- a/parser/testdata/03595_alter_drop_column_comment_if_exists/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_drop_comment", - "tables": [ - { - "table": "test_alter_drop_comment" - } - ] -} diff --git a/parser/testdata/03595_alter_if_exists_mixed_commands/ast.json b/parser/testdata/03595_alter_if_exists_mixed_commands/ast.json deleted file mode 100644 index 9d331c5c1f..0000000000 --- a/parser/testdata/03595_alter_if_exists_mixed_commands/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_mixed", - "tables": [ - { - "table": "test_alter_mixed" - } - ] -} diff --git a/parser/testdata/03595_alter_if_exists_runtime_check/ast.json b/parser/testdata/03595_alter_if_exists_runtime_check/ast.json deleted file mode 100644 index 8319781bdf..0000000000 --- a/parser/testdata/03595_alter_if_exists_runtime_check/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_if_exists", - "tables": [ - { - "table": "test_alter_if_exists" - } - ] -} diff --git a/parser/testdata/03595_analyzer_lateral_join/ast.json b/parser/testdata/03595_analyzer_lateral_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03595_analyzer_lateral_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03595_changes_timeseries_functions/ast.json b/parser/testdata/03595_changes_timeseries_functions/ast.json deleted file mode 100644 index 261a005fd4..0000000000 --- a/parser/testdata/03595_changes_timeseries_functions/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "table": "ts_raw_data", - "columns": [ - { - "name": "timestamp", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ], - "has_parentheses": true - } - }, - { - "name": "value", - "type": { - "name": "Float64" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "timestamp" - ] - } - ] -} diff --git a/parser/testdata/03595_changes_timeseries_functions_various_arguments/ast.json b/parser/testdata/03595_changes_timeseries_functions_various_arguments/ast.json deleted file mode 100644 index 582606eae5..0000000000 --- a/parser/testdata/03595_changes_timeseries_functions_various_arguments/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "table": "ts_data", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - }, - { - "name": "timestamps", - "type": { - "name": "Array", - "parameters": [ - { - "name": "DateTime" - } - ], - "has_parentheses": true - } - }, - { - "name": "values", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Float64" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03595_convert_any_join_to_semi_or_anti/ast.json b/parser/testdata/03595_convert_any_join_to_semi_or_anti/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03595_convert_any_join_to_semi_or_anti/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03595_equality_deletes_simple/ast.json b/parser/testdata/03595_equality_deletes_simple/ast.json deleted file mode 100644 index 2b2805b91a..0000000000 --- a/parser/testdata/03595_equality_deletes_simple/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "parts": [ - "id" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "parts": [ - "s3_conn" - ] - }, - { - "left": { - "parts": [ - "filename" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "deletes_db/eq_deletes_table" - } - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03595_exists_as_scalar_subquery/ast.json b/parser/testdata/03595_exists_as_scalar_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03595_exists_as_scalar_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03595_extract_url_parameters/ast.json b/parser/testdata/03595_extract_url_parameters/ast.json deleted file mode 100644 index baa1b5a282..0000000000 --- a/parser/testdata/03595_extract_url_parameters/ast.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sum", - "arguments": [ - { - "name": "cityHash64", - "arguments": [ - { - "name": "extractURLParameters", - "arguments": [ - { - "parts": [ - "URL" - ] - } - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "test", - "table": "hits" - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03595_funcs_on_zero/ast.json b/parser/testdata/03595_funcs_on_zero/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03595_funcs_on_zero/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03595_parallel_replicas_join_remote/ast.json b/parser/testdata/03595_parallel_replicas_join_remote/ast.json deleted file mode 100644 index 5941142a5a..0000000000 --- a/parser/testdata/03595_parallel_replicas_join_remote/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_join_remote_l", - "tables": [ - { - "table": "test_join_remote_l" - } - ] -} diff --git a/parser/testdata/03595_pread_threadpool_direct_io/ast.json b/parser/testdata/03595_pread_threadpool_direct_io/ast.json deleted file mode 100644 index 7efbb519e1..0000000000 --- a/parser/testdata/03595_pread_threadpool_direct_io/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "min_bytes_to_use_direct_io", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03595_set_query_no_eq_set_to_one/ast.json b/parser/testdata/03595_set_query_no_eq_set_to_one/ast.json deleted file mode 100644 index bf09dc68bd..0000000000 --- a/parser/testdata/03595_set_query_no_eq_set_to_one/ast.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "name" - ] - }, - { - "parts": [ - "value" - ] - }, - { - "parts": [ - "changed" - ] - }, - { - "parts": [ - "default" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "settings" - } - } - } - ] - }, - "where": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "force_index_by_date" - } - }, - "settings": [ - { - "name": "force_index_by_date", - "value": { - "type": "Boolean", - "value": true - } - } - ] - } - ] -} diff --git a/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/ast.json b/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03596_alter_update_column_with_subcolumn_used_in_materialized_expression/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03596_parquet_prewhere_page_skip_bug/ast.json b/parser/testdata/03596_parquet_prewhere_page_skip_bug/ast.json deleted file mode 100644 index 8c542514b6..0000000000 --- a/parser/testdata/03596_parquet_prewhere_page_skip_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "output_format_parquet_use_custom_encoder", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03597_alter_column_with_subcolumn_in_key/ast.json b/parser/testdata/03597_alter_column_with_subcolumn_in_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03597_alter_column_with_subcolumn_in_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03598_json_enum_default_value_in_typed_path/ast.json b/parser/testdata/03598_json_enum_default_value_in_typed_path/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03598_json_enum_default_value_in_typed_path/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03599_bad_date_and_datetimes_inference/ast.json b/parser/testdata/03599_bad_date_and_datetimes_inference/ast.json deleted file mode 100644 index 69b6ad06d4..0000000000 --- a/parser/testdata/03599_bad_date_and_datetimes_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "basic" - } - } - ] -} diff --git a/parser/testdata/03599_lightweight_delete_vertical_merge/ast.json b/parser/testdata/03599_lightweight_delete_vertical_merge/ast.json deleted file mode 100644 index a8b0879905..0000000000 --- a/parser/testdata/03599_lightweight_delete_vertical_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_lwd_vertical", - "tables": [ - { - "table": "t_lwd_vertical" - } - ] -} diff --git a/parser/testdata/03600_analyzer_setting_bool/ast.json b/parser/testdata/03600_analyzer_setting_bool/ast.json deleted file mode 100644 index 5258583ad8..0000000000 --- a/parser/testdata/03600_analyzer_setting_bool/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "String", - "value": "1" - } - } - ] - } - ] -} diff --git a/parser/testdata/03600_replace_fixed_string_bug/ast.json b/parser/testdata/03600_replace_fixed_string_bug/ast.json deleted file mode 100644 index f6349398d9..0000000000 --- a/parser/testdata/03600_replace_fixed_string_bug/ast.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "replace", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toFixedString", - "arguments": [ - { - "type": "String", - "value": "a" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - }, - { - "type": "String", - "value": "" - }, - { - "type": "String", - "value": "" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03601_histogram_quantile/ast.json b/parser/testdata/03601_histogram_quantile/ast.json deleted file mode 100644 index db43808597..0000000000 --- a/parser/testdata/03601_histogram_quantile/ast.json +++ /dev/null @@ -1,161 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "quantilePrometheusHistogram", - "parameters": [ - { - "type": "Float", - "value": 0.9 - } - ], - "arguments": [ - { - "tuple": { - "parts": [ - "args" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "left": { - "tuple": { - "parts": [ - "args" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - }, - "op": "+", - "right": { - "parts": [ - "number" - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "arrayJoin", - "arguments": [ - { - "name": "arrayZip", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 0.5 - }, - { - "type": "Float", - "value": 1 - }, - { - "op": "+", - "operand": { - "type": "Float", - "value": "+Inf" - } - } - ] - }, - { - "type": "Array", - "value": [ - { - "type": "Float", - "value": 0 - }, - { - "type": "Float", - "value": 10 - }, - { - "type": "Float", - "value": 11 - }, - { - "type": "Float", - "value": 12 - } - ] - } - ] - } - ], - "alias": "args" - }, - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "group_by": [ - { - "parts": [ - "number" - ] - } - ], - "order_by": [ - { - "expression": { - "parts": [ - "number" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03601_inconsistent_table_names/ast.json b/parser/testdata/03601_inconsistent_table_names/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03601_inconsistent_table_names/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03601_insert_squashing_remove_const/ast.json b/parser/testdata/03601_insert_squashing_remove_const/ast.json deleted file mode 100644 index 0e0cf20922..0000000000 --- a/parser/testdata/03601_insert_squashing_remove_const/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl_x", - "tables": [ - { - "table": "tbl_x" - } - ] -} diff --git a/parser/testdata/03601_json_from_string_accurate_cast_or_null/ast.json b/parser/testdata/03601_json_from_string_accurate_cast_or_null/ast.json deleted file mode 100644 index fcae94350e..0000000000 --- a/parser/testdata/03601_json_from_string_accurate_cast_or_null/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "accurateCastOrNull", - "arguments": [ - { - "type": "String", - "value": "{\"a\" : 42, \"a\" : 43}" - }, - { - "type": "String", - "value": "JSON" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03602_alter_update_nullable_json/ast.json b/parser/testdata/03602_alter_update_nullable_json/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/03602_alter_update_nullable_json/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03602_embeddedrock_path/ast.json b/parser/testdata/03602_embeddedrock_path/ast.json deleted file mode 100644 index 264df8224d..0000000000 --- a/parser/testdata/03602_embeddedrock_path/ast.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "table": "embeddedrock_exploit", - "columns": [ - { - "name": "key", - "type": { - "name": "String" - } - }, - { - "name": "v1", - "type": { - "name": "UInt32" - } - }, - { - "name": "v2", - "type": { - "name": "String" - } - }, - { - "name": "v3", - "type": { - "name": "Float32" - } - } - ], - "engine": { - "name": "EmbeddedRocksDB", - "parameters": [ - { - "type": "Integer", - "value": 150 - }, - { - "type": "String", - "value": "/tmp/exploit" - } - ], - "has_parentheses": true - }, - "primary_key": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03602_query_system_tables_definer/ast.json b/parser/testdata/03602_query_system_tables_definer/ast.json deleted file mode 100644 index 8fd545c6ee..0000000000 --- a/parser/testdata/03602_query_system_tables_definer/ast.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "count" - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "definer" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "tables" - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03603_getSubcolumnType_msan/ast.json b/parser/testdata/03603_getSubcolumnType_msan/ast.json deleted file mode 100644 index 06bcd8dd0f..0000000000 --- a/parser/testdata/03603_getSubcolumnType_msan/ast.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "{}" - }, - "type": { - "name": "JSON" - }, - "alias": "x", - "operator_syntax": true - } - ], - "qualify": { - "left": { - "parts": [ - "x", - "^c0" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - } - } - ] -} diff --git a/parser/testdata/03603_ip_binary_operators/ast.json b/parser/testdata/03603_ip_binary_operators/ast.json deleted file mode 100644 index 3017f1cb3b..0000000000 --- a/parser/testdata/03603_ip_binary_operators/ast.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "name": "now" - }, - "op": "+", - "right": { - "expr": { - "name": "toFixedString", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toNullable", - "arguments": [ - { - "type": "String", - "value": "1" - } - ] - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - "type": { - "name": "IPv6" - } - } - } - ] - } - ] -} diff --git a/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/ast.json b/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/ast.json deleted file mode 100644 index bcab958d57..0000000000 --- a/parser/testdata/03603_reading_s3_cluster_all_nodes_unavailable/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "s3Cluster", - "arguments": [ - { - "type": "String", - "value": "test_cluster_multiple_nodes_all_unavailable" - }, - { - "type": "String", - "value": "http://localhost:11111/test/a.tsv" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03604_and_join_use_nulls_bug_83977/ast.json b/parser/testdata/03604_and_join_use_nulls_bug_83977/ast.json deleted file mode 100644 index 18c724996b..0000000000 --- a/parser/testdata/03604_and_join_use_nulls_bug_83977/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "AA", - "columns": [ - { - "name": "key", - "type": { - "name": "String" - } - }, - { - "name": "value", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03604_dynamic_key_in_join/ast.json b/parser/testdata/03604_dynamic_key_in_join/ast.json deleted file mode 100644 index 9bf1c41c2a..0000000000 --- a/parser/testdata/03604_dynamic_key_in_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_dynamic_type_in_join_keys", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03604_functions_to_subcolumns_outer_join/ast.json b/parser/testdata/03604_functions_to_subcolumns_outer_join/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/03604_functions_to_subcolumns_outer_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/03604_join_reorder_pinned_bug/ast.json b/parser/testdata/03604_join_reorder_pinned_bug/ast.json deleted file mode 100644 index 08dd798c2d..0000000000 --- a/parser/testdata/03604_join_reorder_pinned_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_join_order_limit", - "value": { - "type": "Integer", - "value": 4 - } - } - ] -} diff --git a/parser/testdata/03604_key_condition_set_tuple_bug/ast.json b/parser/testdata/03604_key_condition_set_tuple_bug/ast.json deleted file mode 100644 index 720b7ce7c4..0000000000 --- a/parser/testdata/03604_key_condition_set_tuple_bug/ast.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "a", - "type": { - "name": "String" - } - }, - { - "name": "b", - "type": { - "name": "String" - } - }, - { - "name": "c", - "type": { - "name": "String" - } - }, - { - "name": "d", - "type": { - "name": "String" - } - } - ], - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "a" - ] - }, - { - "parts": [ - "b" - ] - }, - { - "parts": [ - "c" - ] - }, - { - "parts": [ - "d" - ] - } - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 10 - } - } - ] -} diff --git a/parser/testdata/03604_parallel_with_query_lock/ast.json b/parser/testdata/03604_parallel_with_query_lock/ast.json deleted file mode 100644 index e0acb13fee..0000000000 --- a/parser/testdata/03604_parallel_with_query_lock/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03604_plan_step_description_limit/ast.json b/parser/testdata/03604_plan_step_description_limit/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03604_plan_step_description_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03604_string_with_size_stream/ast.json b/parser/testdata/03604_string_with_size_stream/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03604_string_with_size_stream/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/ast.json b/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/ast.json deleted file mode 100644 index 7510f030c5..0000000000 --- a/parser/testdata/03604_test_merge_tree_min_read_task_size_is_zero/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03604_test", - "tables": [ - { - "table": "03604_test" - } - ] -} diff --git a/parser/testdata/03604_to_date_casts/ast.json b/parser/testdata/03604_to_date_casts/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03604_to_date_casts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/ast.json b/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/ast.json deleted file mode 100644 index a4a0beef17..0000000000 --- a/parser/testdata/03605_dynamic_to_nullable_low_cardinality_bug/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_experimental_dynamic_type", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_dynamic_type_in_join_keys", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03606_nullable_json_group_by/ast.json b/parser/testdata/03606_nullable_json_group_by/ast.json deleted file mode 100644 index 18698bce27..0000000000 --- a/parser/testdata/03606_nullable_json_group_by/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "{\"a\" : 42}" - }, - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "JSON" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ], - "group_by": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] -} diff --git a/parser/testdata/03610_disjunctions_pushdown_optimization/ast.json b/parser/testdata/03610_disjunctions_pushdown_optimization/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03610_disjunctions_pushdown_optimization/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03610_remote_queries_with_describe_compact_output/ast.json b/parser/testdata/03610_remote_queries_with_describe_compact_output/ast.json deleted file mode 100644 index 3942f3c1a1..0000000000 --- a/parser/testdata/03610_remote_queries_with_describe_compact_output/ast.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - { - "type": "String", - "value": "127.2" - }, - { - "parts": [ - "system", - "one" - ] - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "describe_compact_output", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03611_cte_deterministic/ast.json b/parser/testdata/03611_cte_deterministic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03611_cte_deterministic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03611_null_safe_comparsion/ast.json b/parser/testdata/03611_null_safe_comparsion/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03611_null_safe_comparsion/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03611_point_in_polygon_key_condition_bug/ast.json b/parser/testdata/03611_point_in_polygon_key_condition_bug/ast.json deleted file mode 100644 index 60a917ae1e..0000000000 --- a/parser/testdata/03611_point_in_polygon_key_condition_bug/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "table": "p3", - "columns": [ - { - "name": "x", - "type": { - "name": "Int64" - } - }, - { - "name": "y", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "type": "Tuple", - "value": [ - { - "parts": [ - "x" - ] - }, - { - "parts": [ - "y" - ] - } - ] - } - ] -} diff --git a/parser/testdata/03611_pr_global_join/ast.json b/parser/testdata/03611_pr_global_join/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03611_pr_global_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03611_uniqExact_bug/ast.json b/parser/testdata/03611_uniqExact_bug/ast.json deleted file mode 100644 index eda7f43d87..0000000000 --- a/parser/testdata/03611_uniqExact_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 4 - } - } - ] -} diff --git a/parser/testdata/03611_verify_exception_in_iceberg_iterator/ast.json b/parser/testdata/03611_verify_exception_in_iceberg_iterator/ast.json deleted file mode 100644 index 455403c18f..0000000000 --- a/parser/testdata/03611_verify_exception_in_iceberg_iterator/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "icebergS3", - "arguments": [ - { - "type": "String", - "value": "http://localhost:11111/test/corrupted_avro_files_test/" - }, - { - "type": "String", - "value": "clickhouse" - }, - { - "type": "String", - "value": "clickhouse" - } - ] - } - } - } - ] - }, - "settings": [ - { - "name": "use_iceberg_metadata_files_cache", - "value": { - "type": "Boolean", - "value": false - } - } - ] - } - ] -} diff --git a/parser/testdata/03611_window_definition_parsing/ast.json b/parser/testdata/03611_window_definition_parsing/ast.json deleted file mode 100644 index c3a7e4b8ef..0000000000 --- a/parser/testdata/03611_window_definition_parsing/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "param_preceding_rows", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03612_explain_indexes_bugs/ast.json b/parser/testdata/03612_explain_indexes_bugs/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03612_explain_indexes_bugs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03612_storage_cluster_dynamic_subcolumns/ast.json b/parser/testdata/03612_storage_cluster_dynamic_subcolumns/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03612_storage_cluster_dynamic_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03613_empty_tuple_permute_with_limit/ast.json b/parser/testdata/03613_empty_tuple_permute_with_limit/ast.json deleted file mode 100644 index b6aed3e5aa..0000000000 --- a/parser/testdata/03613_empty_tuple_permute_with_limit/ast.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Tuple", - "value": [] - } - ] - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - }, - "settings": [ - { - "name": "allow_suspicious_types_in_order_by", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03620_json_advanced_shared_data_seek_bug/ast.json b/parser/testdata/03620_json_advanced_shared_data_seek_bug/ast.json deleted file mode 100644 index a6557bf51f..0000000000 --- a/parser/testdata/03620_json_advanced_shared_data_seek_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03622_generic_aggregate_functions__state_compatibility/ast.json b/parser/testdata/03622_generic_aggregate_functions__state_compatibility/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03622_generic_aggregate_functions__state_compatibility/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03622_ttl_infos_where/ast.json b/parser/testdata/03622_ttl_infos_where/ast.json deleted file mode 100644 index b5886be12b..0000000000 --- a/parser/testdata/03622_ttl_infos_where/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ] -} diff --git a/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/ast.json b/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03623_convert_any_join_to_semi_or_anti_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03623_datetime64_preepoch_fractional_precision/ast.json b/parser/testdata/03623_datetime64_preepoch_fractional_precision/ast.json deleted file mode 100644 index c41f746888..0000000000 --- a/parser/testdata/03623_datetime64_preepoch_fractional_precision/ast.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "parseDateTime64BestEffort", - "arguments": [ - { - "type": "String", - "value": "1969-01-01 00:00:00.468" - }, - { - "type": "Integer", - "value": 3 - }, - { - "type": "String", - "value": "UTC" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03623_lazy_materialization_array_sizes_bug/ast.json b/parser/testdata/03623_lazy_materialization_array_sizes_bug/ast.json deleted file mode 100644 index 2d09bf013c..0000000000 --- a/parser/testdata/03623_lazy_materialization_array_sizes_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_lazy_materialization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03623_parquet_bool/ast.json b/parser/testdata/03623_parquet_bool/ast.json deleted file mode 100644 index c54d7ff6b5..0000000000 --- a/parser/testdata/03623_parquet_bool/ast.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "03626_parquet_bool.parquet" - } - ] - }, - "select": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Boolean", - "value": true - }, - "alias": "x" - } - ], - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03623_pr_join_with_group_by_subquery/ast.json b/parser/testdata/03623_pr_join_with_group_by_subquery/ast.json deleted file mode 100644 index 788eb7b938..0000000000 --- a/parser/testdata/03623_pr_join_with_group_by_subquery/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "users", - "tables": [ - { - "table": "users" - } - ], - "sync": true -} diff --git a/parser/testdata/03624_csv_empty_array_from_empty_string/ast.json b/parser/testdata/03624_csv_empty_array_from_empty_string/ast.json deleted file mode 100644 index 3c351b7119..0000000000 --- a/parser/testdata/03624_csv_empty_array_from_empty_string/ast.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "format", - "arguments": [ - { - "parts": [ - "CSV" - ] - }, - { - "type": "String", - "value": "c0 Array(Int)" - }, - { - "type": "String", - "value": "\"\"" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03624_parquet_row_number/ast.json b/parser/testdata/03624_parquet_row_number/ast.json deleted file mode 100644 index e3084a94b6..0000000000 --- a/parser/testdata/03624_parquet_row_number/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "engine_file_truncate_on_insert", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03624_pr_lefl_right_joins_chain/ast.json b/parser/testdata/03624_pr_lefl_right_joins_chain/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03624_pr_lefl_right_joins_chain/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03624_resource_exhaustion_window_function/ast.json b/parser/testdata/03624_resource_exhaustion_window_function/ast.json deleted file mode 100644 index 2ccb14bdb1..0000000000 --- a/parser/testdata/03624_resource_exhaustion_window_function/ast.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "table": "table_test", - "columns": [ - { - "name": "c1", - "type": { - "name": "Int32" - } - }, - { - "name": "c2", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Int32" - } - ], - "has_parentheses": true - } - }, - { - "name": "c3", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "c4", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "Date32" - } - ], - "has_parentheses": true - } - }, - { - "name": "c5", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "ReplacingMergeTree" - }, - "order_by": [ - { - "parts": [ - "c1" - ] - } - ], - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - } - ] -} diff --git a/parser/testdata/03625_auto_statistics/ast.json b/parser/testdata/03625_auto_statistics/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03625_auto_statistics/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03625_auto_statistics_alter/ast.json b/parser/testdata/03625_auto_statistics_alter/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/03625_auto_statistics_alter/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03625_auto_statistics_alter_rmt/ast.json b/parser/testdata/03625_auto_statistics_alter_rmt/ast.json deleted file mode 100644 index 8b4068aa4b..0000000000 --- a/parser/testdata/03625_auto_statistics_alter_rmt/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03625_auto_statistics_rmt/ast.json b/parser/testdata/03625_auto_statistics_rmt/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03625_auto_statistics_rmt/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03625_auto_statistics_validation/ast.json b/parser/testdata/03625_auto_statistics_validation/ast.json deleted file mode 100644 index 71f1d0c4d1..0000000000 --- a/parser/testdata/03625_auto_statistics_validation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_auto_statistics_validation", - "tables": [ - { - "table": "t_auto_statistics_validation" - } - ] -} diff --git a/parser/testdata/03625_case_without_condition_non_constant_branches/ast.json b/parser/testdata/03625_case_without_condition_non_constant_branches/ast.json deleted file mode 100644 index e6a4a74704..0000000000 --- a/parser/testdata/03625_case_without_condition_non_constant_branches/ast.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "operand": { - "parts": [ - "number" - ] - }, - "whens": [ - { - "condition": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2 - } - }, - "op": "-", - "right": { - "type": "Integer", - "value": 4 - } - }, - "result": { - "type": "String", - "value": "Hello" - } - }, - { - "condition": { - "left": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 3 - } - }, - "op": "-", - "right": { - "type": "Integer", - "value": 6 - } - }, - "result": { - "type": "String", - "value": "world" - } - } - ], - "else": { - "type": "String", - "value": "" - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03625_prewhere-and-default-bug/ast.json b/parser/testdata/03625_prewhere-and-default-bug/ast.json deleted file mode 100644 index 93f2378c77..0000000000 --- a/parser/testdata/03625_prewhere-and-default-bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab", - "tables": [ - { - "table": "tab" - } - ] -} diff --git a/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/ast.json b/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/ast.json deleted file mode 100644 index fb18f05d0f..0000000000 --- a/parser/testdata/03625_upper_lower_utf8_different_number_of_code_points/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "upperUTF8", - "arguments": [ - { - "type": "String", - "value": "ff" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03626_case_function_with_dynamic_argument/ast.json b/parser/testdata/03626_case_function_with_dynamic_argument/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03626_case_function_with_dynamic_argument/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03627_non_constant_replacement_in_replace_regexp/ast.json b/parser/testdata/03627_non_constant_replacement_in_replace_regexp/ast.json deleted file mode 100644 index 232c245a5d..0000000000 --- a/parser/testdata/03627_non_constant_replacement_in_replace_regexp/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "replaceRegexpAll", - "arguments": [ - { - "type": "String", - "value": "1 2 3 123 5 100" - }, - { - "type": "String", - "value": "\\d+" - }, - { - "condition": { - "left": { - "parts": [ - "number" - ] - }, - "op": "%", - "right": { - "type": "Integer", - "value": 2 - } - }, - "then": { - "name": "toString", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - }, - "else": { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "\\0" - }, - { - "parts": [ - "number" - ] - } - ] - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03628_named_tuple_element_in_order_by_key/ast.json b/parser/testdata/03628_named_tuple_element_in_order_by_key/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03628_named_tuple_element_in_order_by_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03628_parse_date_time_short_circuit/ast.json b/parser/testdata/03628_parse_date_time_short_circuit/ast.json deleted file mode 100644 index 16fdbdb78f..0000000000 --- a/parser/testdata/03628_parse_date_time_short_circuit/ast.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "if", - "arguments": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "parseDateTime", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "" - } - ] - }, - { - "type": "String", - "value": "%d-%m-%Y" - } - ] - }, - { - "expr": { - "type": "String", - "value": "2020-01-01" - }, - "type": { - "name": "DateTime" - }, - "operator_syntax": true - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/ast.json b/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03628_subcolumns_of_columns_with_dot_in_name/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03629_duplicate_partition_keys_crash/ast.json b/parser/testdata/03629_duplicate_partition_keys_crash/ast.json deleted file mode 100644 index 7811c3dd2f..0000000000 --- a/parser/testdata/03629_duplicate_partition_keys_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_duplicate_partition_keys", - "tables": [ - { - "table": "test_duplicate_partition_keys" - } - ] -} diff --git a/parser/testdata/03629_starts_endswith_caseinsensitive/ast.json b/parser/testdata/03629_starts_endswith_caseinsensitive/ast.json deleted file mode 100644 index dcbe3a519e..0000000000 --- a/parser/testdata/03629_starts_endswith_caseinsensitive/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- Test startsWithCaseInsensitive ASCII" - } - ] - } - ] -} diff --git a/parser/testdata/03629_storage_s3_disallow_index_alter/ast.json b/parser/testdata/03629_storage_s3_disallow_index_alter/ast.json deleted file mode 100644 index bff8332d66..0000000000 --- a/parser/testdata/03629_storage_s3_disallow_index_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_03629", - "tables": [ - { - "table": "test_03629" - } - ] -} diff --git a/parser/testdata/03630_hash_join_max_block_size/ast.json b/parser/testdata/03630_hash_join_max_block_size/ast.json deleted file mode 100644 index 03641ffdba..0000000000 --- a/parser/testdata/03630_hash_join_max_block_size/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "b_customers", - "tables": [ - { - "table": "b_customers" - } - ] -} diff --git a/parser/testdata/03630_parquet_bool_bug/ast.json b/parser/testdata/03630_parquet_bool_bug/ast.json deleted file mode 100644 index 6bfb7288be..0000000000 --- a/parser/testdata/03630_parquet_bool_bug/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "function": { - "name": "file", - "arguments": [ - { - "type": "String", - "value": "03630_parquet_bool_bug.parquet" - }, - { - "parts": [ - "Parquet" - ] - }, - { - "type": "String", - "value": "tags Array(Bool)" - } - ] - }, - "has_settings": true -} diff --git a/parser/testdata/03631_array_of_empty_tuples/ast.json b/parser/testdata/03631_array_of_empty_tuples/ast.json deleted file mode 100644 index c8e30145ca..0000000000 --- a/parser/testdata/03631_array_of_empty_tuples/ast.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Array", - "value": [ - { - "type": "Tuple", - "value": [] - }, - { - "type": "Tuple", - "value": [] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03631_select_replace_comprehensive/ast.json b/parser/testdata/03631_select_replace_comprehensive/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03631_select_replace_comprehensive/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03632_default_minmax_indices_alter/ast.json b/parser/testdata/03632_default_minmax_indices_alter/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03632_default_minmax_indices_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03632_insert_select_cte_bug/ast.json b/parser/testdata/03632_insert_select_cte_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03632_insert_select_cte_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03632_join_logical_assert_85403/ast.json b/parser/testdata/03632_join_logical_assert_85403/ast.json deleted file mode 100644 index 3f26c0233f..0000000000 --- a/parser/testdata/03632_join_logical_assert_85403/ast.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - }, - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "y" - } - ] - } - ] - } - }, - "alias": "a" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "y" - } - ] - } - ] - } - }, - "alias": "b" - }, - "join": { - "type": "INNER", - "using": [ - { - "parts": [ - "y" - ] - } - ] - } - } - ] - }, - "where": { - "left": { - "name": "round", - "arguments": [ - {} - ] - }, - "op": "=", - "right": { - "parts": [ - "b", - "y" - ] - } - } - } - ] -} diff --git a/parser/testdata/03632_lowcard_join/ast.json b/parser/testdata/03632_lowcard_join/ast.json deleted file mode 100644 index 807cfeab20..0000000000 --- a/parser/testdata/03632_lowcard_join/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_low_cardinality_types", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03632_temporary_table_not_allowed_columns/ast.json b/parser/testdata/03632_temporary_table_not_allowed_columns/ast.json deleted file mode 100644 index d64a41e0d9..0000000000 --- a/parser/testdata/03632_temporary_table_not_allowed_columns/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "temporary": true, - "table": "test", - "columns": [ - { - "name": "_row_exists", - "type": { - "name": "UInt32" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03633_mv_squash_parallel_inserts/ast.json b/parser/testdata/03633_mv_squash_parallel_inserts/ast.json deleted file mode 100644 index a731cda38e..0000000000 --- a/parser/testdata/03633_mv_squash_parallel_inserts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03633_set_index_bulk_filtering/ast.json b/parser/testdata/03633_set_index_bulk_filtering/ast.json deleted file mode 100644 index 0136fb0d5f..0000000000 --- a/parser/testdata/03633_set_index_bulk_filtering/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbulk", - "tables": [ - { - "table": "tbulk" - } - ] -} diff --git a/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/ast.json b/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03634_subcolumns_in_temporary_table_parallel_replicas/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03635_in_function_different_types_many_columns/ast.json b/parser/testdata/03635_in_function_different_types_many_columns/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03635_in_function_different_types_many_columns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03636_empty_projection_block/ast.json b/parser/testdata/03636_empty_projection_block/ast.json deleted file mode 100644 index da02db1ded..0000000000 --- a/parser/testdata/03636_empty_projection_block/ast.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "table": "post_state", - "columns": [ - { - "name": "ts", - "type": { - "name": "DateTime" - } - }, - { - "name": "id", - "type": { - "name": "Int64" - } - }, - { - "name": "state", - "type": { - "name": "Nullable", - "parameters": [ - { - "name": "UInt8" - } - ], - "has_parentheses": true - }, - "ttl": { - "left": { - "parts": [ - "ts" - ] - }, - "op": "+", - "right": { - "value": { - "type": "Integer", - "value": 1 - }, - "unit": "MONTH" - } - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ], - "ttl": { - "expression": { - "left": { - "parts": [ - "ts" - ] - }, - "op": "+", - "right": { - "name": "toIntervalSecond", - "arguments": [ - { - "type": "Integer", - "value": 0 - } - ] - } - } - }, - "settings": [ - { - "name": "index_granularity", - "value": { - "type": "Integer", - "value": 8192 - } - }, - { - "name": "deduplicate_merge_projection_mode", - "value": { - "type": "String", - "value": "rebuild" - } - } - ] -} diff --git a/parser/testdata/03636_index_analysis_with_session_tz/ast.json b/parser/testdata/03636_index_analysis_with_session_tz/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03636_index_analysis_with_session_tz/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03636_storage_alias_basic/ast.json b/parser/testdata/03636_storage_alias_basic/ast.json deleted file mode 100644 index 9a6fef97b6..0000000000 --- a/parser/testdata/03636_storage_alias_basic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "source_table", - "tables": [ - { - "table": "source_table" - } - ] -} diff --git a/parser/testdata/03636_storage_alias_syntax/ast.json b/parser/testdata/03636_storage_alias_syntax/ast.json deleted file mode 100644 index 9a6fef97b6..0000000000 --- a/parser/testdata/03636_storage_alias_syntax/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "source_table", - "tables": [ - { - "table": "source_table" - } - ] -} diff --git a/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/ast.json b/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03638_merge_max_dynamic_subcolumns_in_wide_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03639_hash_of_dynamic_column/ast.json b/parser/testdata/03639_hash_of_dynamic_column/ast.json deleted file mode 100644 index ff804b5239..0000000000 --- a/parser/testdata/03639_hash_of_dynamic_column/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sipHash64", - "arguments": [ - { - "expr": { - "type": "Integer", - "value": 42 - }, - "type": { - "name": "Dynamic" - }, - "operator_syntax": true - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03639_hash_of_json_column/ast.json b/parser/testdata/03639_hash_of_json_column/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03639_hash_of_json_column/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03640_alter_table_rewrite_parts/ast.json b/parser/testdata/03640_alter_table_rewrite_parts/ast.json deleted file mode 100644 index 932f82ec63..0000000000 --- a/parser/testdata/03640_alter_table_rewrite_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_materialize", - "tables": [ - { - "table": "test_materialize" - } - ] -} diff --git a/parser/testdata/03640_load_marks_synchronously/ast.json b/parser/testdata/03640_load_marks_synchronously/ast.json deleted file mode 100644 index e812c98140..0000000000 --- a/parser/testdata/03640_load_marks_synchronously/ast.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "table": "data", - "columns": [ - { - "name": "key", - "type": { - "name": "int" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ], - "settings": [ - { - "name": "prewarm_mark_cache", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/ast.json b/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03640_multiple_mutations_with_error_with_rewrite_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03640_multiple_mutations_with_rewrite_parts/ast.json b/parser/testdata/03640_multiple_mutations_with_rewrite_parts/ast.json deleted file mode 100644 index 932f82ec63..0000000000 --- a/parser/testdata/03640_multiple_mutations_with_rewrite_parts/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_materialize", - "tables": [ - { - "table": "test_materialize" - } - ] -} diff --git a/parser/testdata/03640_skip_indexes_data_types_with_or/ast.json b/parser/testdata/03640_skip_indexes_data_types_with_or/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03640_skip_indexes_data_types_with_or/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03640_skip_indexes_with_or/ast.json b/parser/testdata/03640_skip_indexes_with_or/ast.json deleted file mode 100644 index afcf98e204..0000000000 --- a/parser/testdata/03640_skip_indexes_with_or/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03640_variant_array_null_map_subcolumn/ast.json b/parser/testdata/03640_variant_array_null_map_subcolumn/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03640_variant_array_null_map_subcolumn/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03641_analyzer_issue_85834/ast.json b/parser/testdata/03641_analyzer_issue_85834/ast.json deleted file mode 100644 index b8d9b0d0e2..0000000000 --- a/parser/testdata/03641_analyzer_issue_85834/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_generic_events_all", - "tables": [ - { - "table": "test_generic_events_all" - } - ] -} diff --git a/parser/testdata/03641_group_by_injective_functoon_bad_arguments/ast.json b/parser/testdata/03641_group_by_injective_functoon_bad_arguments/ast.json deleted file mode 100644 index aef2755b47..0000000000 --- a/parser/testdata/03641_group_by_injective_functoon_bad_arguments/ast.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "json", - "type": { - "name": "JSON" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03641_json_array_of_float_and_bool/ast.json b/parser/testdata/03641_json_array_of_float_and_bool/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03641_json_array_of_float_and_bool/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03642_column_ttl_sparse/ast.json b/parser/testdata/03642_column_ttl_sparse/ast.json deleted file mode 100644 index df0468e354..0000000000 --- a/parser/testdata/03642_column_ttl_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ttl_sparse_repro", - "tables": [ - { - "table": "ttl_sparse_repro" - } - ] -} diff --git a/parser/testdata/03642_system_instrument_symbols/ast.json b/parser/testdata/03642_system_instrument_symbols/ast.json deleted file mode 100644 index d9d340af2b..0000000000 --- a/parser/testdata/03642_system_instrument_symbols/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_introspection_functions", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03643_paste_join_disable_filter_pushdown/ast.json b/parser/testdata/03643_paste_join_disable_filter_pushdown/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03643_paste_join_disable_filter_pushdown/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03644_join_order_mixed_comma_and_left/ast.json b/parser/testdata/03644_join_order_mixed_comma_and_left/ast.json deleted file mode 100644 index c61b4d59c0..0000000000 --- a/parser/testdata/03644_join_order_mixed_comma_and_left/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "n1", - "tables": [ - { - "table": "n1" - } - ] -} diff --git a/parser/testdata/03644_min_level_for_wide_part/ast.json b/parser/testdata/03644_min_level_for_wide_part/ast.json deleted file mode 100644 index 44521e2438..0000000000 --- a/parser/testdata/03644_min_level_for_wide_part/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "alter_sync", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03644_object_storage_correlated_subqueries/ast.json b/parser/testdata/03644_object_storage_correlated_subqueries/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03644_object_storage_correlated_subqueries/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03644_rows_before_aggregation_in_order/ast.json b/parser/testdata/03644_rows_before_aggregation_in_order/ast.json deleted file mode 100644 index 3dc2d1918d..0000000000 --- a/parser/testdata/03644_rows_before_aggregation_in_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03644_data", - "tables": [ - { - "table": "03644_data" - } - ] -} diff --git a/parser/testdata/03646_array_join_empty/ast.json b/parser/testdata/03646_array_join_empty/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03646_array_join_empty/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03647_morton_encode_empty_tuple/ast.json b/parser/testdata/03647_morton_encode_empty_tuple/ast.json deleted file mode 100644 index 41ebc94ffa..0000000000 --- a/parser/testdata/03647_morton_encode_empty_tuple/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "mortonEncode", - "arguments": [ - { - "type": "Tuple", - "value": [] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/ast.json b/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03651_merge_tree_compact_read_string_size_subcolumn/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03651_positional_argument_agg_projection/ast.json b/parser/testdata/03651_positional_argument_agg_projection/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03651_positional_argument_agg_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/ast.json b/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/03652_coalescing_merge_tree_fix_empty_tuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03652_explain_input_header/ast.json b/parser/testdata/03652_explain_input_header/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03652_explain_input_header/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/ast.json b/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/ast.json deleted file mode 100644 index b7c85f926c..0000000000 --- a/parser/testdata/03652_generate_serial_id_non_constant_zookeeper/ast.json +++ /dev/null @@ -1,108 +0,0 @@ -{ - "selects": [ - { - "with": [ - { - "name": "key1", - "query": { - "left": { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_test1_" - } - }, - "op": "||", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "MOD", - "right": { - "type": "Integer", - "value": 3 - } - } - } - }, - { - "name": "key2", - "query": { - "left": { - "left": { - "name": "currentDatabase" - }, - "op": "||", - "right": { - "type": "String", - "value": "_test2_" - } - }, - "op": "||", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "DIV", - "right": { - "type": "Integer", - "value": 3 - } - } - } - } - ], - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "generateSerialID", - "arguments": [ - { - "parts": [ - "key1" - ] - } - ] - }, - { - "name": "generateSerialID", - "arguments": [ - { - "parts": [ - "key2" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03652_join_using_legacy_step/ast.json b/parser/testdata/03652_join_using_legacy_step/ast.json deleted file mode 100644 index fa31f82bf4..0000000000 --- a/parser/testdata/03652_join_using_legacy_step/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_use_new_logical_join_step", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03653_keeper_histogram_metrics/ast.json b/parser/testdata/03653_keeper_histogram_metrics/ast.json deleted file mode 100644 index ea369d7036..0000000000 --- a/parser/testdata/03653_keeper_histogram_metrics/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "left": { - "parts": [ - "value" - ] - }, - "op": "\u003e", - "right": { - "type": "Integer", - "value": 0 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "histogram_metrics" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "left": { - "parts": [ - "name" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "keeper_response_time_ms" - } - }, - "op": "AND", - "right": { - "left": { - "array": { - "parts": [ - "labels" - ] - }, - "index": { - "type": "String", - "value": "operation_type" - } - }, - "op": "=", - "right": { - "type": "String", - "value": "readonly" - } - } - }, - "op": "AND", - "right": { - "left": { - "array": { - "parts": [ - "labels" - ] - }, - "index": { - "type": "String", - "value": "le" - } - }, - "op": "=", - "right": { - "type": "String", - "value": "+Inf" - } - } - } - } - ] -} diff --git a/parser/testdata/03653_updating_minmax_idx_after_mutation/ast.json b/parser/testdata/03653_updating_minmax_idx_after_mutation/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03653_updating_minmax_idx_after_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03654_case_non_constant_null/ast.json b/parser/testdata/03654_case_non_constant_null/ast.json deleted file mode 100644 index a17c7c5e52..0000000000 --- a/parser/testdata/03654_case_non_constant_null/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test1", - "tables": [ - { - "table": "test1" - } - ] -} diff --git a/parser/testdata/03654_grouping_sets_any_min_max/ast.json b/parser/testdata/03654_grouping_sets_any_min_max/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03654_grouping_sets_any_min_max/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03655_keeper_map_alter_comment/ast.json b/parser/testdata/03655_keeper_map_alter_comment/ast.json deleted file mode 100644 index 225f67a380..0000000000 --- a/parser/testdata/03655_keeper_map_alter_comment/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "distributed_ddl_output_mode", - "value": { - "type": "String", - "value": "none" - } - } - ] -} diff --git a/parser/testdata/03655_system_databases_is_external/ast.json b/parser/testdata/03655_system_databases_is_external/ast.json deleted file mode 100644 index 0eb1f4c891..0000000000 --- a/parser/testdata/03655_system_databases_is_external/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_deprecated_database_ordinary", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03656_nan_comparison/ast.json b/parser/testdata/03656_nan_comparison/ast.json deleted file mode 100644 index 2950a5d469..0000000000 --- a/parser/testdata/03656_nan_comparison/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t7", - "tables": [ - { - "table": "t7" - } - ] -} diff --git a/parser/testdata/03657_gby_overflow_any_sparse/ast.json b/parser/testdata/03657_gby_overflow_any_sparse/ast.json deleted file mode 100644 index c633e32347..0000000000 --- a/parser/testdata/03657_gby_overflow_any_sparse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "03657_gby_overflow", - "tables": [ - { - "table": "03657_gby_overflow" - } - ] -} diff --git a/parser/testdata/03657_hash_vs_full_sorting_merge_join/ast.json b/parser/testdata/03657_hash_vs_full_sorting_merge_join/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03657_hash_vs_full_sorting_merge_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03657_merge_tree_disk_support_transaction/ast.json b/parser/testdata/03657_merge_tree_disk_support_transaction/ast.json deleted file mode 100644 index d2e97024a4..0000000000 --- a/parser/testdata/03657_merge_tree_disk_support_transaction/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "or_replace": true, - "table": "t", - "columns": [ - { - "name": "x", - "type": { - "name": "INT" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "x" - ] - } - ] -} diff --git a/parser/testdata/03657_rollup_constant/ast.json b/parser/testdata/03657_rollup_constant/ast.json deleted file mode 100644 index de8469d78e..0000000000 --- a/parser/testdata/03657_rollup_constant/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "my_first_table", - "tables": [ - { - "table": "my_first_table" - } - ] -} diff --git a/parser/testdata/03658_joined_block_split_single_row_bytes/ast.json b/parser/testdata/03658_joined_block_split_single_row_bytes/ast.json deleted file mode 100644 index 082f9840bb..0000000000 --- a/parser/testdata/03658_joined_block_split_single_row_bytes/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_lazy_columns_replication", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03660_udf_subquery/ast.json b/parser/testdata/03660_udf_subquery/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03660_udf_subquery/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/ast.json b/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/ast.json deleted file mode 100644 index f51968454d..0000000000 --- a/parser/testdata/03663_parameterized_views_formatting_of_substitutions_excessive_backticks/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "audit_size_column", - "tables": [ - { - "table": "audit_size_column" - } - ] -} diff --git a/parser/testdata/03664_parameterized_view_restart/ast.json b/parser/testdata/03664_parameterized_view_restart/ast.json deleted file mode 100644 index 6cb517ebf8..0000000000 --- a/parser/testdata/03664_parameterized_view_restart/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "view_order_attribution", - "tables": [ - { - "table": "view_order_attribution" - } - ] -} diff --git a/parser/testdata/03666_count_matches_complexity/ast.json b/parser/testdata/03666_count_matches_complexity/ast.json deleted file mode 100644 index ecba63f95b..0000000000 --- a/parser/testdata/03666_count_matches_complexity/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countMatches", - "arguments": [ - { - "name": "repeat", - "arguments": [ - { - "type": "String", - "value": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" - }, - { - "type": "Integer", - "value": 1000000 - } - ] - }, - { - "type": "String", - "value": "a" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03667_accurate_cast_datetime_overflow/ast.json b/parser/testdata/03667_accurate_cast_datetime_overflow/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03667_accurate_cast_datetime_overflow/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03667_drop_inner_table_size_limits/ast.json b/parser/testdata/03667_drop_inner_table_size_limits/ast.json deleted file mode 100644 index a1882fe02c..0000000000 --- a/parser/testdata/03667_drop_inner_table_size_limits/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "table": "t", - "columns": [ - { - "name": "id", - "type": { - "name": "UInt64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "id" - ] - } - ] -} diff --git a/parser/testdata/03667_insert_columns_description/ast.json b/parser/testdata/03667_insert_columns_description/ast.json deleted file mode 100644 index 1acf0d0abb..0000000000 --- a/parser/testdata/03667_insert_columns_description/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "-- remote table function columns description" - } - ] - } - ] -} diff --git a/parser/testdata/03667_pr_join_with_cross_join_on_left/ast.json b/parser/testdata/03667_pr_join_with_cross_join_on_left/ast.json deleted file mode 100644 index c61b4d59c0..0000000000 --- a/parser/testdata/03667_pr_join_with_cross_join_on_left/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "n1", - "tables": [ - { - "table": "n1" - } - ] -} diff --git a/parser/testdata/03667_text_index_validation/ast.json b/parser/testdata/03667_text_index_validation/ast.json deleted file mode 100644 index d2a83b4b32..0000000000 --- a/parser/testdata/03667_text_index_validation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "text_index_validation", - "tables": [ - { - "table": "text_index_validation" - } - ] -} diff --git a/parser/testdata/03668_shard_join_in_reverse_order/ast.json b/parser/testdata/03668_shard_join_in_reverse_order/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03668_shard_join_in_reverse_order/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03669_min_max_projection_with_reverse_order_key/ast.json b/parser/testdata/03669_min_max_projection_with_reverse_order_key/ast.json deleted file mode 100644 index 0270cbbbb9..0000000000 --- a/parser/testdata/03669_min_max_projection_with_reverse_order_key/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "desc_pk", - "tables": [ - { - "table": "desc_pk" - } - ] -} diff --git a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/ast.json b/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/ast.json deleted file mode 100644 index 0984b1b711..0000000000 --- a/parser/testdata/03671_dict_in_subquery_in_index_analysis_context_expired/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict", - "tables": [ - { - "table": "dict" - } - ] -} diff --git a/parser/testdata/03671_pk_in_subquery_context_expired/ast.json b/parser/testdata/03671_pk_in_subquery_context_expired/ast.json deleted file mode 100644 index 6310a478e6..0000000000 --- a/parser/testdata/03671_pk_in_subquery_context_expired/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tbl", - "tables": [ - { - "table": "tbl" - } - ] -} diff --git a/parser/testdata/03672_columns_same_as_subcolumns/ast.json b/parser/testdata/03672_columns_same_as_subcolumns/ast.json deleted file mode 100644 index 361f7578fb..0000000000 --- a/parser/testdata/03672_columns_same_as_subcolumns/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "opentelemetry_span_log_9997438610282160742", - "tables": [ - { - "table": "opentelemetry_span_log_9997438610282160742" - } - ] -} diff --git a/parser/testdata/03672_nested_array_nested_tuple/ast.json b/parser/testdata/03672_nested_array_nested_tuple/ast.json deleted file mode 100644 index 91dfc3c859..0000000000 --- a/parser/testdata/03672_nested_array_nested_tuple/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "nest", - "tables": [ - { - "table": "nest" - } - ] -} diff --git a/parser/testdata/03673_columns_description_cache/ast.json b/parser/testdata/03673_columns_description_cache/ast.json deleted file mode 100644 index 39576159e9..0000000000 --- a/parser/testdata/03673_columns_description_cache/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_mem", - "tables": [ - { - "table": "t_mem" - } - ] -} diff --git a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/ast.json b/parser/testdata/03680_mergetree_shrink_const_from_prewhere/ast.json deleted file mode 100644 index 210da2e99a..0000000000 --- a/parser/testdata/03680_mergetree_shrink_const_from_prewhere/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "const_node", - "tables": [ - { - "table": "const_node" - } - ] -} diff --git a/parser/testdata/03681_lazy_materialization_with_read_in_order/ast.json b/parser/testdata/03681_lazy_materialization_with_read_in_order/ast.json deleted file mode 100644 index 2d09bf013c..0000000000 --- a/parser/testdata/03681_lazy_materialization_with_read_in_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "query_plan_optimize_lazy_materialization", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03699_reverse_utf8/ast.json b/parser/testdata/03699_reverse_utf8/ast.json deleted file mode 100644 index f254d78a34..0000000000 --- a/parser/testdata/03699_reverse_utf8/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reverseUTF8", - "arguments": [ - { - "type": "String", - "value": "привіт" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03700_vertical_format_pretty_print_json/ast.json b/parser/testdata/03700_vertical_format_pretty_print_json/ast.json deleted file mode 100644 index c437b22fd8..0000000000 --- a/parser/testdata/03700_vertical_format_pretty_print_json/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_vertical_json", - "tables": [ - { - "table": "test_vertical_json" - } - ] -} diff --git a/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/ast.json b/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03701_analyzer_correlated_subquery_plan_reference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03701_column_ttl_fully_expired/ast.json b/parser/testdata/03701_column_ttl_fully_expired/ast.json deleted file mode 100644 index 3aa1ae5b08..0000000000 --- a/parser/testdata/03701_column_ttl_fully_expired/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "x", - "tables": [ - { - "table": "x" - } - ] -} diff --git a/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/ast.json b/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/ast.json deleted file mode 100644 index 92f117fd4c..0000000000 --- a/parser/testdata/03701_distinct_but_no_group_by_projection_table_use_check/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Simple:" - } - ] - } - ] -} diff --git a/parser/testdata/03701_json_duplicate_path_insert_select/ast.json b/parser/testdata/03701_json_duplicate_path_insert_select/ast.json deleted file mode 100644 index 526c781c36..0000000000 --- a/parser/testdata/03701_json_duplicate_path_insert_select/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_json_duplicates", - "tables": [ - { - "table": "test_json_duplicates" - } - ] -} diff --git a/parser/testdata/03701_limit_by_in_order/ast.json b/parser/testdata/03701_limit_by_in_order/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03701_limit_by_in_order/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/ast.json b/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03701_optimize_inverse_dictionary_lookup_basic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03701_parallel_replicas_in_shard_scope/ast.json b/parser/testdata/03701_parallel_replicas_in_shard_scope/ast.json deleted file mode 100644 index 9f6ee600ba..0000000000 --- a/parser/testdata/03701_parallel_replicas_in_shard_scope/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_shard_scope", - "tables": [ - { - "table": "test_shard_scope" - } - ] -} diff --git a/parser/testdata/03701_replicated_column_short_circuit_filter/ast.json b/parser/testdata/03701_replicated_column_short_circuit_filter/ast.json deleted file mode 100644 index 68378a0c2b..0000000000 --- a/parser/testdata/03701_replicated_column_short_circuit_filter/ast.json +++ /dev/null @@ -1,94 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "name": "intDiv", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "-", - "right": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 4 - } - ] - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ], - "alias": "x" - } - ] - }, - "where": { - "left": { - "parts": [ - "number" - ] - }, - "op": "!=", - "right": { - "type": "Integer", - "value": 2 - } - }, - "settings": [ - { - "name": "enable_lazy_columns_replication", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "query_plan_filter_push_down", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03701_temporary_files_buffer_size/ast.json b/parser/testdata/03701_temporary_files_buffer_size/ast.json deleted file mode 100644 index 30d5b33966..0000000000 --- a/parser/testdata/03701_temporary_files_buffer_size/ast.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03702_alter_codec_index/ast.json b/parser/testdata/03702_alter_codec_index/ast.json deleted file mode 100644 index b11fcbba25..0000000000 --- a/parser/testdata/03702_alter_codec_index/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_codec_index", - "tables": [ - { - "table": "test_alter_codec_index" - } - ] -} diff --git a/parser/testdata/03702_alter_codec_pk/ast.json b/parser/testdata/03702_alter_codec_pk/ast.json deleted file mode 100644 index 951a7632b7..0000000000 --- a/parser/testdata/03702_alter_codec_pk/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_alter_codec_pk", - "tables": [ - { - "table": "test_alter_codec_pk" - } - ] -} diff --git a/parser/testdata/03702_alter_column_modify_secondary_index_general/ast.json b/parser/testdata/03702_alter_column_modify_secondary_index_general/ast.json deleted file mode 100644 index 880ad3bef5..0000000000 --- a/parser/testdata/03702_alter_column_modify_secondary_index_general/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "apply_mutations_on_fly", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/ast.json b/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/ast.json deleted file mode 100644 index 880ad3bef5..0000000000 --- a/parser/testdata/03702_alter_column_update_and_delete_secondary_index_general/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "apply_mutations_on_fly", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03702_encode_decode_memory_usage/ast.json b/parser/testdata/03702_encode_decode_memory_usage/ast.json deleted file mode 100644 index 2868009d10..0000000000 --- a/parser/testdata/03702_encode_decode_memory_usage/ast.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base32Decode", - "arguments": [ - { - "parts": [ - "s" - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "base32Encode", - "arguments": [ - { - "name": "randomString", - "arguments": [ - { - "type": "Integer", - "value": 100 - } - ] - } - ], - "alias": "s" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03702_function_dict_get_keys_basic/ast.json b/parser/testdata/03702_function_dict_get_keys_basic/ast.json deleted file mode 100644 index d7e6692ec1..0000000000 --- a/parser/testdata/03702_function_dict_get_keys_basic/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Negative" - } - ] - } - ] -} diff --git a/parser/testdata/03702_geometry_functions/ast.json b/parser/testdata/03702_geometry_functions/ast.json deleted file mode 100644 index 18140d29ce..0000000000 --- a/parser/testdata/03702_geometry_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_variant_types", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/ast.json b/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/ast.json deleted file mode 100644 index c47893ac26..0000000000 --- a/parser/testdata/03702_inject_random_orderby_doesnt_change_limit/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "inject_random_order_for_select_without_order_by", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_json_datetime_format_settings/ast.json b/parser/testdata/03702_json_datetime_format_settings/ast.json deleted file mode 100644 index 98598cc58b..0000000000 --- a/parser/testdata/03702_json_datetime_format_settings/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_json_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/ast.json b/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03702_optimize_inverse_dictionary_lookup_composite_and_layouts/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_text_index_hint_basics/ast.json b/parser/testdata/03702_text_index_hint_basics/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03702_text_index_hint_basics/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_text_index_hint_events/ast.json b/parser/testdata/03702_text_index_hint_events/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03702_text_index_hint_events/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03702_text_index_hint_low_cardinality/ast.json b/parser/testdata/03702_text_index_hint_low_cardinality/ast.json deleted file mode 100644 index 1a34001fe1..0000000000 --- a/parser/testdata/03702_text_index_hint_low_cardinality/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_direct_read_lc", - "tables": [ - { - "table": "t_direct_read_lc" - } - ] -} diff --git a/parser/testdata/03703_function_dict_get_keys_large/ast.json b/parser/testdata/03703_function_dict_get_keys_large/ast.json deleted file mode 100644 index eafab4abcf..0000000000 --- a/parser/testdata/03703_function_dict_get_keys_large/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_big", - "tables": [ - { - "table": "dict_big" - } - ] -} diff --git a/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/ast.json b/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03703_optimize_inverse_dictionary_lookup_dictget_family/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03703_statistics_low_cardinality/ast.json b/parser/testdata/03703_statistics_low_cardinality/ast.json deleted file mode 100644 index 4c11131ef6..0000000000 --- a/parser/testdata/03703_statistics_low_cardinality/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_statistics_optimize", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03704_default_empty_order_by/ast.json b/parser/testdata/03704_default_empty_order_by/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03704_default_empty_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03704_fractional_limit_with_ties/ast.json b/parser/testdata/03704_fractional_limit_with_ties/ast.json deleted file mode 100644 index 520ecf6976..0000000000 --- a/parser/testdata/03704_fractional_limit_with_ties/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "ties", - "tables": [ - { - "table": "ties" - } - ] -} diff --git a/parser/testdata/03704_function_dict_get_keys_cache_type/ast.json b/parser/testdata/03704_function_dict_get_keys_cache_type/ast.json deleted file mode 100644 index e3086d9031..0000000000 --- a/parser/testdata/03704_function_dict_get_keys_cache_type/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Cache Persistence Only Within A Single Query" - } - ] - } - ] -} diff --git a/parser/testdata/03705_count_if_asterisk/ast.json b/parser/testdata/03705_count_if_asterisk/ast.json deleted file mode 100644 index 6d65755ab7..0000000000 --- a/parser/testdata/03705_count_if_asterisk/ast.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "countIf", - "arguments": [ - {}, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "\u003c", - "right": { - "type": "Integer", - "value": 5 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03705_fix_compression_T64_unaligned/ast.json b/parser/testdata/03705_fix_compression_T64_unaligned/ast.json deleted file mode 100644 index 1d85e0e7c8..0000000000 --- a/parser/testdata/03705_fix_compression_T64_unaligned/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "compression_estimate_example", - "tables": [ - { - "table": "compression_estimate_example" - } - ] -} diff --git a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/ast.json b/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/ast.json deleted file mode 100644 index d57f0ecf66..0000000000 --- a/parser/testdata/03705_function_dict_get_keys_multiple_dict_and_no_caching/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "dict_products", - "tables": [ - { - "table": "dict_products" - } - ] -} diff --git a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/ast.json b/parser/testdata/03707_analyzer_convert_outer_any_to_inner/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03707_analyzer_convert_outer_any_to_inner/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/ast.json b/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/ast.json deleted file mode 100644 index a802c8a3e9..0000000000 --- a/parser/testdata/03707_empty_parts_with_non_empty_projections_merge/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mt1", - "tables": [ - { - "table": "mt1" - } - ] -} diff --git a/parser/testdata/03707_function_array_remove/ast.json b/parser/testdata/03707_function_array_remove/ast.json deleted file mode 100644 index e5f081c15e..0000000000 --- a/parser/testdata/03707_function_array_remove/ast.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayRemove", - "arguments": [ - { - "type": "Array", - "value": null - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03707_statistics_cache/ast.json b/parser/testdata/03707_statistics_cache/ast.json deleted file mode 100644 index 7ef37147e1..0000000000 --- a/parser/testdata/03707_statistics_cache/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_statistics", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/ast.json b/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03708_analyzer_convert_any_outer_to_inner_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03708_exact_rows_before_limit_in/ast.json b/parser/testdata/03708_exact_rows_before_limit_in/ast.json deleted file mode 100644 index 813a551bb1..0000000000 --- a/parser/testdata/03708_exact_rows_before_limit_in/ast.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "c0" - } - ], - "where": { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - }, - "limit": { - "type": "Integer", - "value": 1 - } - } - ] - } - }, - "alias": "v0" - } - } - ] - }, - "group_by": [ - { - "parts": [ - "v0", - "c0" - ] - } - ], - "having": { - "left": { - "parts": [ - "v0", - "c0" - ] - }, - "op": "=", - "right": { - "type": "Integer", - "value": 1 - } - }, - "settings": [ - { - "name": "exact_rows_before_limit", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03708_flush_async_insert_queue_for_table/ast.json b/parser/testdata/03708_flush_async_insert_queue_for_table/ast.json deleted file mode 100644 index a55b0143d5..0000000000 --- a/parser/testdata/03708_flush_async_insert_queue_for_table/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table with spaces", - "tables": [ - { - "table": "test_table with spaces" - } - ] -} diff --git a/parser/testdata/03708_join_or_to_right_any_bug/ast.json b/parser/testdata/03708_join_or_to_right_any_bug/ast.json deleted file mode 100644 index 271647a4de..0000000000 --- a/parser/testdata/03708_join_or_to_right_any_bug/ast.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "a" - }, - { - "expr": { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - }, - "alias": "b" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "l" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "a" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "r" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "left": { - "parts": [ - "l", - "a" - ] - }, - "op": "=", - "right": { - "parts": [ - "r", - "a" - ] - } - }, - "op": "OR", - "right": { - "left": { - "parts": [ - "l", - "b" - ] - }, - "op": "=", - "right": { - "parts": [ - "r", - "a" - ] - } - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "ALL" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/ast.json b/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/ast.json deleted file mode 100644 index cd6d5bd7c5..0000000000 --- a/parser/testdata/03708_low_cardinality_aggregate_state_compatibility/ast.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "hex", - "arguments": [ - { - "name": "maxDistinctState", - "arguments": [ - { - "name": "tuple", - "arguments": [ - { - "expr": { - "type": "String", - "value": "str" - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03708_statistics_estimator_cast_type/ast.json b/parser/testdata/03708_statistics_estimator_cast_type/ast.json deleted file mode 100644 index d72072bb36..0000000000 --- a/parser/testdata/03708_statistics_estimator_cast_type/ast.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "table": "dt64test", - "columns": [ - { - "name": "dt64_column", - "type": { - "name": "DateTime64", - "parameters": [ - { - "type": "Integer", - "value": 3 - } - ], - "has_parentheses": true - } - }, - { - "name": "dt_column", - "type": { - "name": "DateTime" - }, - "default": { - "name": "toDateTime", - "arguments": [ - { - "parts": [ - "dt64_column" - ] - } - ] - }, - "default_kind": "DEFAULT" - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "dt64_column" - ] - } - ], - "partition_by": { - "name": "toYYYYMM", - "arguments": [ - { - "parts": [ - "dt64_column" - ] - } - ] - }, - "settings": [ - { - "name": "auto_statistics_types", - "value": { - "type": "String", - "value": "tdigest" - } - } - ] -} diff --git a/parser/testdata/03709_anti_join_runtime_filters/ast.json b/parser/testdata/03709_anti_join_runtime_filters/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03709_anti_join_runtime_filters/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03709_coalescing_final/ast.json b/parser/testdata/03709_coalescing_final/ast.json deleted file mode 100644 index 8a7244b844..0000000000 --- a/parser/testdata/03709_coalescing_final/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_table", - "tables": [ - { - "table": "test_table" - } - ] -} diff --git a/parser/testdata/03709_parallel_replicas_right_join_with_distributed/ast.json b/parser/testdata/03709_parallel_replicas_right_join_with_distributed/ast.json deleted file mode 100644 index 5e2ad5ef8c..0000000000 --- a/parser/testdata/03709_parallel_replicas_right_join_with_distributed/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "local_table_l", - "tables": [ - { - "table": "local_table_l" - } - ] -} diff --git a/parser/testdata/03709_replicated_columns_right_join/ast.json b/parser/testdata/03709_replicated_columns_right_join/ast.json deleted file mode 100644 index ff101eb4a9..0000000000 --- a/parser/testdata/03709_replicated_columns_right_join/ast.json +++ /dev/null @@ -1,149 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "type": "Integer", - "value": 10 - } - ] - }, - "alias": "left" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - }, - { - "parts": [ - "number" - ], - "alias": "x" - }, - { - "expr": { - "left": { - "type": "String", - "value": "str" - }, - "op": "||", - "right": { - "parts": [ - "number" - ] - } - }, - "alias": "str" - }, - { - "name": "arrayJoin", - "arguments": [ - { - "name": "range", - "arguments": [ - { - "parts": [ - "number" - ] - } - ] - } - ], - "alias": "i" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "right" - }, - "join": { - "type": "RIGHT", - "on": { - "left": { - "parts": [ - "left", - "number" - ] - }, - "op": "=", - "right": { - "parts": [ - "right", - "number" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "right", - "number" - ] - } - }, - { - "expression": { - "parts": [ - "i" - ] - } - } - ], - "settings": [ - { - "name": "enable_lazy_columns_replication", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03710_analyzer_limit_by_aggregate_validation/ast.json b/parser/testdata/03710_analyzer_limit_by_aggregate_validation/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03710_analyzer_limit_by_aggregate_validation/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03710_argAndMinMax/ast.json b/parser/testdata/03710_argAndMinMax/ast.json deleted file mode 100644 index 2ff94132c3..0000000000 --- a/parser/testdata/03710_argAndMinMax/ast.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "argAndMin", - "arguments": [ - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - }, - { - "name": "argAndMax", - "arguments": [ - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 1 - } - }, - { - "tuple": { - "parts": [ - "x" - ] - }, - "index": { - "type": "Integer", - "value": 2 - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [ - { - "parts": [ - "number" - ] - }, - { - "left": { - "parts": [ - "number" - ] - }, - "op": "+", - "right": { - "type": "Integer", - "value": 1 - } - } - ] - }, - "alias": "x" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03710_array_join_in_map_bug/ast.json b/parser/testdata/03710_array_join_in_map_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03710_array_join_in_map_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03710_empty_tuple_lhs_in_function/ast.json b/parser/testdata/03710_empty_tuple_lhs_in_function/ast.json deleted file mode 100644 index b520527db3..0000000000 --- a/parser/testdata/03710_empty_tuple_lhs_in_function/ast.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "name": "tuple" - }, - "type": { - "name": "Tuple()" - } - }, - "list": [ - { - "name": "tuple" - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03710_midpoint/ast.json b/parser/testdata/03710_midpoint/ast.json deleted file mode 100644 index b5b485893c..0000000000 --- a/parser/testdata/03710_midpoint/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "midpoint_test", - "tables": [ - { - "table": "midpoint_test" - } - ] -} diff --git a/parser/testdata/03710_pr_insert_into_mv_with_join/ast.json b/parser/testdata/03710_pr_insert_into_mv_with_join/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/03710_pr_insert_into_mv_with_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/03710_pr_join_with_mv/ast.json b/parser/testdata/03710_pr_join_with_mv/ast.json deleted file mode 100644 index 412be2bf09..0000000000 --- a/parser/testdata/03710_pr_join_with_mv/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv2", - "tables": [ - { - "table": "mv2" - } - ] -} diff --git a/parser/testdata/03711_deduplication_blocks_part_log/ast.json b/parser/testdata/03711_deduplication_blocks_part_log/ast.json deleted file mode 100644 index fc6be17a93..0000000000 --- a/parser/testdata/03711_deduplication_blocks_part_log/ast.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "if_exists": true, - "database": "03710_database", - "drop_database": true -} diff --git a/parser/testdata/03711_json_skip_invalid_fields/ast.json b/parser/testdata/03711_json_skip_invalid_fields/ast.json deleted file mode 100644 index 7609cde396..0000000000 --- a/parser/testdata/03711_json_skip_invalid_fields/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "Test 1: Skip invalid typed path - string cannot be coerced to Int64" - } - ] - } - ] -} diff --git a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/ast.json b/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/ast.json deleted file mode 100644 index 54f2ad988d..0000000000 --- a/parser/testdata/03711_merge_tree_deduplication_with_disk_not_support_writing_with_append/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "send_logs_level", - "value": { - "type": "String", - "value": "fatal" - } - } - ] -} diff --git a/parser/testdata/03711_top_k_by_dynamic_filter/ast.json b/parser/testdata/03711_top_k_by_dynamic_filter/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/03711_top_k_by_dynamic_filter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/03711_top_k_by_skip_index/ast.json b/parser/testdata/03711_top_k_by_skip_index/ast.json deleted file mode 100644 index ccf3186557..0000000000 --- a/parser/testdata/03711_top_k_by_skip_index/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03711_top_k_by_skip_index_dynamic/ast.json b/parser/testdata/03711_top_k_by_skip_index_dynamic/ast.json deleted file mode 100644 index d7104b4726..0000000000 --- a/parser/testdata/03711_top_k_by_skip_index_dynamic/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "tab1", - "tables": [ - { - "table": "tab1" - } - ] -} diff --git a/parser/testdata/03712_json_advanced_shared_data_bug/ast.json b/parser/testdata/03712_json_advanced_shared_data_bug/ast.json deleted file mode 100644 index ebd8907619..0000000000 --- a/parser/testdata/03712_json_advanced_shared_data_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "optimize_if_transform_strings_to_enum", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/ast.json b/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03713_optimize_inverse_dictionary_lookup_setting_rewrite_in_to_join/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03713_replicated_columns_in_external_data_bug/ast.json b/parser/testdata/03713_replicated_columns_in_external_data_bug/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03713_replicated_columns_in_external_data_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03714_base32_base58_short_string/ast.json b/parser/testdata/03714_base32_base58_short_string/ast.json deleted file mode 100644 index dc083aa3f9..0000000000 --- a/parser/testdata/03714_base32_base58_short_string/ast.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base32Encode", - "arguments": [ - { - "name": "randomString", - "arguments": [ - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 100 - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 1000 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03714_empty_tuple_reverse_function/ast.json b/parser/testdata/03714_empty_tuple_reverse_function/ast.json deleted file mode 100644 index ef6d2fbe1f..0000000000 --- a/parser/testdata/03714_empty_tuple_reverse_function/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "reverse", - "arguments": [ - { - "type": "Tuple", - "value": [] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03714_queries_escaping_1/ast.json b/parser/testdata/03714_queries_escaping_1/ast.json deleted file mode 100644 index 108ae82cbe..0000000000 --- a/parser/testdata/03714_queries_escaping_1/ast.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "show_type": "COLUMNS", - "database": "a", - "from": "b", - "like": "a' or 1=1;--" -} diff --git a/parser/testdata/03714_queries_escaping_2/ast.json b/parser/testdata/03714_queries_escaping_2/ast.json deleted file mode 100644 index 6c740bfdfb..0000000000 --- a/parser/testdata/03714_queries_escaping_2/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "show_type": "FUNCTIONS", - "like": "a' or 1=1;--" -} diff --git a/parser/testdata/03715_empty_tuple_functions_conversion/ast.json b/parser/testdata/03715_empty_tuple_functions_conversion/ast.json deleted file mode 100644 index f82e35f1cd..0000000000 --- a/parser/testdata/03715_empty_tuple_functions_conversion/ast.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Tuple", - "value": [] - }, - "type": { - "name": "SimpleAggregateFunction(min, Tuple())" - } - } - ] - } - ] -} diff --git a/parser/testdata/03716_anti_join_runtime_filters_2/ast.json b/parser/testdata/03716_anti_join_runtime_filters_2/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03716_anti_join_runtime_filters_2/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03716_bson_each_row_empty_tuple_column/ast.json b/parser/testdata/03716_bson_each_row_empty_tuple_column/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03716_bson_each_row_empty_tuple_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03716_join_duplicate_columns_89411/ast.json b/parser/testdata/03716_join_duplicate_columns_89411/ast.json deleted file mode 100644 index c3fa30bbc3..0000000000 --- a/parser/testdata/03716_join_duplicate_columns_89411/ast.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "t1", - "k" - ] - }, - { - "parts": [ - "t2", - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ], - "alias": "k" - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "t1" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "expr": { - "type": "Integer", - "value": 0 - }, - "type": { - "name": "UInt64" - } - }, - "alias": "k" - }, - { - "parts": [ - "k" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 3 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "t2" - }, - "join": { - "type": "INNER", - "on": { - "left": { - "parts": [ - "t1", - "k" - ] - }, - "op": "=", - "right": { - "parts": [ - "t2", - "k" - ] - } - } - } - } - ] - }, - "order_by": [ - { - "expression": { - "parts": [ - "t1", - "k" - ] - } - }, - { - "expression": { - "parts": [ - "t2", - "k" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03716_join_right_side_sorting/ast.json b/parser/testdata/03716_join_right_side_sorting/ast.json deleted file mode 100644 index 5d3ba83b8e..0000000000 --- a/parser/testdata/03716_join_right_side_sorting/ast.json +++ /dev/null @@ -1,152 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 1 - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 1 - }, - "alias": "x" - } - ] - } - ] - } - }, - "alias": "x" - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "Integer", - "value": 2 - }, - "alias": "y" - } - ] - } - ] - } - }, - "alias": "y" - }, - "join": { - "type": "LEFT", - "on": { - "left": { - "parts": [ - "x", - "x" - ] - }, - "op": "=", - "right": { - "parts": [ - "y", - "y" - ] - } - } - } - }, - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "parts": [ - "number" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 40 - } - ] - } - } - } - ] - } - } - ] - } - }, - "alias": "z" - }, - "join": { - "type": "INNER", - "on": { - "type": "Integer", - "value": 1 - } - } - } - ] - }, - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "hash" - } - }, - { - "name": "join_output_by_rowlist_perkey_rows_threshold", - "value": { - "type": "Integer", - "value": 80 - } - }, - { - "name": "allow_experimental_join_right_table_sorting", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "allow_experimental_parallel_reading_from_replicas", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03716_multiple_joins_using_top_level_identifier/ast.json b/parser/testdata/03716_multiple_joins_using_top_level_identifier/ast.json deleted file mode 100644 index 9175db7a38..0000000000 --- a/parser/testdata/03716_multiple_joins_using_top_level_identifier/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "analyzer_compatibility_join_using_top_level_identifier", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03716_text_index_drop_caches/ast.json b/parser/testdata/03716_text_index_drop_caches/ast.json deleted file mode 100644 index 1bbe401f8f..0000000000 --- a/parser/testdata/03716_text_index_drop_caches/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_text_index_drop_caches", - "tables": [ - { - "table": "t_text_index_drop_caches" - } - ] -} diff --git a/parser/testdata/03716_topk_bad_data/ast.json b/parser/testdata/03716_topk_bad_data/ast.json deleted file mode 100644 index 3dc78813d4..0000000000 --- a/parser/testdata/03716_topk_bad_data/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "finalizeAggregation", - "arguments": [ - { - "expr": { - "name": "unhex", - "arguments": [ - { - "type": "String", - "value": "012A0300000000000000030000000000000043434303000000000000004141410400000000000000414141410100800200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" - } - ] - }, - "type": { - "name": "AggregateFunction(approx_top_k(3), Array(Array(String)))" - } - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03717_msgpack_empty_tuple_column/ast.json b/parser/testdata/03717_msgpack_empty_tuple_column/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03717_msgpack_empty_tuple_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03717_system_unicode_enums/ast.json b/parser/testdata/03717_system_unicode_enums/ast.json deleted file mode 100644 index ec5f60d2b6..0000000000 --- a/parser/testdata/03717_system_unicode_enums/ast.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "parts": [ - "code_point" - ] - }, - { - "parts": [ - "code_point_value" - ] - }, - { - "parts": [ - "name" - ] - }, - { - "parts": [ - "block" - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "unicode" - } - } - } - ] - }, - "where": { - "left": { - "left": { - "parts": [ - "numeric_type" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Digit" - } - }, - "op": "AND", - "right": { - "left": { - "parts": [ - "block" - ] - }, - "op": "=", - "right": { - "type": "String", - "value": "Ethiopic" - } - } - }, - "order_by": [ - { - "expression": { - "parts": [ - "code_point" - ] - } - } - ] - } - ] -} diff --git a/parser/testdata/03719_generic_hash_over_constant_and_non_constant/ast.json b/parser/testdata/03719_generic_hash_over_constant_and_non_constant/ast.json deleted file mode 100644 index cb5f4ed69b..0000000000 --- a/parser/testdata/03719_generic_hash_over_constant_and_non_constant/ast.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "sipHash64", - "arguments": [ - { - "parts": [ - "number" - ] - }, - { - "expr": { - "type": "Integer", - "value": 42 - }, - "type": { - "name": "Variant", - "parameters": [ - { - "name": "UInt64" - }, - { - "name": "String" - } - ], - "has_parentheses": true - }, - "operator_syntax": true - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03719_ntile_no_partition_by_check/ast.json b/parser/testdata/03719_ntile_no_partition_by_check/ast.json deleted file mode 100644 index ebedeb567d..0000000000 --- a/parser/testdata/03719_ntile_no_partition_by_check/ast.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "String", - "value": "With Partition By" - } - ] - } - ] -} diff --git a/parser/testdata/03720_const_limit_to_scalar/ast.json b/parser/testdata/03720_const_limit_to_scalar/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03720_const_limit_to_scalar/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03720_datetime64_bad_inference/ast.json b/parser/testdata/03720_datetime64_bad_inference/ast.json deleted file mode 100644 index 69b6ad06d4..0000000000 --- a/parser/testdata/03720_datetime64_bad_inference/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "date_time_input_format", - "value": { - "type": "String", - "value": "basic" - } - } - ] -} diff --git a/parser/testdata/03720_numbers_table_function_with_step_edge_cases/ast.json b/parser/testdata/03720_numbers_table_function_with_step_edge_cases/ast.json deleted file mode 100644 index 19f5805825..0000000000 --- a/parser/testdata/03720_numbers_table_function_with_step_edge_cases/ast.json +++ /dev/null @@ -1,143 +0,0 @@ -{ - "selects": [ - { - "distinct": true, - "columns": [ - { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 1 - } - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 10 - }, - { - "name": "sipHash64", - "arguments": [ - { - "name": "sipHash64", - "arguments": [ - { - "name": "sipHash64", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - }, - { - "type": "Integer", - "value": 2 - }, - {} - ] - }, - { - "name": "sipHash64", - "arguments": [ - { - "name": "sipHash64", - "arguments": [ - { - "type": "Integer", - "value": 29103473 - }, - { - "name": "sipHash64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "String", - "value": "3" - }, - { - "name": "sipHash64", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ] - } - ] - } - } - } - ] - }, - "group_by": [ - { - "type": "Integer", - "value": 1 - }, - { - "name": "isNullable", - "arguments": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "with_totals": true, - "order_by": [ - { - "expression": { - "type": "Integer", - "value": 1 - } - } - ], - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] - } - ] -} diff --git a/parser/testdata/03721_aggregate_projection_actions_dag/ast.json b/parser/testdata/03721_aggregate_projection_actions_dag/ast.json deleted file mode 100644 index 559928af6e..0000000000 --- a/parser/testdata/03721_aggregate_projection_actions_dag/ast.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "table": "test", - "columns": [ - { - "name": "key", - "type": { - "name": "UInt64" - } - }, - { - "name": "value", - "type": { - "name": "Int64" - } - } - ], - "engine": { - "name": "MergeTree" - }, - "order_by": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/ast.json b/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/ast.json deleted file mode 100644 index 3c3a42a843..0000000000 --- a/parser/testdata/03721_concurrent_right_join_flags_per_row_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "join_algorithm", - "value": { - "type": "String", - "value": "parallel_hash" - } - } - ] -} diff --git a/parser/testdata/03721_insert_replicated_array_nested_sizes_check/ast.json b/parser/testdata/03721_insert_replicated_array_nested_sizes_check/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03721_insert_replicated_array_nested_sizes_check/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03721_join_residual_condition_bug_88635/ast.json b/parser/testdata/03721_join_residual_condition_bug_88635/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03721_join_residual_condition_bug_88635/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03721_right_join_logical_step/ast.json b/parser/testdata/03721_right_join_logical_step/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03721_right_join_logical_step/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03721_statistics_alter_type_bug/ast.json b/parser/testdata/03721_statistics_alter_type_bug/ast.json deleted file mode 100644 index a7892c088a..0000000000 --- a/parser/testdata/03721_statistics_alter_type_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "column_modify_test", - "tables": [ - { - "table": "column_modify_test" - } - ] -} diff --git a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/ast.json b/parser/testdata/03722_function_trim_ltrim_rtrim_alias/ast.json deleted file mode 100644 index e3a4d32a17..0000000000 --- a/parser/testdata/03722_function_trim_ltrim_rtrim_alias/ast.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "ltrim", - "arguments": [ - { - "type": "String", - "value": " leading " - } - ] - }, - { - "name": "trimLeft", - "arguments": [ - { - "type": "String", - "value": " leading " - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03722_json_compact_part_substreams_cache_bug/ast.json b/parser/testdata/03722_json_compact_part_substreams_cache_bug/ast.json deleted file mode 100644 index a6557bf51f..0000000000 --- a/parser/testdata/03722_json_compact_part_substreams_cache_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "use_variant_as_common_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03722_random_utf8_bug/ast.json b/parser/testdata/03722_random_utf8_bug/ast.json deleted file mode 100644 index c362327d5b..0000000000 --- a/parser/testdata/03722_random_utf8_bug/ast.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "randomStringUTF8", - "arguments": [ - { - "left": { - "left": { - "type": "Integer", - "value": 18446744073709551615 - }, - "op": "-", - "right": { - "type": "Integer", - "value": 1000 - } - }, - "op": "+", - "right": { - "left": { - "parts": [ - "number" - ] - }, - "op": "*", - "right": { - "type": "Integer", - "value": 2003 - } - } - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03723_incorrect_implicit_projection/ast.json b/parser/testdata/03723_incorrect_implicit_projection/ast.json deleted file mode 100644 index d78643e764..0000000000 --- a/parser/testdata/03723_incorrect_implicit_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "prd_bid_events_simple_no_partition", - "tables": [ - { - "table": "prd_bid_events_simple_no_partition" - } - ] -} diff --git a/parser/testdata/03724_filter_assume_not_null_materialize/ast.json b/parser/testdata/03724_filter_assume_not_null_materialize/ast.json deleted file mode 100644 index ef8483927e..0000000000 --- a/parser/testdata/03724_filter_assume_not_null_materialize/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_not_comparable_types_in_comparison_functions", - "value": { - "type": "Integer", - "value": 0 - } - } - ] -} diff --git a/parser/testdata/03724_parallel_replicas_duplicate_requests/ast.json b/parser/testdata/03724_parallel_replicas_duplicate_requests/ast.json deleted file mode 100644 index 57b6ead08e..0000000000 --- a/parser/testdata/03724_parallel_replicas_duplicate_requests/ast.json +++ /dev/null @@ -1,606 +0,0 @@ -{ - "settings": [ - { - "name": "max_insert_threads", - "value": { - "type": "Integer", - "value": 2 - } - }, - { - "name": "group_by_two_level_threshold", - "value": { - "type": "Integer", - "value": 94218 - } - }, - { - "name": "group_by_two_level_threshold_bytes", - "value": { - "type": "Integer", - "value": 12678590 - } - }, - { - "name": "distributed_aggregation_memory_efficient", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "fsync_metadata", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "output_format_parallel_formatting", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "input_format_parallel_parsing", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "min_chunk_bytes_for_parallel_parsing", - "value": { - "type": "Integer", - "value": 19408425 - } - }, - { - "name": "max_read_buffer_size", - "value": { - "type": "Integer", - "value": 740278 - } - }, - { - "name": "prefer_localhost_replica", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_block_size", - "value": { - "type": "Integer", - "value": 9777 - } - }, - { - "name": "max_joined_block_size_rows", - "value": { - "type": "Integer", - "value": 61084 - } - }, - { - "name": "joined_block_split_single_row", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "join_output_by_rowlist_perkey_rows_threshold", - "value": { - "type": "Integer", - "value": 982 - } - }, - { - "name": "max_threads", - "value": { - "type": "Integer", - "value": 3 - } - }, - { - "name": "optimize_append_index", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "use_hedged_requests", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "optimize_if_chain_to_multiif", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "optimize_if_transform_strings_to_enum", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "optimize_read_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "optimize_or_like_chain", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "optimize_substitute_columns", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "enable_multiple_prewhere_read_steps", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "read_in_order_two_level_merge_threshold", - "value": { - "type": "Integer", - "value": 72 - } - }, - { - "name": "optimize_aggregation_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "aggregation_in_order_max_block_bytes", - "value": { - "type": "Integer", - "value": 14627641 - } - }, - { - "name": "use_uncompressed_cache", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_bytes_to_use_direct_io", - "value": { - "type": "Integer", - "value": 7726182779 - } - }, - { - "name": "min_bytes_to_use_mmap_io", - "value": { - "type": "Integer", - "value": 10737418240 - } - }, - { - "name": "local_filesystem_read_method", - "value": { - "type": "String", - "value": "read" - } - }, - { - "name": "remote_filesystem_read_method", - "value": { - "type": "String", - "value": "threadpool" - } - }, - { - "name": "local_filesystem_read_prefetch", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "filesystem_cache_segments_batch_size", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "read_from_filesystem_cache_if_exists_otherwise_bypass_cache", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "throw_on_error_from_cache_on_write_operations", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "remote_filesystem_read_prefetch", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "allow_prefetched_read_pool_for_remote_filesystem", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "filesystem_prefetch_max_memory_usage", - "value": { - "type": "String", - "value": "128Mi" - } - }, - { - "name": "filesystem_prefetches_limit", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "filesystem_prefetch_min_bytes_for_single_read_task", - "value": { - "type": "String", - "value": "8Mi" - } - }, - { - "name": "filesystem_prefetch_step_marks", - "value": { - "type": "Integer", - "value": 50 - } - }, - { - "name": "filesystem_prefetch_step_bytes", - "value": { - "type": "String", - "value": "100Mi" - } - }, - { - "name": "compile_expressions", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "compile_aggregate_expressions", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "compile_sort_description", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "merge_tree_coarse_index_granularity", - "value": { - "type": "Integer", - "value": 16 - } - }, - { - "name": "optimize_distinct_in_order", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_bytes_before_remerge_sort", - "value": { - "type": "Integer", - "value": 615312931 - } - }, - { - "name": "min_compress_block_size", - "value": { - "type": "Integer", - "value": 396667 - } - }, - { - "name": "max_compress_block_size", - "value": { - "type": "Integer", - "value": 1465735 - } - }, - { - "name": "merge_tree_compact_parts_min_granules_to_multibuffer_read", - "value": { - "type": "Integer", - "value": 109 - } - }, - { - "name": "optimize_sorting_by_input_stream_properties", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "http_response_buffer_size", - "value": { - "type": "Integer", - "value": 7378705 - } - }, - { - "name": "http_wait_end_of_query", - "value": { - "type": "String", - "value": "True" - } - }, - { - "name": "enable_memory_bound_merging_of_aggregation_results", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "min_count_to_compile_expression", - "value": { - "type": "Integer", - "value": 3 - } - }, - { - "name": "min_count_to_compile_aggregate_expression", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "min_count_to_compile_sort_description", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "Africa/Khartoum" - } - }, - { - "name": "use_page_cache_for_disks_without_file_cache", - "value": { - "type": "String", - "value": "False" - } - }, - { - "name": "page_cache_inject_eviction", - "value": { - "type": "String", - "value": "False" - } - }, - { - "name": "merge_tree_read_split_ranges_into_intersecting_and_non_intersecting_injection_probability", - "value": { - "type": "Float", - "value": 0.69 - } - }, - { - "name": "prefer_external_sort_block_bytes", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "cross_join_min_rows_to_compress", - "value": { - "type": "Integer", - "value": 100000000 - } - }, - { - "name": "cross_join_min_bytes_to_compress", - "value": { - "type": "Integer", - "value": 100000000 - } - }, - { - "name": "min_external_table_block_size_bytes", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_parsing_threads", - "value": { - "type": "Integer", - "value": 10 - } - }, - { - "name": "optimize_functions_to_subcolumns", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "parallel_replicas_local_plan", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "query_plan_join_swap_table", - "value": { - "type": "String", - "value": "auto" - } - }, - { - "name": "enable_vertical_final", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "optimize_extract_common_expressions", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_async_executor_for_materialized_views", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_query_condition_cache", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "secondary_indices_enable_bulk_filtering", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_skip_indexes_if_final", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "use_skip_indexes_on_data_read", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "optimize_rewrite_like_perfect_affix", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "input_format_parquet_use_native_reader_v3", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "enable_lazy_columns_replication", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "allow_special_serialization_kinds_in_output_formats", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_before_external_sort", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_ratio_before_external_sort", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "max_bytes_ratio_before_external_group_by", - "value": { - "type": "Integer", - "value": 0 - } - }, - { - "name": "use_skip_indexes_if_final_exact_mode", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/ast.json b/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/ast.json deleted file mode 100644 index 621f870d0b..0000000000 --- a/parser/testdata/03724_to_date_time_or_null_negative_arg_bug/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "session_timezone", - "value": { - "type": "String", - "value": "UTC" - } - } - ] -} diff --git a/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/ast.json b/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/ast.json deleted file mode 100644 index 7b990e218c..0000000000 --- a/parser/testdata/03725_empty_tuple_some_limit_with_ties_distinct/ast.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "type": "Tuple", - "value": [] - } - ], - "order_by": [ - { - "expression": { - "type": "Integer", - "value": 1 - } - } - ], - "limit": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/ast.json b/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03725_json_dynamic_subcolumn_prewhere_zero_index_granularity_bytes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/ast.json b/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03725_variant_element_null_map_subcolumn_prewhere_zero_index_granularity_bytes/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03726_array_union_with_dynamic_argument/ast.json b/parser/testdata/03726_array_union_with_dynamic_argument/ast.json deleted file mode 100644 index 401bd2064d..0000000000 --- a/parser/testdata/03726_array_union_with_dynamic_argument/ast.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayUnion", - "arguments": [ - { - "type": "Array", - "value": [ - { - "type": "Integer", - "value": 1 - } - ] - }, - { - "type": "Array", - "value": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "type": { - "name": "Dynamic" - }, - "operator_syntax": true - } - ] - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03727_alter_with_localhost_remote/ast.json b/parser/testdata/03727_alter_with_localhost_remote/ast.json deleted file mode 100644 index 6088af8fd1..0000000000 --- a/parser/testdata/03727_alter_with_localhost_remote/ast.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "if_exists": true, - "user": "test_03727" -} diff --git a/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/ast.json b/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/ast.json deleted file mode 100644 index fa9fe55e87..0000000000 --- a/parser/testdata/03727_block_structure_mismatch_after_filter_push_down/ast.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "name": "materialize", - "arguments": [ - { - "name": "toUInt256", - "arguments": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - ] - }, - { - "distinct": true, - "columns": [ - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "union_all": true, - "union_modes": [ - "UNION ALL" - ] - } - } - } - } - ] - }, - "group_by": [ - { - "name": "ignore", - "arguments": [ - { - "name": "lessOrEquals", - "arguments": [ - { - "type": "Integer", - "value": 18 - }, - { - "name": "isNotNull", - "arguments": [ - { - "name": "toLowCardinality", - "arguments": [ - { - "type": "Integer", - "value": 10 - } - ] - } - ] - } - ] - } - ] - }, - { - "type": "Integer", - "value": 1 - } - ], - "having": { - "name": "ignore", - "arguments": [ - { - "name": "isZeroOrNull", - "arguments": [ - { - "type": "Integer", - "value": 5 - } - ] - } - ] - } - } - ] -} diff --git a/parser/testdata/03727_concat_with_separator_subquery/ast.json b/parser/testdata/03727_concat_with_separator_subquery/ast.json deleted file mode 100644 index 35f30d28ba..0000000000 --- a/parser/testdata/03727_concat_with_separator_subquery/ast.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "concatWithSeparator", - "arguments": [ - { - "parts": [ - "c0" - ] - }, - { - "type": "String", - "value": "b" - }, - { - "type": "Integer", - "value": 1 - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "query": { - "selects": [ - { - "columns": [ - { - "expr": { - "type": "String", - "value": "a" - }, - "alias": "c0" - } - ] - } - ] - } - }, - "alias": "tx" - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03727_ipv4_parsing_bug/ast.json b/parser/testdata/03727_ipv4_parsing_bug/ast.json deleted file mode 100644 index a1dc9344fc..0000000000 --- a/parser/testdata/03727_ipv4_parsing_bug/ast.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "IPv6NumToString", - "arguments": [ - { - "name": "IPv6StringToNumOrDefault", - "arguments": [ - { - "parts": [ - "x" - ] - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "database": "system", - "table": "one" - } - } - } - ] - }, - "array_join": { - "columns": [ - { - "expr": { - "type": "Array", - "value": [ - { - "type": "String", - "value": "24" - }, - { - "type": "String", - "value": "5.123.234" - } - ] - }, - "alias": "x" - } - ] - } - } - ] -} diff --git a/parser/testdata/03727_rename_nested_and_modify_in_one_later/ast.json b/parser/testdata/03727_rename_nested_and_modify_in_one_later/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03727_rename_nested_and_modify_in_one_later/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03727_tolowcardinality_nullable_cast/ast.json b/parser/testdata/03727_tolowcardinality_nullable_cast/ast.json deleted file mode 100644 index 22b3b2d47c..0000000000 --- a/parser/testdata/03727_tolowcardinality_nullable_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_tolowcardinality_nullable", - "tables": [ - { - "table": "test_tolowcardinality_nullable" - } - ] -} diff --git a/parser/testdata/03728_analyzer_identifier_resolution_join/ast.json b/parser/testdata/03728_analyzer_identifier_resolution_join/ast.json deleted file mode 100644 index 321194e0c7..0000000000 --- a/parser/testdata/03728_analyzer_identifier_resolution_join/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "address", - "tables": [ - { - "table": "address" - } - ] -} diff --git a/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/ast.json b/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/ast.json deleted file mode 100644 index 575b74cb63..0000000000 --- a/parser/testdata/03730_qbit_in_order_by_and_comparison_functions/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_qbit_type", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/ast.json b/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03731_null_parts_in_storage_snapshot_with_only_analyze/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03732_join_on_exists_bug/ast.json b/parser/testdata/03732_join_on_exists_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03732_join_on_exists_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/ast.json b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/ast.json b/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03732_json_duplicated_path_in_dynamic_paths_and_shared_data_compact_part_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03733_anti_join_runtime_filter_3/ast.json b/parser/testdata/03733_anti_join_runtime_filter_3/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03733_anti_join_runtime_filter_3/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03733_base58_decode_bug/ast.json b/parser/testdata/03733_base58_decode_bug/ast.json deleted file mode 100644 index 14eab8bcde..0000000000 --- a/parser/testdata/03733_base58_decode_bug/ast.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "base58Decode", - "arguments": [ - { - "name": "materialize", - "arguments": [ - { - "type": "String", - "value": "11111111111111" - } - ] - } - ] - } - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "numbers", - "arguments": [ - { - "type": "Integer", - "value": 100000 - } - ] - } - } - } - ] - }, - "format": { - "parts": [ - "Null" - ] - } - } - ] -} diff --git a/parser/testdata/03733_join_order_dp/ast.json b/parser/testdata/03733_join_order_dp/ast.json deleted file mode 100644 index b540a9a890..0000000000 --- a/parser/testdata/03733_join_order_dp/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_experimental_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/ast.json b/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/ast.json deleted file mode 100644 index e16c059c92..0000000000 --- a/parser/testdata/03733_summing_merge_tree_nested_low_cardinality/ast.json +++ /dev/null @@ -1,60 +0,0 @@ -{ - "table": "sums", - "columns": [ - { - "name": "key", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "sumOfSums", - "type": { - "name": "UInt64" - } - }, - { - "name": "sumsMap", - "type": { - "name": "Nested", - "parameters": [ - { - "name": "key", - "type": { - "name": "LowCardinality", - "parameters": [ - { - "name": "String" - } - ], - "has_parentheses": true - } - }, - { - "name": "sum", - "type": { - "name": "UInt64" - } - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "SummingMergeTree" - }, - "primary_key": [ - { - "parts": [ - "key" - ] - } - ] -} diff --git a/parser/testdata/03735_excessive_buffer_flush/ast.json b/parser/testdata/03735_excessive_buffer_flush/ast.json deleted file mode 100644 index fbd51fee8d..0000000000 --- a/parser/testdata/03735_excessive_buffer_flush/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "function_sleep_max_microseconds_per_block", - "value": { - "type": "Float", - "value": 5000000000 - } - } - ] -} diff --git a/parser/testdata/03740_alter_modify_query_dict_name_in_cse/ast.json b/parser/testdata/03740_alter_modify_query_dict_name_in_cse/ast.json deleted file mode 100644 index 9c0ec412c7..0000000000 --- a/parser/testdata/03740_alter_modify_query_dict_name_in_cse/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "mv", - "tables": [ - { - "table": "mv" - } - ] -} diff --git a/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/ast.json b/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03741_adaptive_write_buffer_initial_size_zero/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/ast.json b/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/ast.json deleted file mode 100644 index 337119ab53..0000000000 --- a/parser/testdata/03741_dict_get_in_cte_with_no_arguments_old_analyzer/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "name": "dictGet" - } - ] - } - ] - } - } - ], - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 0 - } - } - ] - } - ] -} diff --git a/parser/testdata/03741_insert_select_subquery_from_file/ast.json b/parser/testdata/03741_insert_select_subquery_from_file/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03741_insert_select_subquery_from_file/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/ast.json b/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03741_subcolumns_of_materialized_columns_in_mutation/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03742_array_filter_is_null_empty_array/ast.json b/parser/testdata/03742_array_filter_is_null_empty_array/ast.json deleted file mode 100644 index 50c918fcaf..0000000000 --- a/parser/testdata/03742_array_filter_is_null_empty_array/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - { - "name": "arrayFilter", - "arguments": [ - { - "parameters": [ - "x" - ], - "body": { - "expr": { - "parts": [ - "x" - ] - }, - "not": true - } - }, - { - "type": "Array", - "value": null - } - ] - } - ] - } - ] -} diff --git a/parser/testdata/03742_array_join_empty_tuple/ast.json b/parser/testdata/03742_array_join_empty_tuple/ast.json deleted file mode 100644 index a604bda3a9..0000000000 --- a/parser/testdata/03742_array_join_empty_tuple/ast.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Array", - "parameters": [ - { - "name": "Int" - } - ], - "has_parentheses": true - } - }, - { - "name": "c1", - "type": { - "name": "Tuple", - "has_parentheses": true - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/ast.json b/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/ast.json deleted file mode 100644 index d605033472..0000000000 --- a/parser/testdata/03742_lazy_materialization_of_array_after_alter_add_column/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_lazy", - "tables": [ - { - "table": "test_lazy" - } - ] -} diff --git a/parser/testdata/03742_test_flattened_crash/ast.json b/parser/testdata/03742_test_flattened_crash/ast.json deleted file mode 100644 index 50259b0ce9..0000000000 --- a/parser/testdata/03742_test_flattened_crash/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_flatten_nested_crash", - "tables": [ - { - "table": "test_flatten_nested_crash" - } - ] -} diff --git a/parser/testdata/03743_fix_estimator_crash/ast.json b/parser/testdata/03743_fix_estimator_crash/ast.json deleted file mode 100644 index 9d9eef8165..0000000000 --- a/parser/testdata/03743_fix_estimator_crash/ast.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "table": "t0", - "columns": [ - { - "name": "c0", - "type": { - "name": "Int" - } - } - ], - "engine": { - "name": "MergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "name": "tuple" - } - ] -} diff --git a/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/ast.json b/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/03743_summing_and_aggregating_merge_tree_with_json_merge/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03745_fix_dynamic_structure_in_compact_part/ast.json b/parser/testdata/03745_fix_dynamic_structure_in_compact_part/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03745_fix_dynamic_structure_in_compact_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/ast.json b/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/ast.json deleted file mode 100644 index 81d18137f8..0000000000 --- a/parser/testdata/03747_optimize_functions_to_subcolumns_columns_as_substreams/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_empty_array", - "tables": [ - { - "table": "test_empty_array" - } - ] -} diff --git a/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/ast.json b/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/ast.json deleted file mode 100644 index f2ad7b1ef3..0000000000 --- a/parser/testdata/03748_coalescing_merge_tree_tuple_low_cardinality_and_dynamic/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "mutations_sync", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03748_default_minmax_indices_alter/ast.json b/parser/testdata/03748_default_minmax_indices_alter/ast.json deleted file mode 100644 index 11f0fc9b0e..0000000000 --- a/parser/testdata/03748_default_minmax_indices_alter/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_implicit", - "tables": [ - { - "table": "t_implicit" - } - ] -} diff --git a/parser/testdata/03748_tuple_of_sparse_elements_bug/ast.json b/parser/testdata/03748_tuple_of_sparse_elements_bug/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03748_tuple_of_sparse_elements_bug/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03749_implicit_index_ephemeral_alias/ast.json b/parser/testdata/03749_implicit_index_ephemeral_alias/ast.json deleted file mode 100644 index 3d6d9b1a4b..0000000000 --- a/parser/testdata/03749_implicit_index_ephemeral_alias/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test_string", - "tables": [ - { - "table": "test_string" - } - ] -} diff --git a/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/ast.json b/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03749_in_function_rewrite_lambda_lhs_non_const_rhs/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03749_materialized_view_not_supports_parallel_write/ast.json b/parser/testdata/03749_materialized_view_not_supports_parallel_write/ast.json deleted file mode 100644 index 80909e3851..0000000000 --- a/parser/testdata/03749_materialized_view_not_supports_parallel_write/ast.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "settings": [ - { - "name": "parallel_view_processing", - "value": { - "type": "Integer", - "value": 1 - } - }, - { - "name": "max_insert_threads", - "value": { - "type": "Integer", - "value": 2 - } - } - ] -} diff --git a/parser/testdata/03749_table_function_argument_asterisk/ast.json b/parser/testdata/03749_table_function_argument_asterisk/ast.json deleted file mode 100644 index 47aa01cde8..0000000000 --- a/parser/testdata/03749_table_function_argument_asterisk/ast.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "remote", - "arguments": [ - {}, - { - "type": "String", - "value": "127.{1,2}" - }, - { - "name": "view", - "arguments": [ - { - "query": { - "selects": [ - { - "columns": [ - { - "type": "Integer", - "value": 2 - } - ] - } - ] - } - } - ] - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/ast.json b/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/ast.json deleted file mode 100644 index aa2c8422fb..0000000000 --- a/parser/testdata/03751_summing_coalescing_merge_tree_sparse_columns_in_header/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "allow_suspicious_primary_key", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03752_constant_expression_with_untuple/ast.json b/parser/testdata/03752_constant_expression_with_untuple/ast.json deleted file mode 100644 index 4521b356a1..0000000000 --- a/parser/testdata/03752_constant_expression_with_untuple/ast.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "settings": [ - { - "name": "enable_analyzer", - "value": { - "type": "Integer", - "value": 1 - } - } - ] -} diff --git a/parser/testdata/03752_join_part/ast.json b/parser/testdata/03752_join_part/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03752_join_part/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03753_merge_selector_amm/ast.json b/parser/testdata/03753_merge_selector_amm/ast.json deleted file mode 100644 index 6cc537c8c2..0000000000 --- a/parser/testdata/03753_merge_selector_amm/ast.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "if_exists": true, - "table": "mt", - "tables": [ - { - "table": "mt" - } - ], - "sync": true -} diff --git a/parser/testdata/03753_replacing_empty_order_by/ast.json b/parser/testdata/03753_replacing_empty_order_by/ast.json deleted file mode 100644 index 08902e5e72..0000000000 --- a/parser/testdata/03753_replacing_empty_order_by/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t_empty_order_key", - "tables": [ - { - "table": "t_empty_order_key" - } - ] -} diff --git a/parser/testdata/03753_segfault_with_empty_callback/ast.json b/parser/testdata/03753_segfault_with_empty_callback/ast.json deleted file mode 100644 index a3296b2185..0000000000 --- a/parser/testdata/03753_segfault_with_empty_callback/ast.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "command": "ENABLE FAILPOINT execute_query_calling_empty_set_result_func_on_exception" -} diff --git a/parser/testdata/03755_circular_dictionary/ast.json b/parser/testdata/03755_circular_dictionary/ast.json deleted file mode 100644 index 0f6dde1322..0000000000 --- a/parser/testdata/03755_circular_dictionary/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "filesystem_dict", - "tables": [ - { - "table": "filesystem_dict" - } - ] -} diff --git a/parser/testdata/03755_enable_sparse_nullable_consistently/ast.json b/parser/testdata/03755_enable_sparse_nullable_consistently/ast.json deleted file mode 100644 index 51f74d1141..0000000000 --- a/parser/testdata/03755_enable_sparse_nullable_consistently/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t", - "tables": [ - { - "table": "t" - } - ] -} diff --git a/parser/testdata/03755_final_prewhere_duplicate_columns/ast.json b/parser/testdata/03755_final_prewhere_duplicate_columns/ast.json deleted file mode 100644 index e6d0172caa..0000000000 --- a/parser/testdata/03755_final_prewhere_duplicate_columns/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "table": "03755_final_prewhere_duplicate_columns", - "columns": [ - { - "name": "c0", - "type": { - "name": "UInt8" - } - } - ], - "engine": { - "name": "AggregatingMergeTree", - "has_parentheses": true - }, - "order_by": [ - { - "parts": [ - "c0" - ] - } - ] -} diff --git a/parser/testdata/03755_nested_recursive_cte/ast.json b/parser/testdata/03755_nested_recursive_cte/ast.json deleted file mode 100644 index e583842669..0000000000 --- a/parser/testdata/03755_nested_recursive_cte/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t0", - "tables": [ - { - "table": "t0" - } - ] -} diff --git a/parser/testdata/03755_pr_join_with_view/ast.json b/parser/testdata/03755_pr_join_with_view/ast.json deleted file mode 100644 index 2c3b819c3f..0000000000 --- a/parser/testdata/03755_pr_join_with_view/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "v", - "tables": [ - { - "table": "v" - } - ] -} diff --git a/parser/testdata/03756_capn_proto_message_size_limit/ast.json b/parser/testdata/03756_capn_proto_message_size_limit/ast.json deleted file mode 100644 index d362a5d7c1..0000000000 --- a/parser/testdata/03756_capn_proto_message_size_limit/ast.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "table": "03756_capn_proto_message_size_limit", - "columns": [ - { - "name": "c0", - "type": { - "name": "Decimal32", - "parameters": [ - { - "type": "Integer", - "value": 8 - } - ], - "has_parentheses": true - } - } - ], - "engine": { - "name": "Memory", - "has_parentheses": true - } -} diff --git a/parser/testdata/03756_mongodb_secret_arguments/ast.json b/parser/testdata/03756_mongodb_secret_arguments/ast.json deleted file mode 100644 index b3a7ce6344..0000000000 --- a/parser/testdata/03756_mongodb_secret_arguments/ast.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "selects": [ - { - "columns": [ - {} - ], - "from": { - "tables": [ - { - "table": { - "table": { - "name": "mongodb", - "arguments": [ - { - "parts": [ - "some_named_collection" - ] - }, - { - "name": "now" - } - ] - } - } - } - ] - } - } - ] -} diff --git a/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/ast.json b/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/ast.json deleted file mode 100644 index 785d33a1e0..0000000000 --- a/parser/testdata/03757_optimize_skip_unused_shards_with_type_cast/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "t1", - "tables": [ - { - "table": "t1" - } - ] -} diff --git a/parser/testdata/03758_positional_argument_agg_projection/ast.json b/parser/testdata/03758_positional_argument_agg_projection/ast.json deleted file mode 100644 index b71a45ce9a..0000000000 --- a/parser/testdata/03758_positional_argument_agg_projection/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "test", - "tables": [ - { - "table": "test" - } - ] -} diff --git a/parser/testdata/03759_marks_cache_events/ast.json b/parser/testdata/03759_marks_cache_events/ast.json deleted file mode 100644 index a4b7b2daf0..0000000000 --- a/parser/testdata/03759_marks_cache_events/ast.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "if_exists": true, - "table": "data", - "tables": [ - { - "table": "data" - } - ] -}